上一页 1 2 3 4 5 6 ··· 11 下一页
  2013年10月30日
摘要: 实现如图效果 图片将自动转换鼠标指向右边的图片在左边的大图位置显示相应的图片 无标题文档 //这些文字是在图片左下角显示的文字 真漂亮 好看 色彩斑斓 温馨 ... 阅读全文
posted @ 2013-10-30 18:44 小菜鸟—— 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 实现如图效果上一篇:select top 1 * from Table where idid 阅读全文
posted @ 2013-10-30 18:42 小菜鸟—— 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 在Web.config中写: ~/index.html //索要更改的页面 ~/index.aspx //没有参数的情况下 ~/Help/newPro(\d*)\.html // (\d*) 表示参数 ~/Help/newPro.aspx?pNum=$1 //有一个参数的情况下 ~/Help/AboutJiangHujia(\d*)_(\d*)\.html //有多个参数的情况下 这样... 阅读全文
posted @ 2013-10-30 18:41 小菜鸟—— 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 先定义一个缓存变量int cacheMinute = int.Parse(System.Web.Configuration.WebConfigurationManager.AppSettings["ModelCache"]); //缓存时间(分钟) 在需要设置缓存的上边写红色代码 string cacheKey = "kdp-newPro-" + pNum; object objCache = clsUtility.GetCache(cacheKey); if (objCache == null) { string sort = "... 阅读全文
posted @ 2013-10-30 18:39 小菜鸟—— 阅读(165) 评论(0) 推荐(0) 编辑
  2013年9月6日
摘要: alter proc updateStudent@id int,@id2 intasdeclare @SchoolID intdeclare @ClassID intdeclare @StudentID intdeclare @IDNumber intdeclare @IDAAA intbegindeclare FeeInsertStudent cursor forselect stuID,SchID,ClasID from T_School where ID=@idopen FeeInsertStudentfetch next from FeeInsertStudent into @Scho 阅读全文
posted @ 2013-09-06 15:03 小菜鸟—— 阅读(507) 评论(0) 推荐(0) 编辑
摘要: --创建数据库create proc InsertStudentas--定义所需要的变量declare @SchoolID intdeclare @ClassID intdeclare @StudentID intdeclare @IDNumber int --条件判断时需要begin--创建游标declare FeeInsertStudent cursor forselect stuID,SchID,ClasID from T_School--打开游标open FeeInsertStudent--从游标里取出数据给 变量 赋值fetch next from FeeInsertStudent 阅读全文
posted @ 2013-09-06 15:00 小菜鸟—— 阅读(1042) 评论(0) 推荐(0) 编辑
  2013年8月30日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web;namespace DigitalCampus.Web.Common { public class PageFuntion { /// /// 分页 /// /// 数据总数 /// 每页显示数据数 /// 当前页码 /// 传参 /// 页面 /// public static string GetStrPage(int DataCount, int pageSize, int CurrentPa... 阅读全文
posted @ 2013-08-30 14:30 小菜鸟—— 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 弹出层中再弹出一层如图: 弹出层中的一个文本框,点击文本框显示相应的信息弹出层#region 第二个弹出层 #endregion 阅读全文
posted @ 2013-08-30 11:19 小菜鸟—— 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 内容显示页:protected void btnIMP_Click(object sender, EventArgs e) { Response.Redirect("导入页.aspx?backurl=" + DESEncrypt.Encrypt(iurl)); }aspx: >记录信息导入 批量导入记录信息模板下载:【批量导入记录信息模板】 选择文件: aspx.cs: prot... 阅读全文
posted @ 2013-08-30 10:39 小菜鸟—— 阅读(395) 评论(0) 推荐(0) 编辑
  2013年8月29日
摘要: 要导出页的前台: 后台: protected void btnSearch_Click(object sender, EventArgs e) { Response.Redirect("Export.aspx?uname=" + txtUNameS.Text + "&dep=" + this.ddlDepS.SelectedValue + "&class=" + this.ddlClassS.SelectedValue + "&iyear=" + this.ddlYearS.Selected 阅读全文
posted @ 2013-08-29 14:56 小菜鸟—— 阅读(507) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页