Hide Column

shlvy

Regular
Joined
Oct 27, 2003
Messages
68
Hi
I want to hide a column in datagrid, for example, i don't want to show the product id column, i use the next code:
<Columns>
<asp:BoundColumn
HeaderText="Product ID"
DataField="ProductID"
ReadOnly="True" />

Another thing, can i use validation in columns without using Templates?
Thank's and have a good day.
 
Back
Top