How do you hide the columns in datagrid?
Answers were Sorted based on User's Feedback
Answer / s
DataGridTableStyle Dts1=new DataGridTableStyle();
datagrid1.TableStyles.Add(Dts1);
Dts1.GridColumnStyles[0].Width=0;
Dts1.GridColumnStyles[1].Width=390;
Dts1.GridColumnStyles[1].HeaderText="Title";
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / surya
In the html source of datagrid, add "visible=true" to the
item template of corresponding row.
Is This Answer Correct ? | 1 Yes | 0 No |
What is the advantage of a form?
What is the use of lock keyword in C#?
How is anchoring different from docking?
what is the Difference between listbox and combo box?
where we are using NEW keyword other than create instance Pls Help me? Gopal
What is a windows form application?
What is boxing and how it is done internally?
What is the synonym of form?
List out controls which does not have events?
Name the property which is used to specify the source from where the crystal reports would be accessed.
which property is used to change to some value to access a identity column in datacontrols?
How to split a column header in gridview using c#.net?