Click here to Skip to main content
15,902,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to email the grid in asp.net
How we can email the all grid value in one time, using mail template in asp.net
Please help me.
Thank you.
Posted
Updated 30-May-11 20:24pm
v2
Comments
That's Aragon 31-May-11 2:25am    
Edited for grammar

There is a generic routine to handle email here: Sending an Email in C# with or without attachments: generic routine.[^]

If you convert your grid data into something you can serialize, then pass that as an attachment to the email. You can then deserialize when you recieve it.

Sorry to sound vague, but without knowing about your grid and data, it isn't really possible to be a lot more specific!
 
Share this answer
 
firstly we can,t mail asp.net controls.
secondly if you want to mail grid values than you have to put that values in HTML table and than email the values
 
Share this answer
 
This could be helpful for you

How to send DataGridView contents by email[^]
 
Share this answer
 

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