Ng_zi

hi,

I want to record the change made by users in DGV. and I want to do so based on the information of Data Adaptor. Is it possible and any sugestion

Thank you.



Re: Windows Forms Data Controls and Databinding DGV and change list

Peter Ritchie

Can you clarify what you mean by DGV and how it applies specifically to something in the C# language




Re: Windows Forms Data Controls and Databinding DGV and change list

Ng_zi

DGV=datagridview.

since I know there are update, delete and add command for the data adaptor, I can know the change by the Sql command.

Am I right





Re: Windows Forms Data Controls and Databinding DGV and change list

Peter Ritchie

Ng_zi wrote:

DGV=datagridview.

since I know there are update, delete and add command for the data adaptor, I can know the change by the Sql command.

Am I right

Okay, nothing specific in the C# language will help you in that respect. Moving from Visual C# Language forum to Windows Forms Data Controls and Databinding.




Re: Windows Forms Data Controls and Databinding DGV and change list

Yu Guo ĘC MSFT

Hi, Ng_zi,

It is really easy to do DataBinding with DataGridView in .Net 2.0,

and the SqlCommandBuilder object can generate sql command for you,

which can save you a lot of time while exchanging your data with DB.

And the following URL gives a good sample on how to Bind Data to DataGridView

http://msdn2.microsoft.com/en-us/library/fbk67b6z.aspx

Hope this helps,

Regards