redirect gridview selected row data to two different pages on clicking on two different select button asp.net?

Posted by user559800 on Stack Overflow See other posts from Stack Overflow or by user559800
Published on 2011-01-02T17:36:42Z Indexed on 2011/01/02 18:54 UTC
Read the original article Hit count: 230

Filed under:
|

alt text

Ihave a gridview item template field namely Status as mentioned above ...

i want when user click on hold button of particular row then the record from the particular row is transfered to another page. ... means.... if i click on the hold button of 1st row of gridview then seats=35 and booking closed =08:00:00 PM willbe trasferred to

Me.Response.Redirect("Select_seats.aspx?s_no=" & label22.Text.ToString & "&" & "journey=" & label6.Text & "&" & "seater=" & label4.Text & "&" & "sleeper=" & label2.Text & "&" & "service=" & lab5.Text.ToString) ..

and if i click on the manage button of same row then the record of that row will be transferred to

Me.Response.Redirect("Select_nfo.aspx?s_no=" & label22.Text.ToString & "&" & "journey=" & label6.Text & "&" & "seater=" & label4.Text & "&" & "sleeper=" & label2.Text & "&" & "service=" & lab5.Text.ToString)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about vb.net