PC Review


Reply
Thread Tools Rate Thread

Assign datasource id at runtime

 
 
ajaykalathil@gmail.com
Guest
Posts: n/a
 
      11th Jan 2008
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
?


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      11th Jan 2008
Is myRepeater.DataSourceID = "myDataSourceId" what you need?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin


<(E-Mail Removed)> wrote in message
news:71ec5b4c-4489-4d20-9acd-(E-Mail Removed)...
> 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
> ?
>
>


 
Reply With Quote
 
JIGNESH
Guest
Posts: n/a
 
      11th Jan 2008
Look for DataSource Property, assign value and call Repeater.DataBind.

Regards
JIGNESH

"(E-Mail Removed)" 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
> ?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime DataSource Selection =?Utf-8?B?UmljaCBTLg==?= Microsoft ADO .NET 3 3rd Jul 2006 07:17 PM
Change DataSource at RunTime Mario-LRJ Microsoft ADO .NET 1 5th May 2006 09:35 AM
assign datasource to an especific cell Xabi Microsoft Excel Discussion 0 28th Oct 2004 12:27 PM
How to assign the DataKeys property of the datagrid programatically from a datasource? Alex Microsoft ASP .NET 0 23rd Apr 2004 09:10 PM
ComboBox.DataSource .Net v1.1.4322: Problem to assign new datasource Stephan Microsoft Dot NET Framework 3 10th Oct 2003 08:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:46 PM.