- 博客(6)
- 收藏
- 关注
转载 ASP.NET程序中常用的三十三种代码
ASP.NET程序中常用的三十三种代码 1. 打开新的窗口并传送参数: 传送参数: response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>") 接收参数: string a = Request.QueryString(
2006-08-30 11:59:00
729
转载 国家省市级联菜单
级联菜单 body,select { font-size:9pt; font-family:Verdana; } a { color:red; text-decoration:none; } a:hover{ text-decoration:underline; } function Dsy() { this.Items = {}; } Dsy.prototype.add
2006-08-30 11:57:00
10844
1
转载 ASP.NET2.0 数据绑定函数Eval()的机制
本文假设你已经了解ASP.net 1.1的数据绑定(特别是Container这个局部变量)的机制,这里主要分析ASP 2.0数据绑定做了那些改进。 ASP.NET 2.0 的数据绑定函数Eval()简化掉了ASP 1.1神秘的Container.DataItem,比如数据绑定表达式: <%# (Container.DataItem as DataRowView)["Prod
2006-08-30 11:48:00
892
转载 ADO.NET 中DataTable中加载数据方法
ADO.NET 中DataTable中加载数据又两种方法 第一种 //使用fill方法填充DataTable private void useDataTableByFill() ...{ SqlConnection myConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["sq
2006-08-30 11:44:00
730
转载 c#.net常用函数列表
1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 i
2006-08-30 11:35:00
706
原创 在C#中登陆按钮代码
在C#中登陆按钮代码: private void button1_Click(object sender, System.EventArgs e) { switch(comboBox1.SelectedIndex) { case 0: if(textBox1.Text==""||textBox2.Text=="") { Message
2006-08-30 11:15:00
2249
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人