易截截图软件、单文件、免安装、纯绿色、仅160KB

带编辑的下拉框asp.net

修改了从:http://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html的一批文章 生成了可以在Gridview里面调用的CombBox控件,是基于Ajax的。
    独立使用使用方式():  <Com:ComboBox ID="ComboBox2" runat="server" Independent="true"  Width="80px" EnableViewState="true">
                    </Com:ComboBox>
在Gridview使用方式():  <Com:ComboBox ID="ComboBox2" runat="server" Independent="false"  Width="80px" EnableViewState="true" DataArg='<%Eval("编号") %>'>
                    </Com:ComboBox>
using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Collections;
using System.Web.UI.Design;
[assembly: TagPrefix("Com", "Com")]
namespace Com
{
    /// <summary>
    /// Represents a control that allows the user to select a single item from a drop-down list,
    /// or type in a new value that is not in the list.
    /// </summary>
    /// <remarks>
    /// Since the ComboBox control inherits from <see cref="System.Web.UI.WebControls.ListBox"/>,
    /// you can use it in exactly the same manner (including DataBinding).
    /// For older browsers that do not support the functionality required to render this control,
    /// a normal dropdown box will be emitted instead.
    /// </remarks>
    [ToolboxData("<{0}:ComboBox runat=\"server\"></{0}:ComboBox>")]
    [ValidationPropertyAttribute("SelectedValue")]
    [Designer(typeof(Com.ComboBoxDesigner))]
 &nbs


相关文档:

ASP.NET生成随机密码

ASP.NET生成随机密码
在开发需要用户注册后才能使用提供的各项功能的应用程序时,在新用户提交注册信息后,较常见的做法是由程序生成随机密码,然后发送密码到用户注册时填写的电子信箱,用户再用收到的密码来激活其帐户。
实现ASP.NET生成随机密码功能是很容易的,下面的代码给出了完整的实现方法:
public static stri ......

MVC之模型层(附上asp.net的mvc结构)

 MVC系统中的模型从概念上可以分为两类――系统的内部状态和改变系统状态的动作。模型是你所有的商业逻辑代码片段所在。本文为模型提供了业务实体对象
和业务处理对象:所有的业务处理对象都是从ProcessBase类派生的子类。业务处理对象封装了具体的处理逻辑,调用业务逻辑模型,并且把响应提交到
合适的视图组件以产生响 ......

Asp.net 画图(条形图、折线图、饼图)

条形图和饼图是都要调用数据库 而折线图则是直接显示不用调用数据库
打开vs 工具 分别创建三中图形的类 (BarChart、PieChart、zexian)ChartUtil类控制颜色
再建一个aspx 文件在后置文件中调用这个几个类中的方法 本文章中有调用
using System;
using System.Collections.Generic;
using System.Linq;
using System ......

ASP.NET批量上传excel数据到数据库MySql

aspx页面
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="customin.aspx.cs" Inherits="kf_customin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ......

学习asp.net比较完整的流程 (对初学者有很好的帮助)

如果你已经有较多的面向对象开发经验,跳过以下这两步:
  第一步 掌握一门.NET面向对象语言,C#或VB.NET 我强烈反对在没系统学过一门面向对象(OO)语言的前提下去学ASP.NET。 ASP.NET是一个全面向对象的技术,不懂OO,那绝对学不下去!
  第二步 对.NET Framework类库有一定的了解 可以通过开发Windows Form应用程 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号