Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# string array Pin
montevina 28-Oct-12 1:30
montevina 28-Oct-12 1:30 
GeneralRe: C# string array Pin
BobJanova9-Oct-12 0:09
BobJanova9-Oct-12 0:09 
AnswerRe: C# string array Pin
BobJanova9-Oct-12 0:10
BobJanova9-Oct-12 0:10 
Questionwindows service to check file directory path Pin
rachel_m6-Oct-12 9:46
rachel_m6-Oct-12 9:46 
AnswerRe: windows service to check file directory path Pin
Richard Andrew x646-Oct-12 9:56
professionalRichard Andrew x646-Oct-12 9:56 
GeneralRe: windows service to check file directory path Pin
rachel_m6-Oct-12 10:48
rachel_m6-Oct-12 10:48 
AnswerRe: windows service to check file directory path Pin
Eddy Vluggen6-Oct-12 11:28
professionalEddy Vluggen6-Oct-12 11:28 
QuestionHTML Body mail with link button Pin
Murugavel Sadagopan6-Oct-12 9:21
Murugavel 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.

XML
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 Pin
n.podbielski8-Oct-12 23:08
n.podbielski8-Oct-12 23:08 
QuestionC# checking for spaces Pin
rachel_m6-Oct-12 8:44
rachel_m6-Oct-12 8:44 
AnswerRe: C# checking for spaces Pin
Dave Kreskowiak6-Oct-12 10:06
mveDave Kreskowiak6-Oct-12 10:06 
AnswerRe: C# checking for spaces Pin
Richard Andrew x646-Oct-12 10:14
professionalRichard Andrew x646-Oct-12 10:14 
AnswerRe: C# checking for spaces Pin
DaveyM696-Oct-12 11:42
professionalDaveyM696-Oct-12 11:42 
QuestionsqlQuery Pin
Member 94545636-Oct-12 1:14
Member 94545636-Oct-12 1:14 
AnswerRe: sqlQuery Pin
Thomas Daniels6-Oct-12 2:24
mentorThomas Daniels6-Oct-12 2:24 
AnswerRe: sqlQuery Pin
OriginalGriff6-Oct-12 4:49
mveOriginalGriff6-Oct-12 4:49 
Questiontic toe game not working as expected,please help? Pin
Member 94790245-Oct-12 22:59
Member 94790245-Oct-12 22:59 
AnswerRe: tic toe game not working as expected,please help? Pin
Pete O'Hanlon6-Oct-12 1:51
mvePete O'Hanlon6-Oct-12 1:51 
AnswerRe: tic toe game not working as expected,please help? Pin
John Orendt7-Oct-12 0:36
John 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? Pin
zain_zone5-Oct-12 22:11
zain_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? Pin
Eddy Vluggen6-Oct-12 3:45
professionalEddy 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? Pin
OriginalGriff6-Oct-12 5:00
mveOriginalGriff6-Oct-12 5:00 
QuestionNeed Help UNICODE Pin
Nazim Iqbal5-Oct-12 13:55
Nazim Iqbal5-Oct-12 13:55 
AnswerRe: Need Help UNICODE Pin
Richard MacCutchan5-Oct-12 22:29
mveRichard MacCutchan5-Oct-12 22:29 
QuestionC# search directory paths Pin
rachel_m5-Oct-12 10:43
rachel_m5-Oct-12 10:43 

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.