Repeater Control and SQL DataBase
-
Hi, I need to set up a Repeater control that will display summary information on my Webform using C#. I have a stored procedure that selects the Tool_ID, Tool_Name, and Tool_Quantity based on the Category ID that is passed through the session. I need to show the returned information in columns as such: Tool Id ToolId ToolId Tool Name Tool Name Tool Name Tool Quantity Tool Quantity Tool Quantity Right now this is what I have in my .aspx file:
Summary
Tool ID: ]]> />
Tool Quantity: -
Hi, I need to set up a Repeater control that will display summary information on my Webform using C#. I have a stored procedure that selects the Tool_ID, Tool_Name, and Tool_Quantity based on the Category ID that is passed through the session. I need to show the returned information in columns as such: Tool Id ToolId ToolId Tool Name Tool Name Tool Name Tool Quantity Tool Quantity Tool Quantity Right now this is what I have in my .aspx file:
Summary
Tool ID: ]]> />
Tool Quantity:I would suggest you need to use a pivot table, the best way to do this is to massage your data so it's in this format. If you can't do that, then a repeater is ideal, b/c what you can do is have the repeater creating columns in a table for each item of data.
Christian Graus Driven to the arms of OSX by Vista.