aditya immadi

aditya immadi

  • NA
  • 215
  • 22.1k

sessions

Mar 21 2016 10:40 AM
Hai all,
 
         i hope as a student i can irritate  all of you with my disgusting doughts  and thansk for accepting me in this wonderful site.
 
         to day i have a scenario like holding some of DB colums into next page using sessions
 
so far i have writteen this  login page 
Session["Username"] =txtusername.Text;
string [] str= (string[]).Session["Username"].ToString();
 now i want to display this txtusername.text  in other textbox  whis is in next page so i tried with this
 
string name = Application["Username"].ToString();
TxtUname.Text=Session["Username"].ToString();
 
it doesnt work..can you please hel me out 
 
 
 
 

Answers (7)