資源簡介
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;
using?System.IO;
namespace?ByteImage
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????#region?定義公共的類對象及變量
????????SqlConnection?sqlcon;???????//聲明數據庫連接對象
????????SqlDataAdapter?sqlda;???????//聲明數據橋接器對象
????????DataSet?myds;???????????????//聲明數據集對象
????????//定義數據庫連接字符串
????????string?strCon?=?“Data?Source=(local);Database=db_09;uid=sa;pwd=;“;
????????#endregion
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????ShowInfo();?????????????//
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-19?13:07??ByteImage\
?????文件????????3764??2008-12-11?14:31??ByteImage\ByteImage.csproj
?????文件????????6461??2008-10-16?09:34??ByteImage\Form1.Designer.cs
?????文件????????4598??2008-10-16?10:24??ByteImage\Form1.cs
?????文件????????6017??2008-10-16?09:34??ByteImage\Form1.resx
?????文件?????????490??2008-10-16?08:55??ByteImage\Program.cs
?????目錄???????????0??2018-09-19?13:07??ByteImage\Properties\
?????文件????????1371??2008-12-11?14:31??ByteImage\Properties\AssemblyInfo.cs
?????文件????????2868??2008-10-16?08:55??ByteImage\Properties\Resources.Designer.cs
?????文件????????5612??2008-10-16?08:55??ByteImage\Properties\Resources.resx
?????文件????????1094??2008-10-16?08:55??ByteImage\Properties\Settings.Designer.cs
?????文件?????????249??2008-10-16?08:55??ByteImage\Properties\Settings.settings
?????目錄???????????0??2018-09-19?13:07??ByteImage\bin\
?????目錄???????????0??2018-09-19?13:07??ByteImage\bin\Debug\
?????文件???????12800??2008-12-11?14:31??ByteImage\bin\Debug\ByteImage.exe
?????文件???????22016??2008-12-11?14:31??ByteImage\bin\Debug\ByteImage.pdb
?????文件???????14328??2009-01-05?15:45??ByteImage\bin\Debug\ByteImage.vshost.exe
?????文件?????????490??2007-07-21?01:33??ByteImage\bin\Debug\ByteImage.vshost.exe.manifest
?????目錄???????????0??2018-09-19?13:07??ByteImage\obj\
?????目錄???????????0??2018-09-19?13:07??ByteImage\obj\Debug\
?????文件?????????180??2008-12-11?14:31??ByteImage\obj\Debug\ByteImage.Form1.resources
?????文件?????????180??2008-12-11?14:31??ByteImage\obj\Debug\ByteImage.Properties.Resources.resources
?????文件?????????666??2009-01-05?15:45??ByteImage\obj\Debug\ByteImage.csproj.FileListAbsolute.txt
?????文件?????????847??2008-12-11?14:31??ByteImage\obj\Debug\ByteImage.csproj.GenerateResource.Cache
?????文件???????12800??2008-12-11?14:31??ByteImage\obj\Debug\ByteImage.exe
?????文件???????22016??2008-12-11?14:31??ByteImage\obj\Debug\ByteImage.pdb
?????目錄???????????0??2018-09-19?13:08??ByteImage\obj\Debug\TempPE\
?????文件?????????917??2008-10-16?08:55??ByteImage.sln
?????文件???????14848??2009-01-05?15:53??ByteImage.suo
?????目錄???????????0??2018-09-19?13:07??Databa
?????文件?????1609282??2018-09-18?22:02??Databa
............此處省略5個文件信息
- 上一篇:C#交叉表數據庫
- 下一篇:C#讀取數據庫中表結構
評論
共有 條評論