随笔分类 -  .Net

.Net
摘要:项目中经常遇到三级联动的使用,特别是省市县的三级联动,由于是js调用,修改时无法绑定原来的数据,今天想了一个方法完善了这小小的缺憾@~ 阅读全文
posted @ 2008-04-04 10:50 kantorgong 阅读(292) 评论(0) 推荐(0)
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 阅读全文
posted @ 2008-03-28 08:33 kantorgong 阅读(189) 评论(0) 推荐(0)
摘要:一.常用表单基本取值方法(form1为表单名称,TextBox1为控件ID,以文本框为例,html控件与web服务器控件是一样的) 1.form1.TextBox1.value 2.var txt = document.all.TextBox1; txt.value 3.var txt = document.all["TextBox1"]; txt.value 4.document.getElementById("TextBox1"); 阅读全文
posted @ 2008-03-27 18:13 kantorgong 阅读(2619) 评论(2) 推荐(0)