the datasource is SqlDataSource, how to add new row? can it convert
dataTable? the control i use is gridview for asp page rather than
datagridview. Thanks
The GridView, DataGrid, DataGridView are controls made to show data from an
underlying datasource object (as it named now as an intermidiate in VS2005
as well).
In my opinion the best for that is the DataTable or even better its
defaultview (more times to use as the dataview).
In those predifined datasource classes are often multiple methods to add new
rows to a datatable.
Giving a best method is difficult because that depends on your program.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.