.net - How to Update Data Source in C# -
i working on windows form-based application in visual studio 2008 using c# access database end. added access database project going data->add new data source
, able retrieve data database's custom-made dataset
perfectly.
my next goal save new data access database, creating new row. life of me, however, can't seem figure out how this. looks need either oledbconnection
database or tableadapter
hooked database, don't seem have either 1 of those. i'd think premade or when added new data source, dataset
was, if that's case can't figure out how reference them.
what best way add data data source that's been added project?
you have (configured) tableadapter, in sub-namespace (generated) dataset.
somewhere in code there has adapter.fill(table)
, find it.
copy , change adapter.update(table)
write database.
instead of talking through multiple other ways of adding record, have @ videos here
Comments
Post a Comment