|
-
Feb 14th, 2005, 02:00 AM
#1
Thread Starter
New Member
Getting values from textbox in a datagrid
I have a Datagrid with five Columns
Serail
Product
Price
Qty(textbox)
Order(Button)
now i want user to enter the Qty and clicks order for that column i shud get Text entered in the qty and Serial of the Product
can please nay one help me out
i don't want to put another button or link for edit and update
Qty field is not in the database
-
Feb 14th, 2005, 02:26 AM
#2
Re: Getting values from textbox in a datagrid
I'm assuming you're already handling the button click event?
PHP Code:
//Get the integer counter number for the row whose button was clicked
Then,
TextBox txtQty = (TextBox)dgGridName.Items[counter].FindControl("txtQuantity");
txtQty.Text will then give you the value.
-
Feb 14th, 2005, 03:37 AM
#3
Thread Starter
New Member
Re: Getting values from textbox in a datagrid
I Am Using Asp.Net If anyone can halp me in this
-
Feb 14th, 2005, 04:15 AM
#4
Re: Getting values from textbox in a datagrid
Am I invisible?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|