文档介绍:代码如下( Showtime ): · //文件名: using System; using ; using ponentModel ; using ; using ; using ; using ; using ; namespace MyHouse { public partial class SaleHouseForm : Form { public SaleHouseForm () { ponent (); } 细节决定成败代码如下( Showtime): · private void SaleHouseForm_Load(object sender, EventArgs e) { // TODO: 这行代码将数据加载到表“ myHouseDataSet1. 出售房源管理”中。您可以根据需要移动或移除它。 this. 出售房源管理 (. 出售房源管理); String MySQLConnectionString = global:: onString ; string MySQL = "Select * From 房源参数字典 Where 自编号='CQ001'"; SqlConnection MyConnection = new SqlConnection(MySQLConnectionString ); (); DataTable MyHouseTable = new DataTable (); SqlDataAdapter MyAdapter = new SqlDataAdapter(MySQL , MyConnection ); (MyHouseTable );一切应用源于需求代码如下( Showtime ): · string MyName = " 城区"; string MyValue = [0][MyName].ToString(); String[] MyDistData = (new char[1] { ' 、' }); foreach (String MyString in MyDistData ) { this. (MyString ); } MyName