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

资源简介

新增和查询数据 都是基于txt

资源截图

代码片段和文件信息

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.IO;

namespace WindowsFormsApp1
{
    public partial class MainForm : Form
    {
        private RecordForm recordForm;

        public MainForm()
        {
            InitializeComponent();
        }

        private void MainForm_Load(object sender EventArgs e)
        {
            recordForm = new RecordForm(this);

            LoadData(“所有“);

        }

        private void LoadData(string kind)
        {
            listView.Items.Clear();
            StreamReader streamReader = new StreamReader(“Recorder.txt“);
            try
            {
           

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

    ..A..H.     47616  2019-03-10 22:35  Recorder\.vs\Recorder\v15\.suo

     文件          0  2019-01-30 12:06  Recorder\.vs\Recorder\v15\Server\sqlite3\db.lock

     文件     520192  2019-02-17 09:52  Recorder\.vs\Recorder\v15\Server\sqlite3\storage.ide

     文件      32768  2019-03-10 11:55  Recorder\.vs\Recorder\v15\Server\sqlite3\storage.ide-shm

     文件      94792  2019-03-09 16:08  Recorder\.vs\Recorder\v15\Server\sqlite3\storage.ide-wal

    ..A..H.     47616  2019-12-07 13:37  Recorder\.vs\Recorder\v16\.suo

     文件          0  2019-12-07 13:36  Recorder\.vs\Recorder\v16\Server\sqlite3\db.lock

     文件     516096  2019-12-07 13:37  Recorder\.vs\Recorder\v16\Server\sqlite3\storage.ide

     文件       1131  2019-01-30 12:09  Recorder\Recorder.sln

    ..A..H.     36864  2019-10-10 13:44  Recorder\Recorder.v12.suo

     文件      16896  2019-10-09 11:35  Recorder\WindowsFormsApp1\bin\Debug\Recorder.exe

     文件      42496  2019-10-09 11:35  Recorder\WindowsFormsApp1\bin\Debug\Recorder.pdb

     文件        364  2019-03-18 11:27  Recorder\WindowsFormsApp1\bin\Debug\Recorder.txt

     文件      21656  2019-10-10 13:42  Recorder\WindowsFormsApp1\bin\Debug\Recorder.vshost.exe

     文件        490  2010-03-17 22:39  Recorder\WindowsFormsApp1\bin\Debug\Recorder.vshost.exe.manifest

     文件       3381  2019-10-09 11:35  Recorder\WindowsFormsApp1\MainForm.cs

     文件      10317  2019-10-09 11:35  Recorder\WindowsFormsApp1\MainForm.Designer.cs

     文件       5817  2019-10-09 11:35  Recorder\WindowsFormsApp1\MainForm.resx

     文件        745  2019-12-07 13:36  Recorder\WindowsFormsApp1\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6870  2019-12-07 13:36  Recorder\WindowsFormsApp1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件         42  2019-01-30 12:08  Recorder\WindowsFormsApp1\obj\Debug\Recorder.csproj.CoreCompileInputs.cache

     文件       1559  2019-10-10 13:42  Recorder\WindowsFormsApp1\obj\Debug\Recorder.csproj.FileListAbsolute.txt

     文件        913  2019-10-09 11:35  Recorder\WindowsFormsApp1\obj\Debug\Recorder.csproj.GenerateResource.Cache

     文件       9084  2019-12-07 13:34  Recorder\WindowsFormsApp1\obj\Debug\Recorder.csprojAssemblyReference.cache

     文件       1759  2019-03-16 11:19  Recorder\WindowsFormsApp1\obj\Debug\Recorder.csprojResolveAssemblyReference.cache

     文件      16896  2019-10-09 11:35  Recorder\WindowsFormsApp1\obj\Debug\Recorder.exe

     文件      42496  2019-10-09 11:35  Recorder\WindowsFormsApp1\obj\Debug\Recorder.pdb

     文件        180  2019-01-30 15:19  Recorder\WindowsFormsApp1\obj\Debug\Recorder.Properties.Resources.resources

     文件       3584  2019-01-30 15:18  Recorder\WindowsFormsApp1\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件         42  2019-01-30 12:06  Recorder\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache

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

评论

共有 条评论