带编辑的下拉框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
相关文档:
//使用验证方法
if (!InputValidator(txt.Text.Trim()))
{
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myScript", "alert('\"文本框\"输入了非法字符或输入超长!');", t ......
这次在项目中,用到了大文件上传,要上传的文件有100多m,于是研究现在国内使用的大文件上传的
组件发现用的比较多的有两个控件AspnetUpload 2.0和Lion.Web.UpLoadModule,另外还有思归在它的博
客堂中所说的办法 http://blog.joycode.com/saucer/archive/2004/03/16/16225.aspx
两个控件的方法是:利用隐含的HttpWork ......
public static string GetCustomerCName(ref ArrayList arrayCName,ref ArrayList arrayID)
{
SqlConnection con=ADConnection.createConnection();
  ......
条形图和饼图是都要调用数据库 而折线图则是直接显示不用调用数据库
打开vs 工具 分别创建三中图形的类 (BarChart、PieChart、zexian)ChartUtil类控制颜色
再建一个aspx 文件在后置文件中调用这个几个类中的方法 本文章中有调用
using System;
using System.Collections.Generic;
using System.Linq;
using System ......