Click here to Skip to main content
15,170,096 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# string array Pin
montevina 28-Oct-12 2:30
Membermontevina 28-Oct-12 2:30 
GeneralRe: C# string array Pin
BobJanova9-Oct-12 1:09
MemberBobJanova9-Oct-12 1:09 
AnswerRe: C# string array Pin
BobJanova9-Oct-12 1:10
MemberBobJanova9-Oct-12 1:10 
Questionwindows service to check file directory path Pin
rachel_m6-Oct-12 10:46
Memberrachel_m6-Oct-12 10:46 
AnswerRe: windows service to check file directory path Pin
Richard Andrew x646-Oct-12 10:56
professionalRichard Andrew x646-Oct-12 10:56 
GeneralRe: windows service to check file directory path Pin
rachel_m6-Oct-12 11:48
Memberrachel_m6-Oct-12 11:48 
AnswerRe: windows service to check file directory path Pin
Eddy Vluggen6-Oct-12 12:28
professionalEddy Vluggen6-Oct-12 12:28 
QuestionHTML Body mail with link button Pin
Murugavel Sadagopan6-Oct-12 10:21
MemberMurugavel Sadagopan6-Oct-12 10: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.podbielski9-Oct-12 0:08
Membern.podbielski9-Oct-12 0:08 
QuestionC# checking for spaces Pin
rachel_m6-Oct-12 9:44
Memberrachel_m6-Oct-12 9:44 
AnswerRe: C# checking for spaces Pin
Dave Kreskowiak6-Oct-12 11:06
mveDave Kreskowiak6-Oct-12 11:06 
AnswerRe: C# checking for spaces Pin
Richard Andrew x646-Oct-12 11:14
professionalRichard Andrew x646-Oct-12 11:14 
AnswerRe: C# checking for spaces Pin
DaveyM696-Oct-12 12:42
professionalDaveyM696-Oct-12 12:42 
QuestionsqlQuery Pin
Member 94545636-Oct-12 2:14
MemberMember 94545636-Oct-12 2:14 
AnswerRe: sqlQuery Pin
Thomas Daniels6-Oct-12 3:24
mentorThomas Daniels6-Oct-12 3:24 
AnswerRe: sqlQuery Pin
OriginalGriff6-Oct-12 5:49
mveOriginalGriff6-Oct-12 5:49 
Questiontic toe game not working as expected,please help? Pin
Member 94790245-Oct-12 23:59
MemberMember 94790245-Oct-12 23:59 
AnswerRe: tic toe game not working as expected,please help? Pin
Pete O'Hanlon6-Oct-12 2:51
mvaPete O'Hanlon6-Oct-12 2:51 
AnswerRe: tic toe game not working as expected,please help? Pin
John Orendt7-Oct-12 1:36
MemberJohn Orendt7-Oct-12 1: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 23:11
Memberzain_zone5-Oct-12 23: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 4:45
professionalEddy Vluggen6-Oct-12 4: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 6:00
mveOriginalGriff6-Oct-12 6:00 
QuestionNeed Help UNICODE Pin
Nazim Iqbal5-Oct-12 14:55
MemberNazim Iqbal5-Oct-12 14:55 
AnswerRe: Need Help UNICODE Pin
Richard MacCutchan5-Oct-12 23:29
mveRichard MacCutchan5-Oct-12 23:29 
QuestionC# search directory paths Pin
rachel_m5-Oct-12 11:43
Memberrachel_m5-Oct-12 11: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.