string sql = "select * from Users where UserName like ‘%‘[email protected]+‘%‘ or UserID like ‘%‘[email protected]+‘%‘"; SqlParameter[] p = { new SqlParameter("@UserName", txt), new SqlParameter("@UserID", txt),}; DataTable dt = SQLHelper.ExecuteDataTable(sql, p); Repeater1.DataSource = dt; Repeater1.DataBind();