CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: Date Entered: 1/28/2008 2:31:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 31 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"chrisjbarker"
NewsGroup User
Updating Records in an Acess database1/28/2008 2:31:17 PM

0

Hi, ive got a small problem and any help would be greatly appreciated.

 Im trying to make a page where data from a table is displayed and then can be edited from that. Ive got my table which I made in Microsoft Access 2007 with an SQL data source and a grid view.  This can  display the contents of the table fine. However when I use the edit tool in the grid view after I click update it goes back to how it was. The delete command works. Ive tried this with all sorts of combinations. Ive done it in Visual Studio 2005, Visual Studio 2008, using access 2000, 2003 and 2007 databases and even tried it on several computers, im fairly sure its not a bug.


 

"millet" <>
NewsGroup User
Re: Updating Records in an Acess database1/28/2008 3:23:49 PM

0

You should use access data source, not sql data source...

__
Please mark post as answer if it helps, if not come back and ask again!
"chrisjbarker"
NewsGroup User
Re: Updating Records in an Acess database1/28/2008 3:29:56 PM

0

trust me i got the right data source. using an access 2007 database the access data source will not detect it, however the sql one will. using the sql one i can read the database and display its data in a gridview, ive also just discovered  i can edit data in some of my tables but not others using tyhe gridview.  

"millet" <>
NewsGroup User
Re: Updating Records in an Acess database1/28/2008 5:42:10 PM

0

Just guessing... do all tables have primary key set?

__
Please mark post as answer if it helps, if not come back and ask again!
4 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT