|
-
Nov 29th, 2007, 03:55 AM
#1
Thread Starter
New Member
[2.0] How Can Update DataGridView before Saving the Data to Database
I m devloping Window Application using C#.NET
I have one DataGridView which have Name and City Columns. The data comes to DataGridView Via entering data in to the text box. means first enter in to textbox and then cilk on button named "Add to List" so data inserted into DataGridView. I also done that if user enter 5 Row and Click on any row that data appear on above text box now problem is that i want to perform update opration on datagrid view before saveing the data How can it possible.
-
Dec 4th, 2007, 01:42 PM
#2
Re: [2.0] How Can Update DataGridView before Saving the Data to Database
Welcome to the forums. 
Actually, it should be the other way around. You should save the data to your database, then clear and rebind the grid.
When you use a bound control, it will reflect what currently exists in your table.
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
|