資源簡介
c#資產管理系統+asp.net+access
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.Data.SqlClient;
using?System.Data;
using?System.Configuration;
namespace?DataAccess
{
????public?class?sqlHandler
????{
????????private?SqlConnection?_conn?=?null;
????????private?SqlCommand?_cmd?=?null;
????????private?SqlDataAdapter?_da?=?null;
???????
????????public?sqlHandler()
????????{
????????????
????????????
????????}
????????///?
????????///?得到數據
????????///?
????????///?sql查詢語句
????????///?
????????public?DataTable?GetData(string?sql)
????????{
????????????
????????????try
????????????{
????????????????this._conn?=?new?SqlConnection(ConfigurationSettings.AppSettings[“con“]);
????????????????this._da?=?new?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20480??2010-08-25?13:33??DataEntity\bin\Debug\DataEntity.dll
?????文件??????48640??2010-08-25?13:33??DataEntity\bin\Debug\DataEntity.pdb
?????文件???????2151??2008-04-30?09:48??DataEntity\Borrow.cs
?????文件???????1907??2008-05-10?09:04??DataEntity\Clear.cs
?????文件????????361??2008-04-24?11:12??DataEntity\Company.cs
?????文件???????2110??2008-05-14?20:32??DataEntity\DataEntity.csproj
?????文件???????1147??2008-04-30?09:48??DataEntity\Employee.cs
?????文件???????4940??2008-05-14?20:32??DataEntity\Equipment.cs
?????文件????????146??2008-05-22?11:27??DataEntity\obj\DataEntity.csproj.FileList.txt
?????文件????????812??2010-08-26?09:00??DataEntity\obj\DataEntity.csproj.FileListAbsolute.txt
?????文件??????20480??2010-08-25?13:33??DataEntity\obj\Debug\DataEntity.dll
?????文件??????48640??2010-08-25?13:33??DataEntity\obj\Debug\DataEntity.pdb
?????文件??????20480??2008-05-18?13:40??DataEntity\obj\Debug\Refactor\DataEntity.dll
?????文件???????3785??2008-04-23?12:51??DataEntity\obj\Debug\ResolveAssemblyReference.cache
?????文件???????1335??2008-04-20?17:33??DataEntity\Properties\AssemblyInfo.cs
?????文件???????1658??2008-05-09?10:33??DataEntity\Returns.cs
?????文件????????644??2010-08-25?13:33??Equipment_Manager\App.config
?????文件??????32054??2008-05-21?19:55??Equipment_Manager\Applications?Netscape?Communicator.ico
?????文件??????20139??2006-03-22?10:16??Equipment_Manager\bin\Debug\Calmness.ssk
?????文件????????204??2008-05-20?20:50??Equipment_Manager\bin\Debug\Data\BuidDataba
?????文件????5242880??2010-08-26?09:13??Equipment_Manager\bin\Debug\Data\Equipment_Manage_dat.mdf
?????文件????2097152??2010-08-26?09:13??Equipment_Manager\bin\Debug\Data\Equipment_Manage_log.ldf
?????文件????????392??2008-05-21?18:48??Equipment_Manager\bin\Debug\Data\KillProcess.bat
?????文件????????683??2008-05-07?17:39??Equipment_Manager\bin\Debug\Data\KillProcessProcedure.sql
?????文件????????669??2008-05-21?18:39??Equipment_Manager\bin\Debug\Data\SysConfig.bat
?????文件??????16384??2010-08-25?13:33??Equipment_Manager\bin\Debug\DataAccess.dll
?????文件??????15872??2010-08-25?13:33??Equipment_Manager\bin\Debug\DataAccess.pdb
?????文件????2841088??2008-05-21?18:53??Equipment_Manager\bin\Debug\DataBackup\Equipment_Manage.bak
?????文件??????36864??2010-08-25?13:35??Equipment_Manager\bin\Debug\DataBusiness.dll
?????文件?????116224??2010-08-25?13:35??Equipment_Manager\bin\Debug\DataBusiness.pdb
............此處省略296個文件信息
- 上一篇:C#常用的27種設計模式
- 下一篇:經典開源ASP.net商城系統
評論
共有 條評論