我们如何在asp.net中通过电子邮件发送表格 [英] how we can email the grid in asp.net

查看:68
本文介绍了我们如何在asp.net中通过电子邮件发送表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过asp.net通过电子邮件发送网格
如何使用asp.net中的邮件模板一次通过电子邮件发送所有网格值
请帮帮我.
谢谢.

解决方案

有一个通用例程可以在此处处理电子邮件:如何通过电子邮件发送DataGridView内容 [ 解决方案

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!


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


This could be helpful for you

How to send DataGridView contents by email[^]


这篇关于我们如何在asp.net中通过电子邮件发送表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆