protected void Page_Load(object sender, EventArgs e) { sqlHelper hlp = new sqlHelper(); string strSql = "Select categoryID, categoryName from Categories"; gvExecuteSql.DataSource = hlp.executeSQL(strSql); gvExecuteSql.DataBind(); }