Last post Dec 29, 2010 03:19 AM by Mikesdotnetting
Dec 29, 2010 02:09 AM|poweraddict|LINK
I have datasources being created in the code behind, and I am using an int for the name like:
How do I define properties on a dynamic control like that?
datasource(convert.tostring(i)).connectionstring = "xx"
that will not work, how do I set properties on a dynamic control?
Dec 29, 2010 02:18 AM|Mikesdotnetting|LINK
DataSource controls are not meant to be instantiated in code. Why don't you simply instantiate an ADO.NET Command object instead?
Dec 29, 2010 02:46 AM|poweraddict|LINK
well I could fill data tables and bind to those, but the fact still remains...
how would I set
Dec 29, 2010 03:19 AM|Mikesdotnetting|LINK
Just like that.