摘要: 1、添加--数据集-添加tableadapter。 2、添加-objectdatasource。 阅读全文
posted @ 2013-03-10 18:51 侯伟东 阅读(174) 评论(0) 推荐(0) 编辑
摘要: <asp:HyperLinkField DataNavigateUrlFields="id,address" DataNavigateUrlFormatString="list.aspx?id={0}&amp;add={1}" HeaderText="简单链接" Text="简单链接" /> -----... 阅读全文
posted @ 2013-03-10 09:46 侯伟东 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 一、安装。 a 全部选中 i 开始安装 y 是否删除硬盘里所有数据 一般选Y n 是否保存原有数据(否) 一般选N ....... 重启 ....... admin 密码空 ....... 二、设置。 0、用winbox进入,搜索到mac。 1、用户:admin 密码:空。 2、有并且流量比较大的就定位lan,流量小的定位wan。 ... 阅读全文
posted @ 2013-03-09 18:11 侯伟东 阅读(452) 评论(0) 推荐(0) 编辑
摘要: database.Fill(ds, "picsave"); DataRowView drv = ds.Tables["picsave"].DefaultView[0]; TextBox1.Text = drv.Row["username"].ToString(); TextBox2.Text = Convert.... 阅读全文
posted @ 2013-03-06 20:53 侯伟东 阅读(132) 评论(0) 推荐(0) 编辑
摘要: public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { bind(); ... 阅读全文
posted @ 2013-03-06 20:52 侯伟东 阅读(115) 评论(0) 推荐(0) 编辑
摘要: protected void Button1_Click(object sender, EventArgs e) { float aa = Convert.ToSingle(TextBox1.Text); float bb = Convert.ToSingle(TextBox2.Text); if (CheckBox1.Chec... 阅读全文
posted @ 2013-03-06 17:18 侯伟东 阅读(249) 评论(0) 推荐(0) 编辑
摘要: Response.Write("<script language=javascript>alert('相同');location='javascript:history.go(-1)'</script>"); 阅读全文
posted @ 2013-03-04 16:54 侯伟东 阅读(297) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.... 阅读全文
posted @ 2013-02-25 17:21 侯伟东 阅读(212) 评论(0) 推荐(0) 编辑
摘要: ds.Tables[0].Rows[0]["c5"] 阅读全文
posted @ 2013-02-25 15:42 侯伟东 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 电子表格: string conn = "Provider=Microsoft.jet.OLEDB.4.0;Data Source=" + Server.MapPath("book1.xls") + ";Extended Properties=Excel 8.0;"; OleDbConnection oleconn = new OleDbConnection(conn); OleDbConnection conn = new OleDbConnection("provider=Microsoft.jet.oledb.4.0; 阅读全文
posted @ 2013-02-24 20:18 侯伟东 阅读(189) 评论(0) 推荐(0) 编辑