• 大小: 0.14M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签:

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace ClearContentToTreeView
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        //声明本程序需要的变量
        public static string[] recordInfo;

        private void Form1_Load(object sender EventArgs e)
        {
            #region 在DataGridView及TreeView中显示数据
            string connString = “server=.;database=pubs;integrated security=sspi“;
            SqlConnection conn = new SqlConnection(connString);
            conn.Open();
            string selectString = “select au_i

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         956  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView.sln
     文件       15872  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView.suo
     文件        3790  2009-01-09 14:53  sj\01\ClearContentToTreeView\ClearContentToTreeView\ClearContentToTreeView.csproj
     文件        7229  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\Form1.cs
     文件        6942  2009-01-09 15:25  sj\01\ClearContentToTreeView\ClearContentToTreeView\Form1.Designer.cs
     文件        6012  2009-01-09 15:25  sj\01\ClearContentToTreeView\ClearContentToTreeView\Form1.resx
     文件         503  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Program.cs
     文件       13312  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\bin\Debug\ClearContentToTreeView.exe
     文件       32256  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\bin\Debug\ClearContentToTreeView.pdb
     文件       14328  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\bin\Debug\ClearContentToTreeView.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\ClearContentToTreeView\ClearContentToTreeView\bin\Debug\ClearContentToTreeView.vshost.exe.manifest
     文件        2282  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.csproj.FileListAbsolute.txt
     文件         847  2009-01-09 15:25  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.csproj.GenerateResource.Cache
     文件       13312  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.exe
     文件         180  2009-01-09 15:25  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.Form1.resources
     文件       32256  2009-02-23 09:13  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.pdb
     文件         180  2009-01-09 14:53  sj\01\ClearContentToTreeView\ClearContentToTreeView\obj\Debug\ClearContentToTreeView.Properties.Resources.resources
     文件        1376  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Properties\AssemblyInfo.cs
     文件        2894  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Properties\Resources.Designer.cs
     文件        5612  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Properties\Resources.resx
     文件        1107  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Properties\Settings.Designer.cs
     文件         249  2009-01-09 14:51  sj\01\ClearContentToTreeView\ClearContentToTreeView\Properties\Settings.settings
     文件         950  2009-01-09 14:47  sj\02\AddContentToTreeView\AddContentToTreeView.sln
     文件       15872  2009-02-23 09:14  sj\02\AddContentToTreeView\AddContentToTreeView.suo
     文件        3786  2009-01-09 14:50  sj\02\AddContentToTreeView\AddContentToTreeView\AddContentToTreeView.csproj
     文件        4133  2009-02-23 09:14  sj\02\AddContentToTreeView\AddContentToTreeView\Form1.cs
     文件        4780  2009-01-09 14:50  sj\02\AddContentToTreeView\AddContentToTreeView\Form1.Designer.cs
     文件        6526  2009-01-09 14:50  sj\02\AddContentToTreeView\AddContentToTreeView\Form1.resx
     文件         501  2009-01-09 14:47  sj\02\AddContentToTreeView\AddContentToTreeView\Program.cs
     文件       11776  2009-02-23 09:14  sj\02\AddContentToTreeView\AddContentToTreeView\bin\Debug\AddContentToTreeView.exe
     文件       32256  2009-02-23 09:14  sj\02\AddContentToTreeView\AddContentToTreeView\bin\Debug\AddContentToTreeView.pdb
............此处省略35个文件信息

评论

共有 条评论