Click here to Skip to main content
16,020,706 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Return Value from Stored Procedure Pin
Sandeep Mewara16-Mar-10 9:34
mveSandeep Mewara16-Mar-10 9:34 
GeneralRe: Return Value from Stored Procedure Pin
ahayw0116-Mar-10 9:34
ahayw0116-Mar-10 9:34 
GeneralRe: Return Value from Stored Procedure Pin
Sandeep Mewara16-Mar-10 9:38
mveSandeep Mewara16-Mar-10 9:38 
QuestionDefaulting a DataView control with paging to the last page. Pin
Steven J Jowett16-Mar-10 7:00
Steven J Jowett16-Mar-10 7:00 
AnswerRe: Defaulting a DataView control with paging to the last page. Pin
Sandeep Mewara16-Mar-10 7:15
mveSandeep Mewara16-Mar-10 7:15 
AnswerRe: Defaulting a DataView control with paging to the last page. Pin
ASHISH GHADI18-Mar-10 22:02
ASHISH GHADI18-Mar-10 22:02 
AnswerRe: Defaulting a DataView control with paging to the last page. Pin
ASHISH GHADI18-Mar-10 22:08
ASHISH GHADI18-Mar-10 22:08 
Questionif statement in the html code in aspx page Pin
laziale16-Mar-10 5:39
laziale16-Mar-10 5:39 
Hello,
I want to create if statement in the html part of my site. Can someone help me with that and give me some example.
I have a label and depending from the text, the forecolor to be different.
Here is what I have:
<asp:Label ID="lblFirstName" runat="server" Text='<%#Server.HtmlEncode(Eval("FirstName").ToString())%>'></asp:Label>   



So depending on the text, for example if the text contains 'John' text will be in red, if the text contains 'Jim' text will be in blue.

Thanks for any advice,
Laziale
AnswerRe: if statement in the html code in aspx page Pin
JHizzle16-Mar-10 5:41
JHizzle16-Mar-10 5:41 
GeneralRe: if statement in the html code in aspx page Pin
laziale16-Mar-10 5:43
laziale16-Mar-10 5:43 
GeneralRe: if statement in the html code in aspx page Pin
JHizzle16-Mar-10 5:50
JHizzle16-Mar-10 5:50 
AnswerRe: if statement in the html code in aspx page Pin
Sandeep Mewara16-Mar-10 5:44
mveSandeep Mewara16-Mar-10 5:44 
GeneralRe: if statement in the html code in aspx page Pin
laziale16-Mar-10 5:50
laziale16-Mar-10 5:50 
AnswerRe: if statement in the html code in aspx page Pin
Sandeep Mewara16-Mar-10 5:51
mveSandeep Mewara16-Mar-10 5:51 
GeneralRe: if statement in the html code in aspx page Pin
laziale16-Mar-10 6:03
laziale16-Mar-10 6:03 
AnswerRe: if statement in the html code in aspx page Pin
carlecomm16-Mar-10 17:30
carlecomm16-Mar-10 17:30 
QuestionResponse.End() Pin
pss.srinivasan16-Mar-10 5:20
pss.srinivasan16-Mar-10 5:20 
AnswerRe: Response.End() Pin
Sandeep Mewara16-Mar-10 5:38
mveSandeep Mewara16-Mar-10 5:38 
AnswerRe: Response.End() Pin
carlecomm17-Mar-10 15:17
carlecomm17-Mar-10 15:17 
QuestionWeb User Controls(ascx) Pin
jonhbt16-Mar-10 4:47
jonhbt16-Mar-10 4:47 
AnswerRe: Web User Controls(ascx) Pin
Sandeep Mewara16-Mar-10 4:58
mveSandeep Mewara16-Mar-10 4:58 
QuestionRe: Web User Controls(ascx) Pin
jonhbt16-Mar-10 5:11
jonhbt16-Mar-10 5:11 
AnswerRe: Web User Controls(ascx) Pin
Sandeep Mewara16-Mar-10 5:40
mveSandeep Mewara16-Mar-10 5:40 
Questionprocedure or function expects parameter which was not supplied Pin
ishwarya mahadevan16-Mar-10 4:42
ishwarya mahadevan16-Mar-10 4:42 
AnswerRe: procedure or function expects parameter which was not supplied Pin
Sandeep Mewara16-Mar-10 4:55
mveSandeep Mewara16-Mar-10 4:55 

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.