追求新生活 名字2008

活着的意义

07 2008 档案

获得当前应用程序路径C#03
摘要:在web中是 Server.MapPath(".") Response.Write (Server.MapPath(".")); 如果是app中则是 Application.ExecutablePath; 或Application.StartupPath 也可以用环境 System.Environment.CurrentDirectory 当然了,使用的前提是你要 using S... 阅读全文

posted @ 2008-07-05 18:21 pyman 阅读(447) 评论(0) 推荐(0)

dropdownlist控件失去焦点的小应用和函数substr
摘要:先 dropdownlist控件的AutoPostBack 设置为true,就是它会失去焦点前自动提交了; dropdownlist里面有几个items,如:单选题,多选题,打字题 然后,在事件DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e) 中加入代码 {if (DropDownList1.Selected... 阅读全文

posted @ 2008-07-01 11:08 pyman 阅读(579) 评论(0) 推荐(0)

导航