Ask a Question related to ASP.NET General, Design and Development.
-
Antonio Maciel #1
Unknow number of columns in repeater
Hi.
I have a datatable created at runtime that I want to display using a
repeater control. The problem is that the number of columns of the datatable
can vary. Is there any way to configure the itemtemplate section of the
repeater to display data for an unknow number of columns?
Thanks,
Antonio Maciel
Antonio Maciel Guest
-
Restricting number of columns in grid
Dear All I am loading the data from xml and it is loaded to dataset. Now I want to display only one field from dataset to datagrid. In design I... -
Unknow name of columns
Hi there, I am new to CF, and I am interested, if it is possible to iterate through db results, if I don't know names of fields. I think example... -
How to the get to number of retrieved columns?
Hello everyone, i just implement an own search site in MS CRM 1.2, which searches in a MS-SQL database. My question is, how to get the number... -
Displaying number of data items in a Repeater using the DataBinder
Hi, Does anyone know of a method to read the number of items in a repeater and display it in each item in the repeater. I want to display... -
number of columns
Hi, How can I know the number of columns of the .csv files? I want to import them to the database. Thanks. Atse -
Steve C. Orr MCSD #2
Unknow number of columns in repeater
The DataGrid control would work well for this. It can
build the columns for you dynamically at run time.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
display using a>-----Original Message-----
>Hi.
>
>I have a datatable created at runtime that I want tocolumns of the datatable>repeater control. The problem is that the number ofsection of the>can vary. Is there any way to configure the itemtemplate>repeater to display data for an unknow number of columns?
>
>Thanks,
>
>Antonio Maciel
>
>
>.
>Steve C. Orr MCSD Guest
-
Antonio Maciel #3
Re: Unknow number of columns in repeater
Hi Steve.
Can I control the styles used on each row or cell when using a Datagrid? My
main problem is that I need to define a lot of styles for the cells being
returned.
Thanks,
Antonio Maciel
"Steve C. Orr MCSD" <Steve@Orr.net> wrote in message
news:047301c340d5$05109390$a101280a@phx.gbl...> The DataGrid control would work well for this. It can
> build the columns for you dynamically at run time.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD
> [url]http://Steve.Orr.net[/url]
>
>> display using a> >-----Original Message-----
> >Hi.
> >
> >I have a datatable created at runtime that I want to> columns of the datatable> >repeater control. The problem is that the number of> section of the> >can vary. Is there any way to configure the itemtemplate> >repeater to display data for an unknow number of columns?
> >
> >Thanks,
> >
> >Antonio Maciel
> >
> >
> >.
> >
Antonio Maciel Guest
-
Steve C. Orr, MCSD #4
Re: Unknow number of columns in repeater
Yes.
One way would be to use the OnItemDataBound event of each row to examine the
columns and format the text as needed.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Antonio Maciel" <antmac@consys.com> wrote in message
news:%23iUxqjNQDHA.2460@TK2MSFTNGP10.phx.gbl...My> Hi Steve.
>
> Can I control the styles used on each row or cell when using a Datagrid?> main problem is that I need to define a lot of styles for the cells being
> returned.
>
> Thanks,
>
> Antonio Maciel
>
> "Steve C. Orr MCSD" <Steve@Orr.net> wrote in message
> news:047301c340d5$05109390$a101280a@phx.gbl...>> > The DataGrid control would work well for this. It can
> > build the columns for you dynamically at run time.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> >
> >> > display using a> > >-----Original Message-----
> > >Hi.
> > >
> > >I have a datatable created at runtime that I want to> > columns of the datatable> > >repeater control. The problem is that the number of> > section of the> > >can vary. Is there any way to configure the itemtemplate> > >repeater to display data for an unknow number of columns?
> > >
> > >Thanks,
> > >
> > >Antonio Maciel
> > >
> > >
> > >.
> > >
>
Steve C. Orr, MCSD Guest



Reply With Quote

