示例#1
0
        public List <UserLoginDataModel> GetListByUserName(string value)
        {
            var dataQuery = new UserLoginDataModel();

            dataQuery.UserName = JsonConvert.DeserializeObject(value).ToString();

            return(UserLoginMongoDbDataManager.GetList(dataQuery, SessionVariables.RequestProfile));
        }
示例#2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtUserName.Text))
            {
                var userdata = UserLoginMongoDbDataManager.GetList();

                gridUserLogin.DataSource = userdata;
                gridUserLogin.DataBind();
            }
        }
示例#3
0
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            var data = new Framework.Components.LogAndTrace.UserLoginDataModel();

            data.UserName = txtUserName.Text;

            var userdata = UserLoginMongoDbDataManager.GetList(data, SessionVariables.RequestProfile);

            gridUserLogin.DataSource = userdata;
            gridUserLogin.DataBind();
        }
示例#4
0
 protected void lnkUserLogin_Click(object sender, EventArgs e)
 {
     gridUserLogin.DataSource = UserLoginMongoDbDataManager.GetList();
     gridUserLogin.DataBind();
 }
示例#5
0
 // GET api/summary/GetList
 public List <UserLoginDataModel> GetList()
 {
     return(UserLoginMongoDbDataManager.GetList());
 }