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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set up my data grid

Status
Not open for further replies.

Jouster

Programmer
Dec 4, 2000
82
0
0
US
Hello,

I'm having some difficulties and wondered if someone could stear me in the right direction. Here is what I need to do.

I have an application so that a user logs in at startup. From the log in I know what dept they are from. Once I know what department they are from I want to set up the datagrid to show only the particular columns that they need to see.
Some of these columns will be checkboxes and combo boxes.

I can do a query and fill the datagrid with only the columns I want, but then I don't get the check boxes and combo boxes. What steps should I take to get this to happen?
(i.e. create columns manually then laod data?)

 
Did you try changing the visible property on the columns which are not needed?
 
OK, that may work. How can I add items to a datagridcombobox column at runtime? That would complete my mission at this point.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top