Assign datasource id at runtime
am 11.01.2008 11:02:58 von ajaykalathilHi,
How I can assign datasource id at run time to a repeated control. I
want different data source to a same control based on some criteria.
is it possible
?
Hi,
How I can assign datasource id at run time to a repeated control. I
want different data source to a same control based on some criteria.
is it possible
?
Is myRepeater.DataSourceID = "myDataSourceId" what you need?
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
news:71ec5b4c-4489-4d20-9acd-724edcf99982@n22g2000prh.google groups.com...
> Hi,
>
> How I can assign datasource id at run time to a repeated control. I
> want different data source to a same control based on some criteria.
> is it possible
> ?
>
>
Look for DataSource Property, assign value and call Repeater.DataBind.
Regards
JIGNESH
"ajaykalathil@gmail.com" wrote:
> Hi,
>
> How I can assign datasource id at run time to a repeated control. I
> want different data source to a same control based on some criteria.
> is it possible
> ?
>
>
>