如何使用C#在Asp.Net中的outlook Email Body中发送Gridview数据 [英] How to Send Gridview data in outlook Email Body in Asp.Net Using C#

查看:58
本文介绍了如何使用C#在Asp.Net中的outlook Email Body中发送Gridview数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#在Asp.Net中的Outlook电子邮件正文中发送Gridview数据....



此代码发送到asp.net C#中的邮件展望....



utlook.Application oApp = new outlook.Application();



outlook .MailItem oMsg =(outlook.MailItem)oApp.CreateItem(outlook.OlItemType.olMailItem);

outlook.Inspector oInspector = oMsg.GetInspector;

oMsg。 HTMLBody =亲爱的先生,
这里如何绑定gridview值.. !!
;



oMsg.Subject =新的来自Scaffolding Jobs的请求;

outlook.Recipients oRecips =(outlook.Recipients)oMsg.Recipients;

outlook.Recipient oRecip =(outlook.Recipient)oRecips.Add( Safihur@fabtech.ae);



oRecip.Resolve();

oMsg.Send();

oRecip = null;

oRecips = null;

oMsg = null;

oApp = null;

How to Send Gridview data in outlook Email Body in Asp.Net Using C#....

This code is send to mail in asp.net C# to outlook....

utlook.Application oApp = new outlook.Application();

outlook.MailItem oMsg = (outlook.MailItem)oApp.CreateItem(outlook.OlItemType.olMailItem);
outlook.Inspector oInspector = oMsg.GetInspector;
oMsg.HTMLBody = "Dear Sir,
Here how to bind gridview value..!!
";

oMsg.Subject = "New Request from Scaffolding Jobs";
outlook.Recipients oRecips = (outlook.Recipients)oMsg.Recipients;
outlook.Recipient oRecip = (outlook.Recipient)oRecips.Add("Safihur@fabtech.ae");

oRecip.Resolve();
oMsg.Send();
oRecip = null;
oRecips = null;
oMsg = null;
oApp = null;

推荐答案

< text> 试试这个:



如何使用C#,VB.NET在Asp.Net中的电子邮件正文中发送Gridview
[< a href =http://www.aspdotnet-suresh.com/2012/09/how-to-send-gridview-in-email-body-in.html\"target =_ blank> ^ ]
<text>Try this :

How to Send Gridview in Email Body in Asp.Net Using C#, VB.NET
[^]


看到这个.. :)

根据需要修改你的代码。

在asp.net中发送GridView中的GridView,C# [ ^ ]



C#.Net如何:使用c#在asp.net中发送电子邮件 [ ^ ]



在asp中发送GridView中的GridView。 net,C# [ ^ ]



如何使用C#,VB.NET在Asp.Net中的电子邮件正文中发送Gridview [ ^ ]
see this.. :)
Modify your code according to your need.
Send GridView in Mail in asp.net,C#[^]

C#.Net How To: Send email in asp.net using c#[^]

Send GridView in Mail in asp.net,C#[^]

How to Send Gridview in Email Body in Asp.Net Using C#, VB.NET[^]


这篇关于如何使用C#在Asp.Net中的outlook Email Body中发送Gridview数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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