摘要: Linux下MySQL数据库常用基本操作 一 1、显示数据库 2、选择数据库 3、显示数据库中的表 4、显示数据表的结构 5、显示表中记录 6、建库 7、建表 8、增加记录 9、修改记录 10、删除记录 11、删除表 12、删除库 13、备份数据库 14、恢复 15、数据库授权 格式:grant s 阅读全文
posted @ 2016-11-08 11:06 Pavilion 阅读(205) 评论(0) 推荐(0)
摘要: 右键 new 》project 》maven project 出现bank 右键点击bank 》maven4Myeclipse 》new maven module project 同理 阅读全文
posted @ 2016-11-08 10:26 Pavilion 阅读(281) 评论(0) 推荐(0)
摘要: @RequestMapping("admin/doorDesign/getexcel.do") public void getExcel(String name,String phone,Integer status,String start_time,String end_time,HttpSer 阅读全文
posted @ 2016-10-12 14:29 Pavilion 阅读(288) 评论(0) 推荐(0)
摘要: 在springmvc-servlet.xml中配置 <mvc:interceptors> <bean class="com.read.api.pc.interceptor.CrossDomainInterceptor" /> <!-- 使用bean定义一个Interceptor,直接定义在mvc:i 阅读全文
posted @ 2016-10-10 14:15 Pavilion 阅读(6670) 评论(0) 推荐(0)
摘要: 1:工具栏window --》show view --》Other 阅读全文
posted @ 2016-10-09 15:25 Pavilion 阅读(677) 评论(0) 推荐(0)
摘要: if (ds.Tables[0].Rows.Count != 0) { var list = GetJsonString(ds.Tables[0]); jsonStr = "{'jsonStr':'" + list + "','result':'1'}"; } public string GetJs 阅读全文
posted @ 2016-07-08 16:21 Pavilion 阅读(1711) 评论(0) 推荐(0)
摘要: /// <summary> /// 服务器端产生客户端脚本的封装类 /// </summary> public class jsHint { public jsHint() { // // TODO: 在此处添加构造函数逻辑 // } /// <summary> /// 弹出提示信息 /// </s 阅读全文
posted @ 2016-07-08 14:26 Pavilion 阅读(392) 评论(0) 推荐(0)
摘要: 一般处理程序代码: XmlDocument xmldoc = new XmlDocument(); xmldoc.AppendChild(xmldoc.CreateXmlDeclaration("1.0", "UTF-8", null)); XmlElement firstElement = xml 阅读全文
posted @ 2016-07-05 14:09 Pavilion 阅读(8423) 评论(2) 推荐(1)
摘要: private void btnadd_Click(object sender, EventArgs e) { int fileCount = 0; foreach (Control c in this.flowLayoutPanel1.Controls) { i... 阅读全文
posted @ 2016-07-05 10:03 Pavilion 阅读(3040) 评论(1) 推荐(0)
摘要: private void write_listview(DataSet ds) { DataTable dt = ds.Tables[0]; dataGridView1.DataSource = dt.DefaultView; for (int i = 0; i 0) ... 阅读全文
posted @ 2016-07-05 09:55 Pavilion 阅读(1326) 评论(0) 推荐(0)