HI i am working on a Project
where i have to send a string using Sessions["creditcard NR"]
to the next page this is working gud for now
But i can convert session["creditcard nr"] to a string the .ToString();
and the Convert.ToStrin g(.....); is not workin
I am using Web Matrix .
Please Help me ASAP. tanx
here is some code
public void Page_Load(Objec t sender,EventArg s evt)
{
if(Session["AccNR"] == null)
Response.Redire ct("Home.aspx") ;
Response.Write( Session["AccNR"]);
lblAccNR.Text = Session["AccNR"].ToString(); //<- Error ?
}
where i have to send a string using Sessions["creditcard NR"]
to the next page this is working gud for now
But i can convert session["creditcard nr"] to a string the .ToString();
and the Convert.ToStrin g(.....); is not workin
I am using Web Matrix .
Please Help me ASAP. tanx
here is some code
public void Page_Load(Objec t sender,EventArg s evt)
{
if(Session["AccNR"] == null)
Response.Redire ct("Home.aspx") ;
Response.Write( Session["AccNR"]);
lblAccNR.Text = Session["AccNR"].ToString(); //<- Error ?
}
Comment