Use int.TryParse to convert the textbox value to an integer - reporting any problems to the user - then use the converted value to set the row you want:
myDataGridView.Rows[index].Selected = true;
Do note that unless you clear all the selected flags from the other rows, this will add the row to the selected collection.