blah blah blah is here! blah blah » Close

0
votes
1 answers

Pessimistic Concurrency

Hi I'm using .NET3.5 with C#. I want to implement code for locking/unlocking records of a database. Basically I want when a user edits a record to lock it first so that no other user can update/delete that record. I have done some resear ...

0
votes
0 answers

Datagrid is not updating table(mdb)

The update code line [code]this.manhrsTableAdapter.Update(this.manHrsDataSet.Manhrs);[/code] Is generating error: InvalidOperationException was handled. Update requires a valid UpdateCommand when passed DataRow collection w ...

0
votes
1 answers

How can I retrieve image from database, and load it inside a PictureBox in a Winform?

Say I have stored images in a field called Picture, in a database called productcatalog, and from table Products, I want to retrieve those images and put them in a PictureBox in a Winform. I tried with below code, but it is not able to w ...

0
votes
0 answers

connection not trusted on sql server

Hi all I've set up a user in sql management studio with a sql server authentication, I call this login user as WebUser. I've assigned it to my database and in management studio I can connect to it. However when I start visual studio web ...

0
votes
1 answers

Database issue on publish asp.net

Hi all When I publish my project on the net, I get problem open the site due to my database. I have no permission to enter the site. This is not a surprise to me, but I do not know how to work with sql server management studio. Is there a ...

1
votes
3 answers

saving images in microsoft access db

Arek
15

Hello All, I've created an Inventory database, and now I've been asked to add images. The Inventory application is written in C#.net and I'm using an Access database. My problem is, that I don't know how to accomplish this. Can so ...

0
votes
1 answers

New Project [Contacts Book]

Creating a contact book might sound silly, but this is my 1st project using a database. I had posted details about this project of mine on csharpfriends but sadly that post was lost somewhere in shifting. I wanted to know that if I wa ...

2
votes
2 answers

Database or XML file?

sanjib
226

For storing only simple texts or integers, what is the better option : storing it in a Database or just keep it in a XML File. I found that, if I maintain it in XML file, the total Web application size gets reduced. What do you guys thin ...

Feedback