91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

針織行業進銷存系統源碼 源碼描述: 一、源碼介紹 針織布匹行業批發類進銷存,該系統為原版本進行二次優化開發成.net版,目前標準版功能簡單、明了、滿足日常門市正常使用,已有多家正常使用,成熟穩定,有需要的可以下載看看。 二、主要功能 1、訂貨單、訂貨記錄 2、進貨管理:進貨單、進貨記錄 3、銷售管理:銷售單、銷售記錄 4、倉庫:入庫單、出庫單、調撥單、盤點單。 5、資金管理:收款單、付款單、供應商對賬單、客戶對賬單 6、基本設置:倉庫管理、供應商管理、客戶管理、商品類別、商品管理 7、輔助設置:計量單位、賬戶設置、結算方式設置。 8、高級設置:權限設置、角色設置、賬號管理 三、注意事項 1、開發環境為Visual Studio 2010,數據庫為SQL SERVER2008R2,使用.net 4.0開發。 2、數據庫文件在DB文件夾中,附加即可 3、默認數據庫連接字符串在web.config配置文件中修改 4、后臺登陸密碼 admin admin 采用ASP.NET 4.0開發

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Reflection;
using?System.xml;
using?System.Configuration;

namespace?DAL
{
???
????public?class?ConfigSettings
????{
????????public?static?string?ReadSetting(string?key)
????????{
????????????return?ConfigurationSettings.AppSettings[key];
????????}

????????public?static?void?WriteSetting(string?key?string?value)
????????{
????????????//?load?config?document?for?current?assembly
????????????xmlDocument?doc?=?loadConfigDocument();

????????????//?retrieve?appSettings?node
????????????xmlNode?node?=?doc.SelectSingleNode(“//appSettings“);

????????????if?(node?==?null)
????????????????throw?new?InvalidOperationException(“appSettings?section?not?found?in?config?file.“);

????????????try
????????????{
????????????????//?select?the?‘add‘?element?that?contains?the?key
????????????????xmlElement?elem?=?(xmlElement)node.SelectSingleNode(string.Format(“//add[@key=‘{0}‘]“?key));

????????????????if?(elem?!=?null)
????????????????{
????????????????????//?add?value?for?key
????????????????????elem.SetAttribute(“value“?value);
????????????????}
????????????????else
????????????????{
????????????????????//?key?was?not?found?so?create?the?‘add‘?element?
????????????????????//?and?set?it‘s?key/value?attributes?
????????????????????elem?=?doc.CreateElement(“add“);
????????????????????elem.SetAttribute(“key“?key);
????????????????????elem.SetAttribute(“value“?value);
????????????????????node.AppendChild(elem);
????????????????}
????????????????doc.Save(getConfigFilePath());
????????????}
????????????catch
????????????{
????????????????throw;
????????????}
????????}

????????public?static?void?RemoveSetting(string?key)
????????{
????????????//?load?config?document?for?current?assembly
????????????xmlDocument?doc?=?loadConfigDocument();

????????????//?retrieve?appSettings?node
????????????xmlNode?node?=?doc.SelectSingleNode(“//appSettings“);

????????????try
????????????{
????????????????if?(node?==?null)
????????????????????throw?new?InvalidOperationException(“appSettings?section?not?found?in?config?file.“);
????????????????else
????????????????{
????????????????????//?remove?‘add‘?element?with?coresponding?key
????????????????????node.RemoveChild(node.SelectSingleNode(string.Format(“//add[@key=‘{0}‘]“?key)));
????????????????????doc.Save(getConfigFilePath());
????????????????}
????????????}
????????????catch?(NullReferenceException?e)
????????????{
????????????????throw?new?Exception(string.Format(“The?key?{0}?does?not?exist.“?key)?e);
????????????}
????????}

????????private?static?xmlDocument?loadConfigDocument()
????????{
????????????xmlDocument?doc?=?null;
????????????try
????????????{
????????????????doc?=?new?xmlDocument();
????????????????doc.Load(getConfigFilePath());
????????????????return?doc;
????????????}
????????????catch?(System.IO.FileNotFoundException?e)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????17408??2018-06-07?20:24??DAL\bin\Debug\DAL.dll

?????文件??????48640??2018-06-07?20:24??DAL\bin\Debug\DAL.pdb

?????文件???????3277??2018-03-17?09:05??DAL\ConfigSettings.cs

?????文件???????2816??2018-03-17?09:05??DAL\DAL.csproj

?????文件????????208??2014-04-09?13:49??DAL\DAL.csproj.user

?????文件??????23155??2018-03-17?07:25??DAL\DBHelper.CS

?????文件???????3012??2018-06-07?20:24??DAL\obj\Debug\DAL.csproj.FileListAbsolute.txt

?????文件??????17408??2018-06-07?20:24??DAL\obj\Debug\DAL.dll

?????文件??????48640??2018-06-07?20:24??DAL\obj\Debug\DAL.pdb

?????文件???????6558??2018-08-11?15:56??DAL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件???????4096??2010-08-09?11:46??DAL\obj\Debug\Refactor\DAL.dll

?????文件???????1362??2010-08-06?10:01??DAL\Properties\AssemblyInfo.cs

?????文件??????16062??2018-03-17?07:27??DAL\ReportData.cs

?????文件???13959168??2018-06-07?20:42??DB\Invoice.mdf

?????文件????9437184??2018-06-07?20:42??DB\Invoice_log.ldf

?????文件?????????93??2018-05-21?14:36??WebApp\ajax\addinfo.ashx

?????文件???????2482??2018-05-21?14:37??WebApp\ajax\addinfo.ashx.cs

?????文件?????????84??2018-05-21?15:10??WebApp\ajax\login.ashx

?????文件???????6830??2018-05-21?15:11??WebApp\ajax\login.ashx.cs

?????文件????????105??2018-05-21?14:41??WebApp\ajax\Main_frm_list.ashx

?????文件???????6351??2018-05-21?14:40??WebApp\ajax\Main_frm_list.ashx.cs

?????文件?????????91??2018-05-21?15:12??WebApp\ajax\tousyj.ashx

?????文件???????2104??2018-05-21?15:12??WebApp\ajax\tousyj.ashx.cs

?????文件?????????91??2018-05-21?15:15??WebApp\ajax\Upload.ashx

?????文件???????2139??2018-05-21?15:16??WebApp\ajax\Upload.ashx.cs

?????文件????????101??2018-05-21?15:15??WebApp\ajax\uploadPhoto.ashx

?????文件???????4085??2018-05-21?15:16??WebApp\ajax\uploadPhoto.ashx.cs

?????文件????2049862??2018-08-11?15:58??WebApp\App_Data\App_Data.rar

?????文件???13959168??2018-05-28?11:11??WebApp\App_Data\Invoice.mdf

?????文件????9437184??2018-05-28?11:11??WebApp\App_Data\Invoice_log.ldf

............此處省略732個文件信息

評論

共有 條評論