Repeater Control?
-
What is the best way by which to display summary information for my project on my webform? I need to display it as follows and cannot use a datagrid.
Column Column
Row: Name Name
Row: ID ID
Row: Size SizeWith a column for each returned value from the database. There is no restriction to the number of "segments" returned, so I need to this to work if there is one segment or 5. I have a SQL query that accesses the information that I read from. I thought about using a repeater control, but I'm not sure how to do this.
-
What is the best way by which to display summary information for my project on my webform? I need to display it as follows and cannot use a datagrid.
Column Column
Row: Name Name
Row: ID ID
Row: Size SizeWith a column for each returned value from the database. There is no restriction to the number of "segments" returned, so I need to this to work if there is one segment or 5. I have a SQL query that accesses the information that I read from. I thought about using a repeater control, but I'm not sure how to do this.
Looks like you are trying to display tabular data. DataGrid/GridView is best for tabular data. :)
Navaneeth How to use google | Ask smart questions
-
What is the best way by which to display summary information for my project on my webform? I need to display it as follows and cannot use a datagrid.
Column Column
Row: Name Name
Row: ID ID
Row: Size SizeWith a column for each returned value from the database. There is no restriction to the number of "segments" returned, so I need to this to work if there is one segment or 5. I have a SQL query that accesses the information that I read from. I thought about using a repeater control, but I'm not sure how to do this.
Just have the repeater generate a table, and insert the named row, assuming that's what you need. Either way, all these controls create tables, and the datagrid will do it just fine, but you can do what it does easily with a repeater. By 'segments' do you mean columns ? A gridview is best for this, as it can just autogeneratecolumns for you.
Christian Graus Driven to the arms of OSX by Vista.
-
Just have the repeater generate a table, and insert the named row, assuming that's what you need. Either way, all these controls create tables, and the datagrid will do it just fine, but you can do what it does easily with a repeater. By 'segments' do you mean columns ? A gridview is best for this, as it can just autogeneratecolumns for you.
Christian Graus Driven to the arms of OSX by Vista.