http://www.ymlove.com/websearch/
有下载!

解决方案 »

  1.   

    关注!中间插播广告:)
    http://www.ymlove.com/websearchWebSearch 自定义控件 For ASP.NET
    版权所有(C) [email protected]
    http://www.ymlove.com/websearch/----------------------------
    1. 产品说明
    WebSearch控件有助于.net程序员开发数据库软件的搜索工作。
    在代码中简单的设置相应的数据库字段后,本控件可以自动生成搜索需要的界面,并可以根据搜索界面操作的结果生成相应的SQL条件语句。
    真正让开发人员省时、省心。----------------------------
      

  2.   

    这也可以卖钱?????????????????Server Error in '/' Application.
    --------------------------------------------------------------------------------Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
    [HttpException (0x80004005): Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount.]
       System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) +2117
       System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49
       System.Web.UI.WebControls.BaseDataList.DataBind() +23
       System.Web.UI.Control.DataBind() +86
       System.Web.UI.Control.DataBind() +86
       MM868.Demo2.LoadData() in D:\OnBuild\ymlove\WebSearch\Demo2.aspx.vb:133
       MM868.Demo2.Page_Load(Object sender, EventArgs e) in D:\OnBuild\ymlove\WebSearch\Demo2.aspx.vb:30
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +731 明显也是初学者,何必呢,不如共享,大家讨论,需要改进的地方太多,比如,删除中间的条件怎么办?and 和or的条件之间组合关系?
      

  3.   

    有个缺陷,就是当你在搜索照片数量的时候应该是必须输入数字的,但现在可以输入非数字以至程序出错,建议做一个try在相关的地方
      

  4.   

    看看。
    ///*********************************************
    ///欢迎使用ASPX控件,Http://www.aspxcontrol.com
    ///*********************************************