Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have converted my project from vb6 to vb.net, that used FLEXGRID in some forms.

I am not able to understand some properties in Flexgrid.

What is the equivalent of
VB
MSFGrid1.Col = 1
in datagridview???

Also
VB
MSFGrid1.set_TextMatrix(MSFGrid1.RowSel, MSFGrid1.ColSel, "")
?
Posted
v2
Comments
Shahan Ayyub 17-Mar-13 8:12am    
can you please try:
1) datagridView1.CurrentCell = dataGridView1.Rows(MentionYourRowIndexHere).Cells(1)
2) datagridView1.Rows(MentionYourRowIndexHere).Cells(1).Value = "" ' or use String.Empty

In datagridView you can omit line 1 and directly use line 2.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900