0

hi..
i want to ask if anyone knows how to do this..

i have a datagrid at my "home.aspx" with attribute 'Survey Title' and 'Description'
i also have an edit button that will redirect user to "surveyeditor.aspx"
in "surveyeditor.aspx", there are 2 textbox..which can be used to edit the 'Survey Title' and 'Description'

how to get the Survey Title and Description data so that when "surveyeditor.aspx" page loads, the value Survey Title and Description from previos page appear into the textboxes...(all the user have to do is to edit from the textbox)

can this be done?

please somebody guide me...

2
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by ManicCW
0

Simply pass values in querystring like:

surveyeditor.aspx?title=MyTitle&Description=MyDescription

To accomplish this in gridview use this in your edit button navigation path:

surveyeditor.aspx?title=<%# Eval("Title")%>&Description=<%# Eval("Description")%>

0

thanks ManicCW

but how can I call the Title & Description to be in the textbox?

0

Me.MyTitle.Text = Request.Querystring("Title").ToString
Me.MyDescription.Text = Request.Querystring("Description").ToString

Btw. Looks like you need to go through basics of asp.net programming.

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.