• 大小: 300KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: C#
  • 标签: C#  

资源简介

C#手机查询系统

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data.SqlClient;
using System.Data;
namespace MobileInfoWindows
{
    class DBhelper
    {

        public static DataSet GetDataSet(string sql)

        {
            DataSet ds = new DataSet();
            using (SqlConnection sqlcon = new SqlConnection(“Data Source=.;Initial Catalog=MobileManager;Integrated Security=True“))
            {
                SqlDataAdapter sqlda = new SqlDataAdapter(sql sqlcon);
                sqlda.Fill(ds “info“);
            }

            if (ds.Tables.Count < 1)
            {
                return null;
            }

            return ds;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-05-17 10:17  手机查询系统\
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\
     文件         941  2011-03-17 18:59  手机查询系统\MobileInfoWindows\MobileInfoWindows.sln
     文件       18944  2004-01-01 12:16  手机查询系统\MobileInfoWindows\MobileInfoWindows.suo
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\Debug\
     文件       14848  2004-01-01 12:15  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\Debug\MobileInfoWindows.exe
     文件       40448  2004-01-01 12:15  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\Debug\MobileInfoWindows.pdb
     文件       14328  2004-01-01 12:08  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\Debug\MobileInfoWindows.vshost.exe
     文件         490  2007-07-21 01:33  手机查询系统\MobileInfoWindows\MobileInfoWindows\bin\Debug\MobileInfoWindows.vshost.exe.manifest
     文件         739  2011-03-17 19:20  手机查询系统\MobileInfoWindows\MobileInfoWindows\DBhelper.cs
     文件        3729  2004-01-01 12:15  手机查询系统\MobileInfoWindows\MobileInfoWindows\MobileInfoFrom.cs
     文件       11951  2004-01-01 12:13  手机查询系统\MobileInfoWindows\MobileInfoWindows\MobileInfoFrom.Designer.cs
     文件        7284  2004-01-01 12:13  手机查询系统\MobileInfoWindows\MobileInfoWindows\MobileInfoFrom.resx
     文件        3829  2011-03-17 19:21  手机查询系统\MobileInfoWindows\MobileInfoWindows\MobileInfoWindows.csproj
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\
     文件        1894  2004-01-01 12:13  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.csproj.FileListAbsolute.txt
     文件         856  2004-01-01 12:13  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.csproj.GenerateResource.Cache
     文件       14848  2004-01-01 12:15  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.exe
     文件         180  2011-03-17 19:57  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.MobileInfoFrom.resources
     文件       40448  2004-01-01 12:15  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.pdb
     文件         180  2011-03-17 19:21  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\MobileInfoWindows.Properties.Resources.resources
     目录           0  2011-03-17 19:03  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\Refactor\
     目录           0  2011-03-17 18:59  手机查询系统\MobileInfoWindows\MobileInfoWindows\obj\Debug\TempPE\
     文件         507  2011-03-17 19:06  手机查询系统\MobileInfoWindows\MobileInfoWindows\Program.cs
     目录           0  2012-05-17 10:17  手机查询系统\MobileInfoWindows\MobileInfoWindows\Properties\
     文件        1382  2011-03-17 18:59  手机查询系统\MobileInfoWindows\MobileInfoWindows\Properties\AssemblyInfo.cs
     文件        2884  2011-03-17 18:59  手机查询系统\MobileInfoWindows\MobileInfoWindows\Properties\Resources.Designer.cs
     文件        5612  2011-03-17 18:59  手机查询系统\MobileInfoWindows\MobileInfoWindows\Properties\Resources.resx
............此处省略6个文件信息

评论

共有 条评论