Click here to Skip to main content
15,911,646 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionParsing [modified] Pin
ksaw12329-Jul-07 0:30
ksaw12329-Jul-07 0:30 
AnswerRe: Parsing Pin
mr.mohsen29-Jul-07 1:50
mr.mohsen29-Jul-07 1:50 
QuestionGetting problem in FormView Control Pin
TSRK28-Jul-07 22:10
TSRK28-Jul-07 22:10 
AnswerRe: Getting problem in FormView Control Pin
mr.mohsen29-Jul-07 1:56
mr.mohsen29-Jul-07 1:56 
QuestionRepeater Pin
Assaf8228-Jul-07 21:34
Assaf8228-Jul-07 21:34 
AnswerRe: Repeater Pin
Vasudevan Deepak Kumar28-Jul-07 21:58
Vasudevan Deepak Kumar28-Jul-07 21:58 
QuestionRe: Repeater [modified] Pin
Assaf8228-Jul-07 22:17
Assaf8228-Jul-07 22:17 
AnswerRe: Repeater Pin
Christian Graus29-Jul-07 11:50
protectorChristian Graus29-Jul-07 11:50 
Oh, I remember this now.

You keep asking questions in new threads, and each time, progress in trying to make sense of your question is lost. Please stick to a thread, so people can follow the things you fail to explain.

As I explained before, you can use the <% tags to call a method in your code behind, or just to grab the value from the session. If you couldn't follow that, you really should buy a good ASP.NET book and read it, because it's reasonably straightforward.

in your code behind

protected string GetValue()
{
string s = Session["theString"];
return s ?? ""; // This just returns "" if the string is null
}

in the aspx

Text='<%=GetValue()%>'



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
QuestionUser authenitcation using a database Pin
ASPnoob28-Jul-07 16:57
ASPnoob28-Jul-07 16:57 
AnswerRe: User authenitcation using a database Pin
Paul Conrad28-Jul-07 18:58
professionalPaul Conrad28-Jul-07 18:58 
GeneralRe: User authenitcation using a database Pin
ASPnoob28-Jul-07 19:17
ASPnoob28-Jul-07 19:17 
GeneralRe: User authenitcation using a database Pin
Paul Conrad28-Jul-07 19:26
professionalPaul Conrad28-Jul-07 19:26 
GeneralRe: User authenitcation using a database [modified] Pin
ASPnoob28-Jul-07 20:04
ASPnoob28-Jul-07 20:04 
GeneralRe: User authenitcation using a database Pin
Paul Conrad28-Jul-07 20:17
professionalPaul Conrad28-Jul-07 20:17 
QuestionRSS FEED Pin
Sarfaraj Ahmed28-Jul-07 16:45
Sarfaraj Ahmed28-Jul-07 16:45 
QuestionAdding header footer usercontrols [modified] Pin
TheEagle28-Jul-07 14:04
TheEagle28-Jul-07 14:04 
Questionadding and removing table rows dynamically [modified] Pin
jojoStoneHead28-Jul-07 7:14
jojoStoneHead28-Jul-07 7:14 
AnswerRe: adding and removing table rows dynamically [modified] Pin
wk63328-Jul-07 7:29
wk63328-Jul-07 7:29 
QuestionRe: adding and removing table rows dynamically Pin
jojoStoneHead28-Jul-07 8:14
jojoStoneHead28-Jul-07 8:14 
AnswerRe: adding and removing table rows dynamically Pin
wk63328-Jul-07 10:49
wk63328-Jul-07 10:49 
GeneralRe: adding and removing table rows dynamically Pin
jojoStoneHead28-Jul-07 11:09
jojoStoneHead28-Jul-07 11:09 
QuestionControl Type Pin
hadad28-Jul-07 4:50
hadad28-Jul-07 4:50 
AnswerRe: Control Type Pin
Guffa28-Jul-07 10:01
Guffa28-Jul-07 10:01 
QuestionRunning Videos Pin
.NET- India 28-Jul-07 3:01
.NET- India 28-Jul-07 3:01 
QuestionAsychronous call to URL behind the scene without redirecting to the page Pin
Amvir28-Jul-07 2:39
Amvir28-Jul-07 2:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.