会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuyuduen
博客园
首页
新随笔
联系
订阅
管理
2017年5月12日
页面置顶js
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2017-05-12 10:02 花开见我
阅读(1)
评论(0)
推荐(0)
2014年6月27日
ASP.NET知识点
摘要: 页面的组成--aspx:界面--aspx.cs:代码页面文件之间的关联Page指令--CodeFile:后台代码文件--Inherits:继承(基类)页面的生命周期--Init:初始化--Load:加载事件--Control Event:控件事件--PreRender:预呈现--UnLoad:卸载I...
阅读全文
posted @ 2014-06-27 22:00 花开见我
阅读(201)
评论(0)
推荐(0)
事件和委托
摘要: 委托:对方法的绑定事件和委托的步骤1.定义委托public delegate 返回值 委托名(参数);2.基于委托定义事件public event 委托名 事件名;3.注册事件对象.事件名 += new 委托(方法);4.触发事件 先检查事件是否有人注册,有则触发 if (事件名 != null...
阅读全文
posted @ 2014-06-27 21:55 花开见我
阅读(127)
评论(0)
推荐(0)
服务器控件生命周期
摘要: 服务器控件生命周期
阅读全文
posted @ 2014-06-27 21:49 花开见我
阅读(195)
评论(0)
推荐(0)
XML读写
摘要: private string fileName = HttpContext.Current.Server.MapPath("~/Student.xml");protected void Page_Load(object sender, EventArgs e){if (!IsPostBack){Ge...
阅读全文
posted @ 2014-06-27 21:48 花开见我
阅读(159)
评论(0)
推荐(0)
ListHelper
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Reflection;namespace Data_Helper{ ...
阅读全文
posted @ 2014-06-27 21:44 花开见我
阅读(315)
评论(0)
推荐(0)
SqlHelper
摘要: using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;using System.Linq;using System....
阅读全文
posted @ 2014-06-27 21:43 花开见我
阅读(248)
评论(0)
推荐(0)
ADO.NET程序访问数据的组件
摘要: 组成--数据集(内存中的数据库) --DataSet数据集 --DataTable数据表 --DataColumn数据列 --DataRow数据行 --DataView数据视图--NET数据提供程序 --Connection连接(程序和数据库之间的桥梁) --Open/...
阅读全文
posted @ 2014-06-27 21:37 花开见我
阅读(286)
评论(0)
推荐(0)
使用DataReader读取数据
摘要: List allUsers = new List();SqlConnection conn = new SqlConnection(连接字符串);SqlCommand cmd = new SqlCommand("SELECT语句",conn);conn.Open();using(SqlDataRea...
阅读全文
posted @ 2014-06-27 21:35 花开见我
阅读(314)
评论(0)
推荐(0)
读取Excel
摘要: // 产生连接字符串string connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=student.xls;"+ "Extended Properties='Excel 8.0;HDR=YES;IMEX=1'";// 定义SQLst...
阅读全文
posted @ 2014-06-27 21:32 花开见我
阅读(164)
评论(0)
推荐(0)
下一页
公告