i want to store value of querystring("id ") when page postback
i want to store value of querystring("id") when page postback
Collapse
X
-
hi friend,
plz explain ur need
do u want to get the data uyou passed thru querystring
then try with this.
string id=Context.Requ est.QueryString .Get("id");
Prabu
Originally posted by sattui want to store value of querystring("id ") when page postback -
store value of querystring(&qu ot;id") when page postback
hi all friends plz try to solve my problem
Originally posted by sattui want to store value of querystring("id ") when page postback
when i send id through anchot tag and recieving at another page
cmd.CommandText = "select * from catinfo where catid=" & request.queryst ring("id") & "" first time when page load the value of id=1 for Ex.but when i click next button then query becomes cmd.CommandText = "select * from catinfo where catid="" i want that the value of id should remain 1 because same page is loading and displaying in pagingComment
-
hi all friends plz try to solve my problem
Originally posted by sattuhi all friends plz try to solve my problem
i am doing paging in repeater control
when i send id through anchot tag and recieving at another page
cmd.CommandText = "select * from catinfo where catid=" & request.queryst ring("id") & "" first time when page load the value of id=1 for Ex.but when i click next button then query becomes cmd.CommandText = "select * from catinfo where catid="" i want that the value of id should remain 1 because same page is loading and displaying in pagingComment
-
Originally posted by sattuhi all friends plz try to solve my problem
i am doing paging in repeater control
when i send id through anchot tag and recieving at another page
cmd.CommandText = "select * from catinfo where catid=" & request.queryst ring("id") & "" first time when page load the value of id=1 for Ex.but when i click next button then query becomes cmd.CommandText = "select * from catinfo where catid="" i want that the value of id should remain 1 because same page is loading and displaying in pagingComment
Comment