PDA

Click to See Complete Forum and Search --> : How i can declare about variable which i can access it from other WebForm


The War
Jul 13th, 2003, 08:49 AM
How i can declare about variable which i can access it from other WebForm,in the same session

hellswraith
Jul 13th, 2003, 11:26 AM
Session("MyVariable") = "hello world"

Dim myValue As String = Session("MyVariable").ToString()


or C#:

Session["MyVariable"] = "hello world";

string myValue = Session["MyVariable"].ToString();