上一页 1 ··· 4 5 6 7 8
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->CREATE PROCEDURE sp_page @strTable varchar(50), --表名 @strColumn varchar(50)... 阅读全文
posted @ 2009-02-25 13:07 三颗屎 阅读(179) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO /* 分页排序存储过程 V1.0 */ ALTER procedure [dbo].[sp_KeyPag... 阅读全文
posted @ 2009-02-25 13:05 三颗屎 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1、数据绑定的问题:当DataGridView的DataSource绑定的为DataTable时,当DataTable的内容发生改变时,DataGridView中的内容会自动跟随DataTable改变而不用重新绑定数据源;而把List绑定到DataGridView则不然,当List的内容发生改变是,需要先设置DataGridView的DataSource属性为new List(),然后再把作过改动... 阅读全文
posted @ 2009-02-20 15:33 三颗屎 阅读(2605) 评论(3) 推荐(0) 编辑
摘要: 写了一个DataTable数据源的 dropdownlist ID:AreaSource public partial class _Default : System.Web.UI.Page{ DataView dv; /// /// 层次分割符 /// const string STR_TREENODE = "┆┄"; /// /// 顶级父节... 阅读全文
posted @ 2009-02-16 11:48 三颗屎 阅读(404) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 网络文件夹 选择功能 上传限制 上传文件 管理文件 ... 阅读全文
posted @ 2009-01-17 17:24 三颗屎 阅读(575) 评论(2) 推荐(2) 编辑
摘要: //查詢按鈕protected void btnQue_Click(object sender, EventArgs e) {this.tableInfo.Visible = true;SqlConnection sqlconn = new SqlConnection("server=localhost;database=db;uid=uid;pwd=pwd;");sqlconn.Open();S... 阅读全文
posted @ 2009-01-15 12:58 三颗屎 阅读(284) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//来自MSDN ASP.NET Repeater Example ... 阅读全文
posted @ 2009-01-09 12:24 三颗屎 阅读(199) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//1 使用REPEATER控件显示数据(指定字段显示)RepeaterBind.DataSource = ds.Tables["testTable"]; RepeaterBind.Da... 阅读全文
posted @ 2009-01-09 12:12 三颗屎 阅读(358) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8