using MySqwww.cppcns.coml.Data.mysqlClient;
MySqlConnection conn = new MySqlConnection("server=(local);dwww.cppcns.comatabaseSOuajsj=abc;uid=;pSOuaJsjwd=");
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["conte编程客栈nt"].ToString();
本文标题: asp textbox获取显示mysql数据示例代码
本文地址: http://www.cppcns.com/wangluo/asp/108841.html
© 著作权归作者所有
举报
发表评论
0/200