从Excel Sheet如何使用C#使用Windows应用程序发送SMS [英] From Excel Sheet how to send the SMS using windows application using C#

查看:72
本文介绍了从Excel Sheet如何使用C#使用Windows应用程序发送SMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Excel表格如下



Excel sheet as follows

StudentName   ParentName   MobileNo     Eng  Tam  Maths    Sci  Social

 Ajay          Ram        9789580520    55   50    60       70   75
 Ramesh        Sam        9940567850    70   75    80       85   70
 Vikram        Suresh     9840567890    75   70    70       90   75





运行模式如下





Run Mode as follows

ExcelMarksFile (Label)    textbox1   Browse(Button)  SendSMS(Button)



当用户点击浏览按钮时,上面的Excel文件将显示在Datagridview中。



在Datagridview中如下




When user clicks the Browse Button the above Excel file will be displayed in Datagridview.

In Datagridview as follows

StudentName   ParentName   MobileNo     Eng  Tam  Maths    Sci  Social

  Ajay          Ram        9789580520    55   50    60       70   75
  Ramesh        Sam        9940567850    70   75    80       85   70
  Vikram        Suresh     9840567890    75   70    70       90   75





消息格式如下:





The message format as follows:

Dear Parents your son secured marks in Eng 55 Tam 50 Maths 60 Sci 70 Social 75.(9789580520)
Dear Parents your son secured marks in Eng 70 Tam 75 Maths 80 Sci 85 Social 70.(9940567850)
Dear Parents your son secured marks in Eng 75 Tam 70 Maths 70 Sci 90 Social 75.(9840567890)





当用户点击上述三个学生的SendSMS(按钮)时,必须从datagridview发送消息。



For我怎么能在Windows应用程序中使用csharp。



问候,

Narasiman P.



when user clicks the SendSMS (Button) for the above three students message has to be send from the datagridview.

For that how can i do in windows application using csharp.

Regards,
Narasiman P.

推荐答案

我建​​议你阅读:

发送来自基于Microsoft .NET Compact Framework的应用程序的SMS [ ^ ]

这是一个代码示例:

使用C#发送短信 [ ^ ]

如何使用OLEDB从Excel文件中读取 [ ^ ]



其余属于你!
I would suggest you to read this:
Sending SMSs from your Microsoft .NET Compact Framework-based Applications[^]
Here is a code example:
Send SMS using C#[^]
How to read from an Excel file using OLEDB[^]

The rest belongs to you!


这篇关于从Excel Sheet如何使用C#使用Windows应用程序发送SMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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