Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i want t use session values into email message content...how to pass the values like

//msgBody += "Name: " + Venuename + nxtline + "Address: " + Venueaddress + nxtline + "City: " + Venuecity + nxtline + "State: " + Venuestate + nxtline + "Zip: " + Venuezip + nxtline + "Phone: " + Venuephone + nxtline + "Type: " + Venuetype + nxtline + "Date of expected use: " + Convert.ToDateTime(Venuedate) + HttpContext.Current.Session["UFName"].ToString() + " " + HttpContext.Current.Session["ULFName"].ToString() + HttpContext.Current.Session["Territory"].ToString();



this s correct ?
Posted
Comments
Sergey Alexandrovich Kryukov 29-Jan-15 15:56pm    
Why using them and what's the problem?
—SA
ZurdoDev 29-Jan-15 16:00pm    
You already have it, HttpContext.Current.Session["ULFName"].ToString()

What is the question?
Sujith Karivelil 29-Jan-15 22:33pm    
you are using this in correct format.HttpContext.Current.Session["ULFName"].ToString()
then whats the problem you ware facing?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900