selecting one row from datagrid
- From: "rcoco" <nclauder@xxxxxxxx>
- Date: 10 Jan 2007 03:09:19 -0800
I want to select one Row from a datagrid so I create a
textBbox(txtname) and Button for the user to write the name in textBox
and By the click of the button it select the corresponding row. But
it's not selecting the row neighther I'm getting any mistake message
I'm I missng some thing? I wrote the code on Button_Click sqlCommand as
follows:
SqlCommand myCommand = new SqlCommand("SELECT * from employee where
fullname Like %+txtname+%" ,con);
Thank you.
.
- Follow-Ups:
- Re: selecting one row from datagrid
- From: Rastko Soskic
- Re: selecting one row from datagrid
- Prev by Date: Re: The name 'blMessages' does not exist in the current context
- Next by Date: Re: Custom control that can contain other controls
- Previous by thread: TreeNodeExpanded
- Next by thread: Re: selecting one row from datagrid
- Index(es):