上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 内部定义 外部定义[app.xaml] 调用 阅读全文
posted @ 2013-09-12 14:34 yuluhuang 阅读(416) 评论(0) 推荐(0) 编辑
摘要: ExecuteNonQuery()是update,delete ,insert影响行数,对于select永远返回-1ExcuteScalar() select 未找到返回0; 阅读全文
posted @ 2013-09-10 19:26 yuluhuang 阅读(221) 评论(0) 推荐(0) 编辑
摘要: ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", ""); 阅读全文
posted @ 2013-09-02 16:18 yuluhuang 阅读(131) 评论(0) 推荐(0) 编辑
摘要: vs2010 ctrl+k+d ctrl+.添加命名空间eclipseCtrl+Shift+F4 关闭所有打开的EditerCtrl+Shift+X 把当前选中的文本全部变味小写Ctrl+Shift+Y 把当前选中的文本全部变为小写Ctrl+Shift+F 格式化当前代码Ctrl+/(小键盘) 折叠当前类中的所有代码Ctrl+×(小键盘) 展开当前类中的所有代码Ctrl+Q 定位到最后编辑的地方Ctrl+L 定位在某行 (对于程序超过100的人就有福音了)Ctrl+M 最大化当前的Edit或View (再按则反之)Ctrl+/ 注释当前行,再按则取消注释Ctrl+1 快速修复(最经典 阅读全文
posted @ 2013-08-28 18:45 yuluhuang 阅读(235) 评论(0) 推荐(0) 编辑
摘要: var e = ""; $("#format input[type=checkbox]").each(function () { if (this.checked) { e = e + this.name + ","; } });$("body").css("background-color", "#" + hex); 阅读全文
posted @ 2013-08-25 09:52 yuluhuang 阅读(127) 评论(0) 推荐(0) 编辑
摘要: StringBuilder sb = new StringBuilder();DataTable dt = a(); sb.Append(""); foreach (DataRow row in dt.Rows) { string str = string.Format("{3}", row["类别ID"].ToString(), row["类别ID"].ToString(), row["类别ID"].ToString(), row["类别名称"].ToString()); 阅读全文
posted @ 2013-08-22 15:26 yuluhuang 阅读(199) 评论(0) 推荐(0) 编辑
摘要: $(function () { $.datepicker.setDefaults({ showOn: "both", buttonImageOnly: true, buttonImage: "img/calendar.gif", buttonText: "日期" }); $("#startTime").datepicker({ dateFormat: "yy/mm/dd", appendText: " [ 2013/9/1 ]" ... 阅读全文
posted @ 2013-08-22 15:24 yuluhuang 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-08-22 08:27 yuluhuang 阅读(354) 评论(0) 推荐(0) 编辑
摘要: Personalia: Name: Email: Date of birth: 阅读全文
posted @ 2013-08-22 08:25 yuluhuang 阅读(138) 评论(0) 推荐(0) 编辑
摘要: foreach (DataRow dr in dt.Rows) { ss = ss + dr["活动名称"].ToString() + ","; } 阅读全文
posted @ 2013-08-21 11:13 yuluhuang 阅读(130) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页