2009年3月6日

asp.net引用vb写的dll?

摘要: 把相关的dll文件放到bin目录下,修改dll属性为嵌入的资源 using System.Runtime.InteropServices; [DllImport("FOX_DC.dll", EntryPoint = "DC_Mif_Read")] public static extern int... 阅读全文

posted @ 2009-03-06 11:04 叶子绿了 阅读(332) 评论(0) 推荐(0) 编辑

2009年3月2日

表格样式

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#table11table{ background:#E2F5BC; border... 阅读全文

posted @ 2009-03-02 17:09 叶子绿了 阅读(133) 评论(0) 推荐(0) 编辑

2009年2月16日

临时存储信息

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->DataTable dtuserselect; if (Session["user_select"] == null) { dtuse... 阅读全文

posted @ 2009-02-16 14:58 叶子绿了 阅读(108) 评论(0) 推荐(0) 编辑

2008年11月25日

获得随机数

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 private string getRanString(int StrLength) 2 { 3 Random ran = new Random(); 4 ... 阅读全文

posted @ 2008-11-25 10:37 叶子绿了 阅读(135) 评论(0) 推荐(0) 编辑

2008年9月23日

把Discuz!NT放在虚拟目录下

摘要: 把网站设为IIS默认网站下的话,Discuz!NT访问路径是 http://localhost/bbs不会出什么错, 但如果建个虚拟目录school 访问路径是 http://localhost/school/bbs 就会是空白的 翻看了Discuz!NT的类库文件 ,估计是映射的路径不对. 下面... 阅读全文

posted @ 2008-09-23 16:18 叶子绿了 阅读(1331) 评论(0) 推荐(0) 编辑

2008年3月18日

repeater控件分成两列显示

摘要: 两列显示可以用DIV+CSS也可以用下面的方法 第一列 第二列 或者 protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (i %2 ... 阅读全文

posted @ 2008-03-18 14:22 叶子绿了 阅读(1717) 评论(2) 推荐(1) 编辑

2007年11月21日

window.open传值

摘要: pay.aspx function selectContract(id) { varform=document.form1; form.elements("txtcontractid").value=id==undefined?"":id; } 采购合... 阅读全文

posted @ 2007-11-21 15:44 叶子绿了 阅读(2267) 评论(0) 推荐(0) 编辑

2007年11月20日

asp.net2.0事务

摘要: 做个备份: TransactionOptionsTransOpt = new TransactionOptions(); TransOpt.IsolationLevel = System.Transactions.IsolationLevel.ReadCommitted; TransOpt.T... 阅读全文

posted @ 2007-11-20 11:21 叶子绿了 阅读(197) 评论(0) 推荐(0) 编辑

2007年9月30日

页面CSS的问题,不懂中

摘要: Site.master的html是: 首页 管理一 管理二 管理三 管理四 管理五 管理六 引用site.master页面时,想跳到首页的时候页面中的代码应该是这样的. 首页 即跳到哪个页面,该链接都会加一个class="ontime" 该如何实... 阅读全文

posted @ 2007-09-30 16:08 叶子绿了 阅读(211) 评论(2) 推荐(0) 编辑

导航