Highlight row when cell is clicked in DataGridView contol

I would like the row to be highlighted when a cell is clicked in the DataGridView control.
I am using VB.NET 2005 Express Edition.

The following code was posted on a previous thread in EE, but I must be doing something wrong.
Here is my code:
Private Sub DataGridView1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGridView1.MouseUp
        Dim pt = New Point(e.X, e.Y)
        Dim hti As DataGrid.HitTestInfo = DataGridView1.HitTest(pt)

        If hti.Type = DataGrid.HitTestType.Cell Then
            DataGridView1.CurrentCell = New DataGridCell(hti.Row, hti.Column)
        End If

    End Sub
...and here are the errors in the Error List:
Argument not specified for parameter 'y' of 'Public Function HitTest(x As Integer, y As Integer) As System.Windows.Forms.DataGridView.HitTestInfo'.
Value of type 'System.Windows.Forms.DataGridCell' cannot be converted to 'System.Windows.Forms.DataGridViewCell'.
Overload resolution failed because no accessible 'Select' accepts this number of arguments.

Does the fact that I am using VB Express 2005 have anything to do with this? Maybe I need to Import a new Namespace in code? I have many namespaces checked in Project Properties, but in code I am only importing:
Imports System.Data
Imports System.Data.OleDb

Any help would be great. Thanks!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stltodaycomAuthor Commented:
This did the trick.
I put this code in the Form1_Load event:

With Me.DataGridView1
            .SelectionMode = DataGridViewSelectionMode.FullRowSelect
            .MultiSelect = False
End With

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.