呼叫功能搜索用户姓名
This commit is contained in:
		
							parent
							
								
									4bf9e4b80d
								
							
						
					
					
						commit
						a1c714e427
					
				| 
						 | 
				
			
			@ -53,6 +53,10 @@ namespace FineUIPro.Web.ProjectData
 | 
			
		|||
            List<SqlParameter> listStr = new List<SqlParameter>();
 | 
			
		||||
            listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
 | 
			
		||||
 | 
			
		||||
            if (!string.IsNullOrEmpty(txtUserName.Text))
 | 
			
		||||
            {
 | 
			
		||||
                strSql+= " and Users.UserName like '%"+ txtUserName.Text + "%' ";
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            SqlParameter[] parameter = listStr.ToArray();
 | 
			
		||||
            DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue