Hi! I'm new to vb 2005. Is it possible to freeze one or two columns in gridview just like in excel?
Any help on this matter is highly appreciated.
Printable View
Hi! I'm new to vb 2005. Is it possible to freeze one or two columns in gridview just like in excel?
Any help on this matter is highly appreciated.
I would like to freeze one column of the grid and i can vertically and horizontally scroll the rest of the column.
Is this possible?
GridView!!! Is it ASP.Net?
It is for VB.Net 2005.
At last I have found the answer to my question.
For those interested to know how to achieved it just do the following and use the code below.
1. Connect to your DB
2. Insert DataGridView
Code:Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Specify the ColumnName to freeze
DataGridView1.Columns("ColumnName").Frozen = True
End Sub