Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you hide the columns in datagrid?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose I have two combobox .. And I have some items in both combobox now I need to check the item in both combobox if same item is present in both combobox I need to display that item in message box?

929


i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net

1899


What is form and its uses?

901


What are the different cloud platforms?

923


Can you create a tabletype of recordset in Jet - connected ODBC dbengine?

2225


Which dialog box allows users to switch to another area of the application?

989


How can you pause a timer control?

1005


Where is system windows forms dll?

1015


What is window form application?

879


Explain how to split a column header in gridview using c#.net?

959


Explain the need of z-order method?

908


How to create a set up in vb.net for desktop application please say steps with examples?

913


What is a windows form application?

924


Explain how save rerecord in the database?

928


Explain how insert record in the database?

971