原创 treeview 動態邦定數據
private void Bind() { string rootStr = "物料類別"; TreeNode rootNode = new TreeNode(rootStr); r
原创 xml記錄用戶登錄系統信息
using System;using System.Data;using System.Configuration;using System.Web;using System.Xml; /// <summary>/// XML文件的讀寫類
原创 datarow 轉化爲datatable
StringBuilder sb = new StringBuilder(); DataTable mytable = (DataTable)ViewState["table"]; sb.App
原创 js打印表頭
<html> <head> <title> </title> <style type="text/css"> <meta http-equiv="Content-Type" content="text/htm
原创 簡單購物車
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.U
原创 登錄時判斷瀏覽器
function browserinfo(){ var Browser_Name=navigator.appName; var Browser_Version=parseFloat(navigator.app
原创 JS調用服務端顯示查詢數據
function GetData(url){ var xhttp = new window.XMLHttpRequest; xhttp.open("post",url, false); xhttp.s
原创 AutoCompleteExtender webservices
///引入新的命名空間using System.Data;using System.Web.Script.Services;using AjaxControlToolkit; [WebService(Namespace = "http:
原创 刪除物料信息時要把其所在文件夾中的圖片刪除
string imagePath = Server.MapPath("~/ProImage/") + drResult["kp_url"].ToString().Trim();
原创 sql 獲取每個月的最後一天
select convert(char(10),dateadd(d,-1,convert(char(7),dateadd(m,1,getdate()),120)+'-01'),120) 點贊 收藏
原创 將圖片保存到數據庫並用GridView顯示
int len = Upload.PostedFile.ContentLength; byte[] pic = new byte[len]; Upload.PostedF
原创 webservice簡單應用(天氣預報)
using System;using System.Web;using System.Collections;using System.Web.Services;using System.Web.Services.Protocols;us
原创 listbox
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) {
原创 JS獲取頁面數據並打印
<%@ Page Language="C#" %><script runat="server"> private struct ImageItem { public string 圖片路徑; public
原创 廣州某皮具公司進銷存管理系統需求分析
前幾個月一直在給廣州花都獅嶺某皮具公司做一款進銷存管理系統.本人在其公司做需求分析將近二十幾天,感受頗多. 也對皮具行業系統有了較深的理解: 一、物料分類大至爲:主料,配料,里布,輔料,露華里,拉鍊,五金 七大料,大類後又有小類.bom表