Beispiel #1
0
        public DataSet getDataSetExportToExcel(string dataset_id)
        {
            DataSet ds = new DataSet();

            string[] colNamesFlow  = { "Source", "Value", "Color", "Flow Style", "Target" };
            string[] colNamesNodes = { "Name", "Color", "Orientation", "Width", "Height", "X_position", "Y_position" };

            //string flow_data = Convert.ToString(input_flow_data.InnerText);
            //string node_data = Convert.ToString(input_node_data.InnerText);

            System.Data.DataTable DataSet = new System.Data.DataTable("Dataset description");
            System.Data.DataTable Data    = new System.Data.DataTable("Data");

            //dt_s = sampleData(dt_s);

            DataSet = objDataClass.IEDC_DataSetView(dataset_id);
            Data    = objDataClass.IEDC_DataTable(dataset_id);

            ds.Tables.Add(DataSet);
            ds.Tables.Add(Data);

            return(ds);
        }