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 show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed
Which dialog box allows users to switch to another area of the application?
Name the property which of menu cannot be set at run time?
What are windows based applications?
Where to use new keyword other than create instance?
write a program to create login form
Which property of textbox cannot be changed at runtime?
What are ACID properties of a transaction in DBMS (Database Management System)?
tell me something about crystal report in brief?
What are the forms of database?
What is the need of z-order method?
What is the use of runworkasync() methods?