摘要: 如题 阅读全文
posted @ 2017-09-28 09:35 狰狞蛋子 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 0) { $where=' and '.implode(' and ',$wherelist); $url='&'.implode('&',$urllist); } //分页的实现原理 //1.获取数据表中总记录数 $sql="select * from menu_message,menu_type where menu_message.typeid=menu_... 阅读全文
posted @ 2017-03-31 14:06 狰狞蛋子 阅读(292) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#inlcude <time.h>int main(){ srand(time(0)); int number=rand()%100+1; int count=0,a=0; printf("请开始猜数:"); do{ scan 阅读全文
posted @ 2016-04-21 13:51 狰狞蛋子 阅读(563) 评论(0) 推荐(1) 编辑
摘要: 在where 后添加1=1 再添加and 这样就不用判断条件是否只有一个成立。 阅读全文
posted @ 2014-10-17 17:17 狰狞蛋子 阅读(100) 评论(0) 推荐(0) 编辑
摘要: strings="1234567";stringlast6chars=newstring(s.Reverse().Take(6).Reverse().ToArray());//先反转顺序,从开头截取指定数量的字符,再反转顺序 阅读全文
posted @ 2014-05-05 18:00 狰狞蛋子 阅读(481) 评论(0) 推荐(0) 编辑
摘要: protected void rdbCheck_CheckedChanged(object sender, EventArgs e) { for (int i = 0; i < this.dgvUserGrouopList.Rows.Count; i++) { ... 阅读全文
posted @ 2014-04-24 23:48 狰狞蛋子 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-22 16:04 狰狞蛋子 阅读(158) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE [dbo].[ProcAddTeacherInfo](@UN varchar(50),@TN nvarchar(50),@TT varchar(50),@TE varchar(50),@TG bit,@szm varchar(50))ASBEGINif not ex... 阅读全文
posted @ 2014-04-14 22:24 狰狞蛋子 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 向函数的定义中插入"use strict指令,解析器会使用更严格的规则执行脚本 function getFamilyMemberName(){ "use strict"; ...} 阅读全文
posted @ 2014-04-10 14:49 狰狞蛋子 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 添加三个dropdownlist 后台代码 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { this.bindAcaData(); } } private void bindAcaData()//绑定学院 { AcadamyBLL ab = new AcadamyBLL(); ... 阅读全文
posted @ 2014-04-03 20:40 狰狞蛋子 阅读(229) 评论(0) 推荐(0) 编辑