DIEA
using System.Data.SqlClient;SqlConnection cn = new SqlConnection("data source=(local);initial catalog=database_breakfast;user=sa;pwd=");SqlCommand cmd = new SqlCommand(" select * from t_product_sort ", cn);SqlDataAdapter da = new SqlDataAdapter(cmd);DataSet ds = new DataSet();da.Fill(ds, "prosort");this.GridView1.DataSource = ds.Tables[0].DefaultView;this.DataBind();