|
-
Dec 18th, 2007, 06:18 PM
#3
Re: [2005] Only updating first record
You really should be using a DataGridView rather than a ListView. You could bind the DataTable to a BindingSource and the BindingSource to both the grid and the TextBoxes. There would be no code and you'd be guaranteed of updating the correct record. You could even do away with the TextBoxes and let the user edit the data in the grid itself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|