Custom columns in a datagrid

PROKA

Well-known member
Joined
Sep 3, 2003
Messages
249
Location
Bucharest
I dragged a table from server explorer into my page . It automatically generated the data adapter and the connection. I selected "Generate Dataset" From the dataadapter ... dragged a datagrid and did the bindings. Everything is nice.

But I dont want to show all the columns, but only some of them . How do I do that ?
 
right-click the datagrid, select Property Builder, click Columns (left panel), you see a Visible checkbox for each each column.
 
ok . Now I am using a dataset that I generated through code, with a specific select ... etc

how do I set custom columns for the datagrid, from code ?
 
OK I got it all by myself ... I had to add 2 Bound columns and then edit some of their props

thanks Robby
 
Back
Top