Last post Mar 06, 2012 08:44 PM by Decker Dong - MSFT
Mar 05, 2012 08:45 AM|amodius|LINK
i have a gridview who takes data from sqlDataSource
my problem is that the gridview starts immediately to load data, but i want push button
i need also execute some UPDATE and DELETE query from gridview, SO, it means that datasourceID property must be validated
how can i do ?
must i use trigger?
Mar 06, 2012 08:44 PM|Decker Dong - MSFT|LINK
my problem is that the gridview starts immediately to load data
You don't need to use SqlDataSource but just writing codes to fetch all the data contents from the specific datatable and bind to the GridView。
And if you insist doing this……You'd better hide your GridView until you click a button，show it out。Otherwises I'm afraid you cannot do that+SqlDataSource directly……