DataBinding between DataSet and DataGridView in C# -


i have datagridview on form want use datatable in dataset, populated sqlite database (using system.data.sqlite).

so, have dataadapter between database , dataset , can set datagridview data source directly datatable. displays fine.

my question this: why want use binding source here? many tutorials have said can use or not. there use it, other adding step?

also, if want database updated when datagridview changed, how can done? dataset automatically updated - need tell dataadapter update? or there binding source useful?

thanks!

afaik, have call getchanges on dataset, , insert/update/delete records.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -