Author: sivakl_2001 | Posted on: 6/24/2010 6:44:01 AM | Views : 330

hi my gridview 3 static(design time) template columns columns
according to the results
if gridview columns > 3
i remove the dynamic columns using the following code
If gv.Columns.Count > 3 Then For i As Integer = 3 To gv.Columns.Count - 1 If gv.Columns.Count <= 3 Then Exit For End If gv.Columns.RemoveAt(i) i = i - 1 Next End If  then i added the dynamic columns
problem is when the page postback the labels in the templatefield columns disappeared
how to solve this problem
 
 
...

Go to the complete details ...