上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: //根据按钮属性,进行操作 protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Insert" && Page.IsValid) { BluePrintDataSou... 阅读全文
posted @ 2007-12-31 01:57 Fernando 阅读(1941) 评论(3) 推荐(0) 编辑
摘要: if ((e.Row.RowState & DataControlRowState.Edit) == DataControlRowState.Edit) 阅读全文
posted @ 2007-12-30 22:39 Fernando 阅读(679) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Insert data in Gridview ... 阅读全文
posted @ 2007-12-30 00:41 Fernando 阅读(2372) 评论(0) 推荐(0) 编辑
摘要: //正常换行 GridView1.Attributes.Add("style", "word-break:keep-all;word-wrap:normal"); //下面这行是自动换行 GridView1.Attributes.Add("style", "word-break:break-all;word-wrap:break-wo... 阅读全文
posted @ 2007-12-29 17:12 Fernando 阅读(1365) 评论(0) 推荐(0) 编辑
摘要: 这个例子是用JS脚本控制并列DIV的高度,通常在DIV布局中,自适应高度一直是比较头疼的问题,一般大都采用背景图、外套DIV、右栏覆盖左栏来解决。现在加了脚本后,简单多了,假如有三个水平并列的DIV,fbox、mbox、sbox,只要在标签中写入:onload="P7_equalCols('fbox','mbox','sbox')",测试条件:ie5.x、ie6.0、FF1.03、NS7.2、op... 阅读全文
posted @ 2007-12-29 15:25 Fernando 阅读(1294) 评论(0) 推荐(0) 编辑
摘要: 如果我们想在3列布局的最后加一行页脚,放版权之类的信息。就遇到必须对齐3列底部的问题。在table布局中,我们用大表格嵌套小表格的方法,可以很方便对齐三列;而用div布局,三列独立分散,内容高低不同,就很难对齐。其实我们完全可以嵌套div,把三列放进一个div中,就做到了底部对齐。下面是实现例子(白色背景框模拟一个页面): body 这里是#header{ margin: 0px; border:... 阅读全文
posted @ 2007-12-29 15:22 Fernando 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Hi Paula, You can assign the ID for each row in the GridView via the sample code below. The code belows will give each row a unique ID from a global variable. Dim intGRID as Integer = 1 'Global decl... 阅读全文
posted @ 2007-12-29 11:37 Fernando 阅读(1007) 评论(3) 推荐(0) 编辑
摘要: Response.Redirect(HttpContext.Current.Request.Url.ToString()); 阅读全文
posted @ 2007-12-28 15:00 Fernando 阅读(606) 评论(0) 推荐(0) 编辑
摘要: Introduction As developers creating data-driven Web applications, we've all written more than our fair share of SQL statements. If I had a nickel for every SELECT statement or UPDATE statement I've wr... 阅读全文
posted @ 2007-12-25 12:08 Fernando 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 导言 01 创建一个数据访问层(思归呓语) 02 创建一个业务逻辑层(Reeezak) 03 母板页和站点导航(横刀天笑) 基本报表 04 使用ObjectDataSource展现数据(Eddie005) 05 声明参数(Eddie005) 06 编程设置ObjectDataSource的参数值(Eddie005) 主/从 07 使用DropDownList过滤的主/从报表(立冬) 0... 阅读全文
posted @ 2007-12-25 10:23 Fernando 阅读(350) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页