Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Datagrid Column Question

Status
Not open for further replies.

zmcanally

Technical User
Jun 12, 2002
26
US
I have a datagrid that is used to 'report' a cashier's history against the average of all cashiers. Which works fine (the data is dynamically gethered from a Sybases database and extracted to temp table wich is bound to the datagrid) My questions is this. The grid needs to be expanded to display more than 1 cashier at a time, but the number of cashiers is dynamic. How can I create dynamic columns on a datagrid? the current table it is bound to looks like the following: session_id, Store_Number, Cashier_Name, Category, Cashier_Total, Average - What I would want to do is create a column for each distinct cashier_name in the current session_id. The current datagrid can be seen at

Thanks,
Zack
 
Here's an article for you:

penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top