摘要: 1.session int id = Convert.ToInt32(Session["userid"]); 2.传值 int id = Convert.ToInt32(Request.QueryString["ID"]); 阅读全文
posted @ 2017-10-13 15:05 &慧& 阅读(718) 评论(0) 推荐(0)
摘要: 1.写入 DataAccess.Da dac = new DataAccess.Da(); string strCity = this.s_city.Text; string strb = this.TextBox1.Text; string sql = "insert into city_info 阅读全文
posted @ 2017-10-13 15:04 &慧& 阅读(364) 评论(0) 推荐(0)
摘要: 1.<%# Eval("flag") 判断输出 2.<%# Eval("time") 判断输出时间格式 3.判断输出字段格式 阅读全文
posted @ 2017-10-12 21:55 &慧& 阅读(1402) 评论(0) 推荐(0)
摘要: 通用式: alter table [表名] add [字段名] 字段属性 default 缺省值 default 是可选参数增加字段: alter table [表名] add 字段名 smallint default 0 增加数字字段,整型,缺省值为0 alter table [表名] add 字 阅读全文
posted @ 2017-10-12 21:37 &慧& 阅读(12254) 评论(0) 推荐(0)
摘要: 微擎,安装总是生成版本文件失败 解决方法: 把framework目录下的version.inc.php权限改为可写 阅读全文
posted @ 2017-10-10 10:19 &慧& 阅读(933) 评论(0) 推荐(0)
摘要: ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) 1.找到配置文件my.ini ,然后将其打开,可以选择用记事本打开,在MySql安装目录下, 2. 打开后,搜索mysqld关键字 找 阅读全文
posted @ 2017-06-26 17:18 &慧& 阅读(335) 评论(0) 推荐(0)
摘要: 在BroadcastReceiver中启动Service 阅读全文
posted @ 2017-04-25 10:03 &慧& 阅读(1284) 评论(0) 推荐(0)
摘要: ⒈ mainifests中设置: android:theme="@style/AppTheme"(即默认设置). ⒉ values->styles.xml中设置: style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar". 阅读全文
posted @ 2017-04-21 17:38 &慧& 阅读(216) 评论(0) 推荐(0)
摘要: android整理 原文链接 创建一个Service: 最关键的是onStartCommand 里面返回的Service.START_STICKY, 阅读全文
posted @ 2017-04-19 12:02 &慧& 阅读(1306) 评论(0) 推荐(0)
摘要: 主要有这三行代码就可以了。 request.setCharacterEncoding("utf-8"); response.setHeader("Content-type", "text/html;charset=UTF-8"); response.setCharacterEncoding("utf 阅读全文
posted @ 2017-04-12 15:32 &慧& 阅读(8567) 评论(1) 推荐(0)