Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Selected Row in datagridview


Selected Row in datagridview

Author
Message
zack
zack
Forum God
Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)Forum God (25K reputation)

Group: Forum Members
Posts: 102, Visits: 110
You can use the FirstDisplayedScrollingRowIndex property of the datagridview to show the row you want without selecting it. e.g.



dgvProducts.FirstDisplayedScrollingRowIndex = icount
SammyD
SammyD
Forum God
Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)Forum God (319 reputation)

Group: Forum Members
Posts: 1, Visits: 2
i use this code to select a curent row



dgvProduct.Rows(iCount).Selected = True



but the cursor (|>) something like was still on the first row of the grid.. what should I do?
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search