(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Data;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Configuration;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web.Security;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web.UI;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web.UI.WebControls;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web.UI.WebControls.WebParts;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Web.UI.HtmlControls;
(转换datareader为Datatable)ConvertDataReaderToDataTable_tarousing System.Data.SqlClient;
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro
(转换datareader为Datatable)ConvertDataReaderToDataTable_构造函数_13(转换datareader为Datatable)ConvertDataReaderToDataTable_构造函数_14/**//// <summary>
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15/// SystemTools 的摘要说明
(转换datareader为Datatable)ConvertDataReaderToDataTable_i++_16/// </summary>
(转换datareader为Datatable)ConvertDataReaderToDataTable_taropublic class SystemTools
(转换datareader为Datatable)ConvertDataReaderToDataTable_构造函数_13(转换datareader为Datatable)ConvertDataReaderToDataTable_构造函数_14(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15    public static DataTable ConvertDataReaderToDataTable(SqlDataReader dataReader)
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_22(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_23    (转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        DataTable datatable = new DataTable();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        DataTable schemaTable = dataReader.GetSchemaTable();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        foreach (DataRow myRow in schemaTable.Rows)
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_22(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_23        (转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            DataColumn myDataColumn = new DataColumn();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            myDataColumn.DataType = myRow.GetType();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            myDataColumn.ColumnName = myRow[0].ToString();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            datatable.Columns.Add(myDataColumn);
(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_35        }
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        while (dataReader.Read())
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_22(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_23        (转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            DataRow myDataRow = datatable.NewRow();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            for (int i = 0; i < schemaTable.Rows.Count; i++)
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_22(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_23            (转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15                myDataRow[i] = dataReader[i].ToString();
(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_35            }
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            datatable.Rows.Add(myDataRow);
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15            myDataRow = null;
(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_35        }
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        schemaTable = null;
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        dataReader.Close();
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        return datatable;
(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_35    }
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15    public SystemTools()
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_22(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_23    (转换datareader为Datatable)ConvertDataReaderToDataTable_sql_20{
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        //
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        // TODO: 在此处添加构造函数逻辑
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro_15        //
(转换datareader为Datatable)ConvertDataReaderToDataTable_sql_35    }
(转换datareader为Datatable)ConvertDataReaderToDataTable_i++_16}
(转换datareader为Datatable)ConvertDataReaderToDataTable_taro