Making items in gridview selectable

I have a gridview that I am pulling information with in  It is pulling a username.  The problem that I have is, I want to have the row selectable without having the "Select" word right next to the item I want to select.  So, how do I do that without having "Select" right there and make the Username a link instead?
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.

See below
<asp:GridView ID="userGrid" runat="server" AutoGenerateColumns="false" 
			RowStyle-BackColor="LightGray" AlternatingRowStyle-BackColor="White"
				<asp:BoundField DataField="ID" HeaderText="ID" />
				<asp:TemplateField HeaderText="Username">
						<asp:LinkButton ID="lbUsername" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Username") %>' 
							CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>' OnClick="Username_Click"></asp:LinkButton>
protected void Page_Load(object sender, EventArgs e)
		DataTable users = new DataTable();
		//DataColumn rowID = new DataColumn("rowID", typeof(uint));
		DataColumn[] columns = { new DataColumn("ID", typeof(uint)), new DataColumn("Username", typeof(string)) };
		users.PrimaryKey = new DataColumn[] { users.Columns[0] };
		DataRow dr = users.NewRow();
		dr["ID"] = 1;
		dr["Username"] = "Jimmy";
		dr = users.NewRow();
		dr["ID"] = 2;
		dr["Username"] = "Kate";
		dr = users.NewRow();
		dr["ID"] = 3;
		dr["Username"] = "Bill";
		dr = users.NewRow();
		dr["ID"] = 4;
		dr["Username"] = "Jane";
		userGrid.DataSource = users;
	protected void Username_Click(object sender, EventArgs e)
		int ID = Convert.ToInt32(((LinkButton)sender).CommandArgument);
		int selectedIndex = ((DataTable)userGrid.DataSource).Rows.IndexOf(((DataTable)userGrid.DataSource).Rows.Find(ID));
		userGrid.SelectedIndex = selectedIndex;

Open in new window


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
VBBRettAuthor Commented:
Thanks!  It works!
VBBRettAuthor Commented:
Making items in gridview selectable.
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.