Creating DataTable for C# Code :
public static DataTable getAllProduct() { DataTable table = new DataTable(); DataColumn col1 = new DataColumn("Id"); DataColumn col2 = new DataColumn("Title"); DataColumn col3 = new DataColumn("Entitlement"); DataColumn col4 = new DataColumn("CreatedDate"); DataColumn col5 = new DataColumn("PublishedDate"); DataColumn col6 = new DataColumn("ProductType"); col1.DataType = System.Type.GetType("System.String"); col2.DataType = System.Type.GetType("System.String"); col3.DataType = System.Type.GetType("S...