0

Hi... Am new to .net here. Hope am posting the question under the right category... My requirement is as follows:


I have a gridview which is visible with an empty row on page load. It has four columns of which the first column is a text box item template. The rest 3 are bound fields. Now, when I enter a valid data in the text box(for eg, an employee ID)and hit the enter key, the rest of the fields must be bound to the grid. All four columns are available in a table in the back end. I have used a datatable and made the gridview datasource as the datatable. Am using a stored procedure to bind the data.. Using SQL Server 2008(.Net 3.5 framework). Kindly help... Im totally blank right now...

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dbeura
0

i am giving Hint........

just Enable AutoPostBack Proprty of TextBox...

create TextBox1_TextChanged Event (double click on text box it automatic create)

and now write down code for other 3 are bound fields.in TextBox1_TextChanged method....


when u press enter in textbox than this code is exacuted....


Patel Rikin
patelriki13@gmail.com

Edited by patelriki13: n/a

0
RSSClient oRSSClient = new RSSClient(TextBox1.Text);
       RadGrid1.DataSource = oRSSClient.Items;
       RadGrid1.DataBind();
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.