Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Converting System.Data.DataTable to System.Web.UI.WebControls.SqlDataSource

I know how to convert a datasource to a datatable, however I like to know if it is possible (and how) to convert a datatable back to a datasource?
HaleStorm87's user avatar
0 votes
1 answer
7k views

How to assign DataTable to SQLDataSource?

I have bind my GridView with SQLDataSource and it is working fine. Now I have a method (this method is from a dll, so I can't alter it) which returns DataTable and I have to assign this DataTable to ...
Amit's user avatar
  • 22.2k
1 vote
1 answer
3k views

loading a data table into a data grid view problems

I'm trying to take information from my SQL server and load it into a datagridview based on paramaters selected by the user. The example I post at the end of this question worked in an earlier function ...
Kulahan's user avatar
  • 522