How to use a SqlDataSource in the .aspx.cs file?

  • Thread starter Thread starter Jason Huang
  • Start date Start date
J

Jason Huang

Hi,

In the design time, I have one SqlDataSourceA in the .aspx file.
But my question is how do I use that SqlDataSourceA in the .aspx.cs file?
Thanks for help.



Jason
 
Reference it using it's ID and access the methods/parameters.

For eg: SqlDataSourceA.ConnectionStrong = "con str";
 
Back
Top