如何在C#中为sms应用程序添加参数? [英] how to add parameter for sms application in C#?

查看:83
本文介绍了如何在C#中为sms应用程序添加参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

即时通讯创建了一个发送短信的应用程序.但是我需要您的帮助.


我想从数据库发送参数短信,例如亲爱的< xx> ;,您获得了< xx>积分!"

< xx>是针对数据列表的任何成员而更改的参数.

我该怎么办?

亲爱的詹妮,...
亲爱的琼,.....

textBox和dataList是应用程序中使用的控件.和< xx>将要从数据库中获取.但是我不知道如何dp< xx>从数据库获取数据?

Hi guys,

im creating one application sending sms.But i need ur help.


i want to send parameter sms from database.like " Dear <xx> , you earned <xx> points !"

<xx> are parameters that are changing for any member of datalist.

How can i do it ?

Dear Janny,...
Dear Jonn ,....

textBox , dataList are controls used in app. and <xx> is going to be obtained from database..but i dont know how to dp <xx> gets data from database?

推荐答案

您可以使用SQL和ADO.NET从数据库获取数据.如果您有数据库中的数据,那么您显然是项目的一部分,那里的某人知道这些事情,您应该与您的老板交谈,以便他可以为您提供有关项目中使用的方法和方法的专门知识,以及他希望您继续进行
You get data from a database with SQL and with ADO.NET. Given you have data in a DB, you''re clearly part of a project where someone knows these things, you should talk to your boss, so he can provide you with specific education in the methods and methodologies used in your project, and how he''d like you to proceed


这篇关于如何在C#中为sms应用程序添加参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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