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 |
How to split a column header in gridview using c#.net?
Explain the difference between listbox and combo box?
Is windows an application software?
What is boxing and how it is done internally?
How many navigational features are provided by visual studio.net ide?
What are the forms of graphics?
Explain how save rerecord in the database?
which property of menu cannot be set at run time?
what is the difference between checkbox and radiobutton?
28 Answers College School Exams Tests, TCS, Wipro,
Name the template that is used to create a user-defined component.
what is acomponent in windows applications?
How to find the current record position in data control?