自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

gengyudan的专栏

小小代码程序员,敲出大大收获量!越努力,越幸运!

  • 博客(18)
  • 资源 (3)
  • 收藏
  • 关注

原创 ASP.NET中的Form窗体的内容的画线画图形等问题

Form界面的设计:放入了2个button和1个 PictureBox,1个Openfiledialog Form.cs界面的设计: public partial class Form1 : Form    {        public Form1()        {            InitializeComponent();        }

2012-12-26 16:30:06 1560

原创 ASP.NET中的Xml的简单

string path = "D:\\test.xml";XmlTextWriter textWriter = new XmlTextWriter(path, System.Text.Encoding.UTF8);//自动缩进textWriter.Formatting = Formatting.Indented;// 开始写过程,调用WriteStartDocument方法te

2012-12-25 17:56:20 486

原创 Xml基础

1、XmlReader可以对Xml文档进行快速的、只向前的只读访问;可以使用两种方式来创建XmlReader对象:一种是使用其子类如XmlTextReader和XmlNodeReader类,第二种是使用XmlReader类的Create方法创建对象。实例:aspx的设计:books.xmlaspx.cs的设计public partial

2012-12-24 21:00:54 332

原创 在ASP.NET高级中运用repeater控件来实现禁用与启用。

1、前台设计:                                onitemcommand="Repeater1_ItemCommand">        姓名性别年龄照片禁启用                                        '/>

2012-12-20 08:50:28 1087

原创 在ASP.NET高级中运用DataList使用存储过程实现分页

1、前台设计:                                 oncancelcommand="DataList1_CancelCommand"             ondeletecommand="DataList1_DeleteCommand" oneditcommand="DataList1_EditCommand"

2012-12-20 08:48:28 544

原创 ASP.NET高级里面的repeater控件的应用实现样式设置,并添加删除按钮

1、前台设计:            .center    {text-align:center;        }     .big_img img     {        border:1px solid #ccc;         width:100px;        height:100px;         }      .big_

2012-12-20 08:15:43 5951

原创 ASP.NET来实现全选和全不选功能

运用GridView控件和SqlDataSource数据源来实现其功能 1、前台设计:    function chage(sender) {        var table = document.getElementById("GridView1");        for (var i = 1; i             table.rows[i].cells[

2012-12-18 19:40:49 2629

原创 ASP.NET中运用DataList控件来实现编辑、更新、删除、取消等功能

1、前台设计             .style2        {            width: 67px;        }                                    onitemcommand="DataList2_ItemCommand"             oncancelcommand=

2012-12-18 19:20:36 6070

原创 ASP.NET中的阶乘的使用

1、首页的设计:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">                              !            style="height: 21px" Text="=" />

2012-12-17 19:30:05 1253

原创 ASP.NET中的TreeView控件的使用

1、首先建立一个Default.aspx的主页面,再建立一个站点地图:Web.sitemap2、Default.aspx的主页面的设计http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">

2012-12-17 17:20:45 670

原创 ASP.NET中的Menu控件的应用

1、首先建立一个Default.aspx的主页面,再建立一个站点地图:Web.sitemap2、Default.aspx的主页面的设计http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">

2012-12-17 17:16:05 2422

原创 ASP.NET高级中的SiteMapPath控件的使用

1、首先建立一个Default.aspx的主页,后面则是建立一个站点地图:Web.sitemap,最后建立相关的叶子2、Default.aspx的主页的设计http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">

2012-12-17 17:09:07 5396

原创 GridView实现分页的两种方法

前台设计:                                 ConflictDetection="CompareAllValues"             ConnectionString=""             DeleteCommand="DELETE FROM [student] WHERE [sid] = @original_si

2012-12-10 09:47:28 888 1

原创 GridView控件实现分页

当GridView中显示的记录很多的时候,可以通过GridView的分页功能来分页显示这些记录。如果GridView是直接绑定数据库,则很简单:只要点击GridView空间左上角的小三角形,再弹出的选项中,将"启动分页"打上勾即可。如果是用代码实现,则需要这么做:1、允许分页:设置AllowPaging=True;2、设置GridView属性栏中PagerSetting里的一些属性

2012-12-10 09:41:48 3043

原创 利用GridView控件实现分页效果

前台设计                                ConflictDetection="CompareAllValues"             ConnectionString=""             DeleteCommand="DELETE FROM [student] WHERE [sid] = @original_sid AN

2012-12-06 20:30:39 528

原创 运用GirdView控件进行弹出提示性的删除框

CLASS的前台设计                                AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="sid"             DataSourceID="SqlDataSource1" Xonrowcommand="GridView1_RowCommand

2012-12-05 21:27:57 513

原创 写一个类的方法并在objectDataSource中应用

SelectMethod="GetStudent" TypeName="_12_3调用.objectfsfs.student"             DeleteMethod="DeleteStudent" UpdateMethod="UpDateStudent"             DataObjectTypeName="_12_3调用.objectfsfs.student"

2012-12-04 20:51:50 501

原创 运用三层架构来输入学生id使年龄加1

Bll的设计:MyStudentBllusing System;using System.Collections.Generic;using System.Linq;using System.Web;using sancenjiagou.sancengjia.DAL;namespace sancenjiagou.sancengjia.Bll{    public c

2012-12-03 21:08:40 489

三层架构实现全选、反选以及多项删除

这是三层架构实现全选反选以及多项删除等功能的实现

2013-04-23

Jquery实现全选和反选功能

这是Jquery的全选和反选功能的实现,并且在全选时能改变成取消全选

2013-04-22

三层架构实现注册功能

利用三层架构和SqlServer数据库来实现注册功能

2013-04-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除