send gridview data to mail [Resolved]

Posted by Alok under ASP.NET on 4/11/2011 | Points: 10 | Views : 9308 | Status : [Member] | Replies : 6
i want send gridview data as attached mail to any recipent when i click the send button...

Thanks & Regards,
Alokssm



Responses

Posted by: Karthikanbarasan on: 4/11/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Yeah best solution is generate an xml or an html with the dataset which used for the grdview and send it as an attachment... If its html we can show the result as well in the mail itself...

Thanks
Karthik
www.f5Debug.net

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: prashant12-7256 on: 4/11/2011 [Member] Starter | Points: 25

Up
0
Down
Send an e-mail with the content of a GridView

http://aspdotnetcodebook.blogspot.com/2008/04/send-e-mail-with-content-of-gridview.html

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 4/11/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Alok . .

check this article on Dotnetfunda. . it's help us u . .


http://www.dotnetfunda.com/articles/article1162-import-gmail-contacts-in-gridview-and-send-mail-to-selected-email-ids-.aspx

Best Regard's
Prabhakar

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Alok on: 4/11/2011 [Member] Starter | Points: 25

Up
0
Down
how can i send all data of gridview to mail by single submit button if there is Paging in gridview..

Thanks & Regards,
Alokssm

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 4/11/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
hi alok . .

i think . . remove paging in gridview and click all check boxes and send mail on submit click button . .

Best Regard's
Prabhakar

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gsolvers on: 4/11/2011 [Member] Starter | Points: 25

Up
0
Down
Other solution can be you generating the XML/DS of the whole data from grid from all pages and sending it as attachment.

Best Regards,

VG
www.TeacherJi.com

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response