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 |
which property is used to lock a textbox to enter data?
What is the difference between a document and a form?
How insert record in the database?
Is it possible to save view state on the web server?
how print barcode
Name the two main categories of .net components.
Extension methods can be both static and normal class methods. Yes/No?
What are ACID properties of a transaction in DBMS (Database Management System)?
What is difference between winforms and windows forms?
What are different authentication types. How do you retrieve user id in case of windows authentication?
what is the difference between checkbox and radiobutton?
28 Answers College School Exams Tests, TCS, Wipro,
How do you hide the columns in datagrid?