Querystring
-
Hi! I have a GridView on an aspx page that displays records. Below the GridView I have a TextBox that needs to display the value I select in the GridView I have already created a linkbutton that enables me to click on the record number but I cannot get the value into the textbox. How can I do this?
Illegal Operation
-
Hi! I have a GridView on an aspx page that displays records. Below the GridView I have a TextBox that needs to display the value I select in the GridView I have already created a linkbutton that enables me to click on the record number but I cannot get the value into the textbox. How can I do this?
Illegal Operation
I assume that you have the value on the querystring, hence the title of your question ? Read it from there and put it in your textbox.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
I assume that you have the value on the querystring, hence the title of your question ? Read it from there and put it in your textbox.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
ok I get the ID from the querystring but I need to get the firstname and lastname for that record and put them in textboxes as well. I understand how to get the ID from the querystring but How can I iterate through the record and populate the values?
Illegal Operation
-
ok I get the ID from the querystring but I need to get the firstname and lastname for that record and put them in textboxes as well. I understand how to get the ID from the querystring but How can I iterate through the record and populate the values?
Illegal Operation
Oh - so you need to look up a record in the database to get the value ? Or you need to step over your data source to find it ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Oh - so you need to look up a record in the database to get the value ? Or you need to step over your data source to find it ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
yes. I have a record with ID, FirstName, LastName and Date and would like to populate a form when I click on the record ID.
Illegal Operation
-
ok I get the ID from the querystring but I need to get the firstname and lastname for that record and put them in textboxes as well. I understand how to get the ID from the querystring but How can I iterate through the record and populate the values?
Illegal Operation
All you need to do is just setting text box value, why not do it using JS? Hook a JS function which will execute when link button is clicked and get necessary values and assign to textbox.
Navaneeth How to use google | Ask smart questions
-
yes. I have a record with ID, FirstName, LastName and Date and would like to populate a form when I click on the record ID.
Illegal Operation
ok, so, again, if it's a new form you populate, put the ID on the URL, and read the other data from the database. Simple.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi! I have a GridView on an aspx page that displays records. Below the GridView I have a TextBox that needs to display the value I select in the GridView I have already created a linkbutton that enables me to click on the record number but I cannot get the value into the textbox. How can I do this?
Illegal Operation
Hi, find the respective control in gridview using findcontrol method and then get the value of that control, cheers, praveen.