| Author: Syed Shakeer Hussain 25 May 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hi first display all columns in gridview based on condition make column names visible =true or false grdivew1.cloumn[0].Visible=false means it first column wii be false)invisible)
Thanks & Regards! Syed Shakeer Hussain
|
| Author: D.Jeya kumar(JK) 25 May 2009 | Member Level: Diamond | Rating:  Points: 2 |
Hi,
You can use the Headertext property of the Grid. check the below sample code to change the Header text of a Grid column
//the below code will change the Header text of the first column which is in the grid. modify the Index 0 to 1 to modify the 2nd column text Grv.Columns[0].HeaderText="test"
Regards JK
|