摘要: private SellerInfo uploadFile() { SellerInfo sellerInfo = new SellerInfo(); String filePath = Server.MapPath("~/" + SellerReservatBL.SELLER_INFO_FILE) 阅读全文
posted @ 2016-04-18 17:09 Carri 阅读(759) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Demo.aspx.cs" Inherits="WM.MemberRegister.Web.Demo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XH 阅读全文
posted @ 2016-04-18 17:08 Carri 阅读(944) 评论(0) 推荐(0) 编辑
摘要: protected void BtnDowload_Click(object sender, EventArgs e) { string path = Server.MapPath(ConfigurationManager.AppSettings["PersonRecordUrl"]); strin 阅读全文
posted @ 2016-04-18 17:08 Carri 阅读(461) 评论(0) 推荐(0) 编辑
摘要: string fileName = "aaa.txt"; //客户端保存的文件名 string filePath = Server.MapPath("DownLoad/aaa.txt"); //路径 //以字符流的形式下载文件 FileStream fs = new FileStream(fileP 阅读全文
posted @ 2016-04-18 17:08 Carri 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 根据数据库的内容动态创建Checkbox控件并显示在Panel上 dataset ds=new dataset(); CheckBox[ ] cb=new CheckBox[ds.tables[0].Rows.count]; for(int i=0;i<ds.tables[0].Rows.count 阅读全文
posted @ 2016-04-18 17:06 Carri 阅读(208) 评论(0) 推荐(0) 编辑
摘要: alter table dbo.P_ZPROMOTION_DOC_ITEMS_TEMP alter column MCRANK varchar(20); 方法一: use testdb --创建局部临时表 create table #tmpStudent(Tid int,Name varchar(5 阅读全文
posted @ 2016-04-18 17:05 Carri 阅读(1362) 评论(0) 推荐(0) 编辑
摘要: //string fileName = "ceshi.rar";//客户端保存的文件名 //string filePath = Server.MapPath("keji.rar");//路径 //路径 string filePath = Server.MapPath("~/DownLoadFileT 阅读全文
posted @ 2016-04-18 17:04 Carri 阅读(177) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.IO; using NPOI.HSSF.UserModel; u 阅读全文
posted @ 2016-04-18 17:03 Carri 阅读(307) 评论(0) 推荐(0) 编辑
摘要: select * from INVOICE_NEW where ref_no='32308' update INVOICE_NEW set check_d=to_date('2015/11/16', 'yyyy-mm-dd'),rece_d=to_date('2015/11/16', 'yyyy-m 阅读全文
posted @ 2016-04-18 17:00 Carri 阅读(352) 评论(0) 推荐(0) 编辑