sp; myParm.Value = this.DropDownList1.SelectedItem.Value;
m_Scon.Open();
SqlDataReader m_Sdr = m_Scmd.ExecuteReader();
string TableName = this.DropDownList1.SelectedItem.Value;
string m_LayOut = "";
m_LayOut = m_LayOut + "using System;\r\n";
m_LayOut = m_LayOut + "using System.Data;\r\n" ;
m_LayOut = m_LayOut + "using System.Data.SqlClient;\r\n";
m_LayOut = m_LayOut + "\r\n";
m_LayOut = m_LayOut + "namespace OceanSoft\r\n";
m_LayOut = m_LayOut + "{\r\n";
m_LayOut = m_LayOut + BL(4) + "///<comment>\r\n";
m_LayOut = m_LayOut + BL(4) + "///\r\n";
m_LayOut = m_LayOut + BL(4) + "///</comment>\r\n";
string ColName = ""; //列名
string ColType = ""; //列的数据类型
string ColDefine = ""; //列定义
string ColProperty = ""; //列属性
while(m_Sdr.Read())
{
&nb
m_Scon.Open();
SqlDataReader m_Sdr = m_Scmd.ExecuteReader();
string TableName = this.DropDownList1.SelectedItem.Value;
string m_LayOut = "";
m_LayOut = m_LayOut + "using System;\r\n";
m_LayOut = m_LayOut + "using System.Data;\r\n" ;
m_LayOut = m_LayOut + "using System.Data.SqlClient;\r\n";
m_LayOut = m_LayOut + "\r\n";
m_LayOut = m_LayOut + "namespace OceanSoft\r\n";
m_LayOut = m_LayOut + "{\r\n";
m_LayOut = m_LayOut + BL(4) + "///<comment>\r\n";
m_LayOut = m_LayOut + BL(4) + "///\r\n";
m_LayOut = m_LayOut + BL(4) + "///</comment>\r\n";
string ColName = ""; //列名
string ColType = ""; //列的数据类型
string ColDefine = ""; //列定义
string ColProperty = ""; //列属性
while(m_Sdr.Read())
{
&nb
| 对此文章发表了评论 |

