博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月10日

摘要: protected void Page_Load(object sender, EventArgs e)...{ if (!Page.IsPostBack) ...{ BindData(); }}private void BindData()...{ string query = "SELECT * FROM customers"; SqlConnection myConnection = new SqlConnection(ConnectionString); SqlDataAdapter ad = new SqlDataAdapter(query, myConnecti 阅读全文

posted @ 2009-12-10 18:14 小飞龙(Jack) 阅读(345) 评论(0) 推荐(0) 编辑