亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

asp textbox獲取顯示mysql數(shù)據(jù)示例代碼

 更新時間:2014年05月26日 17:37:05   作者:  
這篇文章主要介紹了asp textbox如何獲取顯示mysql數(shù)據(jù),需要的朋友可以參考下
復(fù)制代碼 代碼如下:

using MySql.Data.MySqlClient;

MySqlConnection conn = new MySqlConnection("server=(local);database=abc;uid=;pwd=");
conn.Open();
MySqlCommand com = new MySqlCommand("select * from tb_xxjj",conn);
MySqlDataReader dr = com.ExecuteReader();
dr.Read();
TB_xxjj.Text = dr["title"].ToString();
content.Text = dr["content"].ToString();

相關(guān)文章

最新評論