摘要:
内部定义 外部定义[app.xaml] 调用 阅读全文
摘要:
ExecuteNonQuery()是update,delete ,insert影响行数,对于select永远返回-1ExcuteScalar() select 未找到返回0; 阅读全文
摘要:
ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", ""); 阅读全文
摘要:
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 快速修复(最经典 阅读全文
摘要:
var e = ""; $("#format input[type=checkbox]").each(function () { if (this.checked) { e = e + this.name + ","; } });$("body").css("background-color", "#" + hex); 阅读全文
摘要:
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()); 阅读全文
摘要:
$(function () { $.datepicker.setDefaults({ showOn: "both", buttonImageOnly: true, buttonImage: "img/calendar.gif", buttonText: "日期" }); $("#startTime").datepicker({ dateFormat: "yy/mm/dd", appendText: " [ 2013/9/1 ]" ... 阅读全文
摘要:
阅读全文
摘要:
Personalia: Name: Email: Date of birth: 阅读全文
摘要:
foreach (DataRow dr in dt.Rows) { ss = ss + dr["活动名称"].ToString() + ","; } 阅读全文