Click here to Skip to main content
       

C#

 
AnswerRe: C# string array Pingroupmontevina 28-Oct-12 1:30 
GeneralRe: C# string array PinmemberBobJanova9-Oct-12 0:09 
AnswerRe: C# string array PinmemberBobJanova9-Oct-12 0:10 
Questionwindows service to check file directory path Pinmemberrachel_m6-Oct-12 9:46 
AnswerRe: windows service to check file directory path PinmemberRichard Andrew x646-Oct-12 9:56 
GeneralRe: windows service to check file directory path Pinmemberrachel_m6-Oct-12 10:48 
AnswerRe: windows service to check file directory path PinmemberEddy Vluggen6-Oct-12 11:28 
QuestionHTML Body mail with link button [modified] PinmemberMurugavel Sadagopan6-Oct-12 9:21 
Hi All,
 
In C#, How To Send A Hyperlink Using Query String Method.
 
I have developing a web application of user enter enters the personal data. That information has sent to admin mail with approve/reject link button.
 
When the Admin click the approve link, it has approve.aspx page with the user id as query string to update the db as approved. otherwise rejected.
 
I can try the following code.
 
mail.Subject = "New User";
        mail.Body = "<p>Dear Sir, <br><br> " + txtfname.Text + " " + txtlname.Text + ", has raised a requisition that needs your approval. <br><br><br> Please click to [<a href='http://localhost:1240/IMA/Approve.aspx?id="+tt+"'> Approve</a> ] [<a href='Reject.aspx'>Reject</a> ] the request. <br> <br> <br> <b>Note</b> : Please do not reply. This e-mail has been auto-generated.</p>";
        mail.IsBodyHtml = true;
 

In the mail i have move the mouse over the approve link it shows http://.../approve.aspx?id=1, but click the appove link
it shows <a href="http://.../id=1.
 
I don't know why.
 
Please help me out.
 
Thanks in advance,
Murugavel S

modified 6-Oct-12 20:54pm.

AnswerRe: HTML Body mail with link button Pinmembern.podbielski8-Oct-12 23:08 
QuestionC# checking for spaces Pinmemberrachel_m6-Oct-12 8:44 
AnswerRe: C# checking for spaces PinmvpDave Kreskowiak6-Oct-12 10:06 
AnswerRe: C# checking for spaces PinmemberRichard Andrew x646-Oct-12 10:14 
AnswerRe: C# checking for spaces PinmentorDaveyM696-Oct-12 11:42 
QuestionsqlQuery PinmemberMember 94545636-Oct-12 1:14 
AnswerRe: sqlQuery PinmemberProgramFOX6-Oct-12 2:24 
AnswerRe: sqlQuery PinmvpOriginalGriff6-Oct-12 4:49 
Questiontic toe game not working as expected,please help? PinmemberMember 94790245-Oct-12 22:59 
AnswerRe: tic toe game not working as expected,please help? PinprotectorPete O'Hanlon6-Oct-12 1:51 
AnswerRe: tic toe game not working as expected,please help? PinmemberJohn Orendt7-Oct-12 0:36 
QuestionHow to create a message sender which will use your mobile no and credit but no use of your mobile? Pinmemberzain_zone5-Oct-12 22:11 
AnswerRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? PinmemberEddy Vluggen6-Oct-12 3:45 
GeneralRe: How to create a message sender which will use your mobile no and credit but no use of your mobile? PinmvpOriginalGriff6-Oct-12 5:00 
QuestionNeed Help UNICODE PinmemberNazim Iqbal5-Oct-12 13:55 
AnswerRe: Need Help UNICODE PinmvpRichard MacCutchan5-Oct-12 22:29 
QuestionC# search directory paths Pinmemberrachel_m5-Oct-12 10:43 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 21 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid