Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string search = Request.QueryString["search"];
            var    user   = new User();

            try
            {
                GridViewSearch.DataSource = user.searchUser(search);
                GridViewSearch.DataBind();
            }
            catch (SqlException)
            {
            }
        }