C/S架构快速开发平台提供高级查询功能 - 自定义查询条件搜索数据
C/S架构快速开发平台提供高级查询功能 - 自定义查询条件搜索数据
C/S框架旗舰版v5.1高级搜索界面:
扫一扫加微信
库存管理-》入库单-》演示高级查询
高级搜索通用界面
BLL层实现AdvancedSearch接口:
C# Code:
public interface ISupportAdvancedSearch
{
object AdvancedSearch(string whereSQL);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
{
object AdvancedSearch(string whereSQL);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
高级查询按钮Click事件:
C# Code:
private void btnAdvSearch_Click(object sender, EventArgs e)
{
frmAdvancedSearch.Execute(gvSummary, _BLL as bllIN);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
{
frmAdvancedSearch.Execute(gvSummary, _BLL as bllIN);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
高级搜索界面的通用接口方法:Execute();
C# Code:
public class frmAdvancedSearch : frmBase
{
public static string Execute(GridView gridView, ISupportAdvancedSearch BLL);
public static string Execute(GridView summaryView, GridView detailView, ISupportAdvancedSearch BLL);
protected override void Dispose(bool disposing);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
{
public static string Execute(GridView gridView, ISupportAdvancedSearch BLL);
public static string Execute(GridView summaryView, GridView detailView, ISupportAdvancedSearch BLL);
protected override void Dispose(bool disposing);
}
//来源:C/S框架网 | www.csframework.com | QQ:23404761
扫一扫加微信
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网