|
如题
SqlDataSource conn = new SqlDataSource();
conn.ConnectionString = ConfigurationManager.ConnectionStrings["xinkepc_data"].ToString();
conn.ProviderName = ConfigurationManager.ConnectionStrings["xinkepc_data"].ProviderName;
conn.SelectCommand = "select * from ad";
控件的ID该怎么设置呢 |
|