• 大小: 0.46M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签: 发送  

资源简介

C# 发送彩信 示例源码

资源截图

代码片段和文件信息

using System;
using System.Text;
using System.Data.SqlClient;
using System.Data;

namespace Analysis
{
    class Ado
    {
        protected static string con = “server=[yourserver];database=[yourdata];user id=[your id];password=[youpassword]“;
        //数据库字符串
        protected System.Data.SqlClient.SqlConnection DataConnection;
        //数据库连接对象
        protected System.Data.SqlClient.SqlDataAdapter DataAdapter;
        //SqlDataAdapter对象
        protected System.Data.SqlClient.SqlCommand DataCommand;
        //SqlCommand对象
        protected System.Data.SqlClient.SqlCommandBuilder DataComBuilder;
        //SqlCommandBuilder对象
        protected System.Data.DataSet mDataSet;
        //DataSet对象
        //DataRow对象
        protected System.Data.SqlClient.SqlDataReader DataReader = null;
        //构造函数
        public void data()
        {
            DataConnection = DataConn();

        }
        //连接数据库参数
        public string Con
        {

           

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       6661  2017-07-29 10:05  PhoneMessage2017-03-23\ado.cs

     文件       7169  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\ado.cs

     文件       9173  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Alarm.cs

     文件       2443  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\AlarmSet.cs

     文件       6044  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Alarm_SB.cs

     文件       1709  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\DbConnection.cs

     文件       1737  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Exit.cs

     文件       5623  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Exit.designer.cs

     文件     143786  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Exit.resx

     文件       8775  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Form1.cs

     文件      12334  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Form1.Designer.cs

     文件       6675  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Form1.resx

     文件       6387  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\IniFile.cs

     文件      14970  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Message.cs

     文件       7041  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\PhoneMessage.csproj

     文件        488  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\PhoneMessage.csproj.user

     文件        493  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Program.cs

     文件       1380  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Properties\AssemblyInfo.cs

     文件       2874  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Properties\Resources.Designer.cs

     文件       5612  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Properties\Resources.resx

     文件       1097  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Properties\Settings.Designer.cs

     文件        249  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\Properties\Settings.settings

     文件       5418  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\User.cs

     文件      26861  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\User.Designer.cs

     文件       5814  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\User.resx

     文件       4716  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage\XZData.cs

     文件        926  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage.sln

    ..A..H.     57344  2017-07-29 10:05  PhoneMessage2017-03-23\Backup\PhoneMessage.suo

     文件       6383  2017-07-29 10:05  PhoneMessage2017-03-23\IniFile.cs

     文件       7237  2017-08-19 17:29  PhoneMessage2017-03-23\PhoneMessage\ado.cs

............此处省略91个文件信息

评论

共有 条评论