请大伙看看我的 DATAGRID绑定的句子怎么出错了?
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection myConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["OnNetBookSellConnectionString"].ConnectionString);
SqlCommand myCommand = new SqlCommand("select * from books");
SqlDataAdapter myDataAdapter = new SqlDataAdapter();
myDataAdapter.SelectCommand = myCommand;
DataSet ds = new DataSet();
myDataAdapter.Fill(ds,"table");
MyDataGrid.DataSource = ds;
MyList.DataBind();