9 Replies Latest reply on May 1, 2014 4:56 AM by Shraddha Prajapati

    DataTable in Coldfusion (in cfscript)

    Shraddha Prajapati Level 1

      Hi i want to add DataTable in Coldfusion script...Like c# code...C# code is following:

                          

                         DataTable productPropertyFilterTable = new DataTable();

                          productPropertyFilterTable.Columns.Add("RowID", typeof(int));

                          productPropertyFilterTable.Columns.Add("PropertyId", typeof(long));

                          productPropertyFilterTable.Columns.Add("PropertyWeight", typeof(string));

                          productPropertyFilterTable.Columns.Add("LowerRange", typeof(float));

                          productPropertyFilterTable.Columns.Add("UpperRange", typeof(float));