getusersbypretext.cs

来自「OA系统源码 办公应用软件源码 asp.net 开发」· CS 代码 · 共 36 行

CS
36
字号
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using MyOffice.BLL;
using MyOffice.Models;


/// <summary>
/// GetUsersByPreText 的摘要说明
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService()]
public class GetUsersByPreText : System.Web.Services.WebService
{

    public GetUsersByPreText()
    {

        //如果使用设计的组件,请取消注释以下行 
        //InitializeComponent(); 
    }

    [WebMethod]
    public string[] GetUsers(string prefixText, int count)
    {
        //模糊查询所有符合条件的用户名
        return companyBLL.GetUsersByPreText(prefixText,count);
        
    } 

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?