- 博客(11)
- 收藏
- 关注
原创 存储过程
--后台代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.
2013-03-11 20:07:22
835
原创 在昨天作业的基础上添加 :删除按钮,修改并保存按钮 和 添加按钮。完成这些按钮所对应的功能(XmlDocument)。
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace XML1{ public partia
2012-12-21 19:23:31
819
原创 XML --- 使用XlmReader读books.xml中有几本书。使用XlmWriter写NewBooks.xml文件。
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace XML1{ public partia
2012-12-20 22:00:47
405
原创 写student类中的select,delete,update,insert方法并在objectDataSource中应用(分别写两个,一个返回datatable,一个使用list)
public DataTable StudentsSelect() { string sql = "select sid,sname,sex,age,photo from student"; return sqlHealpler.sqlHealper.ExecuteTable(sql); }
2012-12-05 21:26:07
484
原创 生日之作-孤独的程序员有数据相伴(数据库的导入导出)
今天是我的生日,不过我没有出去玩,在教室里专心写作业。今天我是特别的认真,因为我已经20周岁了,好好学习。using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;
2012-11-27 19:58:38
364
原创 游标的使用
---使用游标---1游标的定义--(1)定义declare cur_MyStudent cursor fast_forwordfor select * from MyStudent --基于返回一个结果集--(2)打开open cur_MyStudent --(3)操作fetch next from cur_MyStudentwhile @@fetch_sta
2012-11-14 21:02:19
322
原创 SQL数据查询
--1 获取MyStudents表中年龄最大的前5个人,和前20%select top 5 * from Mystudent order by MysAge Desc select top 20 percent * from Mystudent order by MysAge Desc--2 获取当前时间select GETDATE() as 当前时间select CONVER
2012-11-07 14:16:15
473
原创 MultiView和View
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">
2012-09-25 21:39:01
566
原创 ASP.NET控件
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace _25zuoye{ public partial class _99乘法 :
2012-09-25 21:37:34
334
原创 ASP.NET
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> 个人信息维护
2012-09-19 20:23:45
355
原创 委托与事件——我的第一篇博客
今天学习了委托与事件,一中午的时间,班里的教学设备很不给力,不过同学们还是学的很积极,哎呀,不说那么多话了,赶紧进入知识的海洋吧。 在C#中,委托(delegate)是一种引用类型,在其他语言中,与委托最接近的是函数指针,但委托不仅存储对方法入口点的引用,还存储对用于调用方法的对象实例的引用。简单的讲委托(delegate)是一种类型安全的函数指针。建立委托(delegate),
2012-09-06 17:08:19
361
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人