Title:
CSharp-Access-to-sql-server-database Download
Description: 1 I establish the database file for the ImageDatabase, wherein the table name : Image, which already has 5 sets of image data, including image sequence, image nameImage width, height and depth of image pixels.The 2.ConnectionDemo folder there is a C# source ( my computer is used in the 2008 version, do not know in 2005 whether can also be used, if there are any problems contact me again! )3 double-click the second generated a good solution file, then you can open the project file, click on" the solution explorer" "Form1.cs" files can beSee the WinForm interface.4 here I carry out the following functions:1)." To connect to the database test", namely c# and the database connection, if the connection is successful, it will display" to connect to the database successfully" display box.2)" to the database by adding data", in the left image information database for text data, then click on" add data to the database"Button, will be adding to the database data, you can open the database table
To Search:
File list (Check if you may need any files):
_C#访问数据库
.............\ConnectionDemo
.............\..............\ConnectionDemo
.............\..............\ConnectionDemo.sln
.............\..............\ConnectionDemo.suo
.............\..............\..............\bin
.............\..............\..............\...\Debug
.............\..............\..............\...\.....\ConnectionDemo.exe
.............\..............\..............\...\.....\ConnectionDemo.pdb
.............\..............\..............\...\.....\ConnectionDemo.vshost.exe
.............\..............\..............\...\.....\ConnectionDemo.vshost.exe.manifest
.............\..............\..............\...\Release
.............\..............\..............\ConnectionDemo.csproj
.............\..............\..............\ConnectionDemo.csproj.user
.............\..............\..............\Form1.cs
.............\..............\..............\Form1.Designer.cs
.............\..............\..............\Form1.resx
.............\..............\..............\obj
.............\..............\..............\...\Debug
.............\..............\..............\...\.....\ConnectionDemo.csproj.FileListAbsolute.txt
.............\..............\..............\...\.....\ConnectionDemo.csproj.GenerateResource.Cache
.............\..............\..............\...\.....\ConnectionDemo.exe
.............\..............\..............\...\.....\ConnectionDemo.Form1.resources
.............\..............\..............\...\.....\ConnectionDemo.pdb
.............\..............\..............\...\.....\ConnectionDemo.Properties.Resources.resources
.............\..............\..............\...\.....\TempPE
.............\..............\..............\...\Release
.............\..............\..............\Program.cs
.............\..............\..............\Properties
.............\..............\..............\..........\AssemblyInfo.cs
.............\..............\..............\..........\Resources.Designer.cs
.............\..............\..............\..........\Resources.resx
.............\..............\..............\..........\Settings.Designer.cs
.............\..............\..............\..........\Settings.settings
.............\ImageDatabase.mdf
.............\ImageDatabase_log.ldf
.............\重要说明.txt