Ask a Question related to ASP.NET General, Design and Development.
-
Frank #1
bind a dynamically created dataTable to a repeater
Hi alll,
How can I bind a dynamically created dataTable to a repeater? I do not know
the number of columns and the column names at design time. I try to do the
same thing as for datagrid:
Repeater1.DataSource = values;
Repeater1.DataBind();
but it does not return anything.
Thanks.
Frank
Frank Guest
-
How do I dynamically bind two components?
How do I dynamically bind two components with out the use of the components inspector panel? My problem began when I dynamically created an... -
Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created)
Ok here's my scenario. I have a Custom Composite Server Control (CCSC) consisting of a TextBox, Button & Panel. (And some other code - which I... -
How to pull the data out from two table and bind to repeater
HI All, Can somebody help what's wrong with my SQL Query statement when i want to create a join table query. It suppose work perfectly fine, but... -
Cannot bind IList returned from a web service to a repeater
After I retrieved a list of objects (e.g Employees) and put it into a IList (ArrayList) and bind it to a repeater. everything works fine so far. ... -
Bind an ArrayList to a Repeater
This may or may not help. but the TimeTracker Sample App that can be downloaded w/ Source Code on http://www.asp.net uses this on every datagrid... -
William F. Robertson, Jr. #2
Re: bind a dynamically created dataTable to a repeater
The datagrid should work.
DataGrid1.AutoGenerateColumns = true;
DataGrid1.DataSource = values;
DataGrid1.DataBind();
Make sure you set the autogeneratecolumns to true.
bill
"Frank" <frankw_us@yahoo.com> wrote in message
news:uzhVhAuSDHA.560@TK2MSFTNGP10.phx.gbl...know> Hi alll,
>
> How can I bind a dynamically created dataTable to a repeater? I do not> the number of columns and the column names at design time. I try to do the
> same thing as for datagrid:
> Repeater1.DataSource = values;
> Repeater1.DataBind();
> but it does not return anything.
>
> Thanks.
> Frank
>
>
William F. Robertson, Jr. Guest
-
Frank #3
Re: bind a dynamically created dataTable to a repeater
Maybe I did not make it clear. It works for datagrid, but not work for
repeater.
Thanks a lot.
Frank
"William F. Robertson, Jr." <wfrobertson@kpmg.com> wrote in message
news:utnfrDvSDHA.2480@tk2msftngp13.phx.gbl...the> The datagrid should work.
>
> DataGrid1.AutoGenerateColumns = true;
> DataGrid1.DataSource = values;
> DataGrid1.DataBind();
>
> Make sure you set the autogeneratecolumns to true.
>
> bill
>
> "Frank" <frankw_us@yahoo.com> wrote in message
> news:uzhVhAuSDHA.560@TK2MSFTNGP10.phx.gbl...> know> > Hi alll,
> >
> > How can I bind a dynamically created dataTable to a repeater? I do not> > the number of columns and the column names at design time. I try to do>> > same thing as for datagrid:
> > Repeater1.DataSource = values;
> > Repeater1.DataBind();
> > but it does not return anything.
> >
> > Thanks.
> > Frank
> >
> >
>
Frank Guest



Reply With Quote

