易截截图软件、单文件、免安装、纯绿色、仅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]数据库连接字符串大全(转)

SQL服务器 ODBC连接方式
标准安全连接
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
信任连接
Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Trusted_Connection=Yes;
提示输入用户名和密码方式
这个有一点问题,首先你需要设置一个Pro ......

导出数据到excel 中报没有给asp.net 授权

解决方法: 
运行 键入:dcomcnfg.exe  回车
 打开  组建服务->计算机-> 我的电脑->DCOM 配置 -> Microsoft Excel 应用程序 属性 1.标识改为交互式用户
2. 在安全下 启动和激活权限、访问权限、配置权限  几个中选中自定义 编辑 添加 高级 立即查找 选中下列框中的 ASPNET 点击确定
......

部署ASP.NET访问oracle提示找不oracle客户端组件问题

前两天将自己本机器中的ASP.NET应用部署到了服务器上,结果出现了些问题.折腾了两天才搞清楚.
首先发现安装.NET3.5时候需要连接Internet,(其实安装包完整的离线安装包)而服务器是内部网络的,每办法只能安装一个VS2008上去,真不明白为何安装VS时候dotNetFramework又不需要连接Internet了.
后来发现在本机器没有问题的应用部 ......

学习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号