自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (4)
  • 收藏
  • 关注

原创 aspnetpager控件的绑定

public partial class DisciplineTeamInfo : System.Web.UI.Page     {         DAL.DisciplineTeamInfo da = new DAL.DisciplineTeamInfo();         protected void Page_Init(object sender, EventArgs e)

2012-11-12 12:05:10 334

原创 下拉列表等控件默认值的设置

DAL.ExpertTypeInfo dc1 = new DAL.ExpertTypeInfo();             DataSet ds2 = dc1.GetAll();             drp_ExpertType.DataSource = ds2.Tables[0].DefaultView;             drp_ExpertType.DataTextFiel

2012-11-12 12:04:14 857

原创 radiobuttonlist控件使用

获取值 mod.IsExecllentTutor =Convert.ToBoolean(IsExecllentTutor.SelectedValue.ToString());

2012-11-12 12:03:35 434

原创 my97日期控件的使用

控件的引用 控件的添加             CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"> 获取控件值  mod.TitelTime = Convert.ToDateTime(cld_TitelTime.Text);

2012-11-12 12:02:57 349

原创 Init方法

load每次都执行,Init只执行一次,添加修改,删除要用Init方法

2012-11-12 12:02:20 307

原创 sql server中的存储过程代码

字段名用变量表示的存储过程代码 执行动态查询一定要用exec(“sql”)执行, if @zx='selid' begin declare @sql varchar(400)   exec('select Id,DisciplineName,DisciplineType,DisciplineGrade,ContructGrade=(select ContructGrade from Di

2012-11-12 12:01:37 324

原创 dal中执行存储过程

如实例      public bool add(M.DisciplineContructGradeInfo mod)        {            SqlParameter[] para ={                              new SqlParameter("@zx","insert"),                new SqlPara

2012-11-12 12:00:38 649

原创 droplist绑定与显示

在databindings的text属性中 写入Eval("数据库的字段名") 执行删除时,用linkbutton事件的command事件,也就是冒泡事件,无法获得前台准确id的值,在databinding 的commandArgument的自定义绑定,写入Eval("id") 在后台用传入id值语句为  mod.Id = Convert.ToString(e.CommandArgume

2012-11-12 12:00:03 500

原创 droplist绑定与显示

将信息表指定id的类别读出,赋值给  ContructGrade (类别为类别表对应类别的id值) DAL.DisciplineInfo da = new DAL.DisciplineInfo();             DataSet ds = da.GetAll(id, "selid", "Id"); ContructGrade = ds.Tables[0].Rows[0][4].To

2012-11-12 11:58:56 663

转载 RevealTrans.js

var isIE = (document.all) ? true : false; var $ = function (id) {  return "string" == typeof id ? document.getElementById(id) : id; }; var Class = {  create: function() {   return function() { t

2012-10-24 18:57:40 523

转载 dreamweaver网页分页

.container{  width:600px;  height:314px;  border:1px solid #eee;  position:relative; } #idNum{ position:absolute; right:5px; bottom:5px;} #idNum li{  float: left;  list-style:none;  color: #

2012-10-24 18:56:47 1249

DotNetBar v10.0.0.3加教程可在vs2010中使用

经测试可在vs2010中使用,另附完整教程

2013-01-20

魔幻皮肤特效(共26个)

一个自动更换皮肤的小软件,另外附有26个皮肤,程序需改下默认路径

2013-01-20

70个皮肤+控件+例子+使用方法+皮肤制作工具

收集多天的资源,关于皮肤需要用到的,基本都包括了。

2013-01-20

asp.net简单的三层留言本系统

一个三层的留言本系统,简单易懂,适合学习

2013-01-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除