Hi friends,

In a web page, I have a gridview which has dynamically created columns. And I have set an alternate flag column within the gridview. I'm using the value of the flag column to set colors to the adjacent cells.
But I dont want the flag column to be visible.

I have tried the following code within the gridview_RowDtaBound :

e.Row.Cells[i].visible = false;

this is working , but I 'm getting a few blank columns towards the right hand side of the grid with a little width enough for it to be seen.


Can anybody give ur valuable help in this regard???


thanx in advance :-)