Hi,
I have problem with databinding for next table:
------------------------------------------------------------
DataTable table = new DataTable();
table.Columns.Add("i.[InvoiceNumber]", typeof(string));
table.Columns.Add("fncd.[CustomerNumber]", typeof(string));
table.Columns.Add("fncd.[eBayBuyerID]", typeof(string));
table.Columns.Add("fncd.[FirstName]", typeof(string));
table.Columns.Add("fncd.[LastName]", typeof(string));
table.Columns.Add("fncd.[ItemQTY]", typeof(int));
table.Columns.Add("ist.[Description]", typeof(string));
table.Columns.Add("i.[NetTotalAmount]", typeof(decimal));
table.Columns.Add("i.[VATTotalAmount]", typeof(decimal));
table.Columns.Add("i.[GrossTotalAmount]", typeof(decimal));
table.Columns.Add("i.[InvoiceDate]", typeof(DateTime));
table.Rows.Add("INV0001", "CUS0001", "0", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
table.Rows.Add("INV0002", "CUS0002", "1", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
table.Rows.Add("INV0003", "CUS0003", "2", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
radGridView1.DataSource = table;
-----------------------------------------------------------------------
when i ran this i see 3 rows in grid but all cells is empty(nothing data to display).
thanks.
I have problem with databinding for next table:
------------------------------------------------------------
DataTable table = new DataTable();
table.Columns.Add("i.[InvoiceNumber]", typeof(string));
table.Columns.Add("fncd.[CustomerNumber]", typeof(string));
table.Columns.Add("fncd.[eBayBuyerID]", typeof(string));
table.Columns.Add("fncd.[FirstName]", typeof(string));
table.Columns.Add("fncd.[LastName]", typeof(string));
table.Columns.Add("fncd.[ItemQTY]", typeof(int));
table.Columns.Add("ist.[Description]", typeof(string));
table.Columns.Add("i.[NetTotalAmount]", typeof(decimal));
table.Columns.Add("i.[VATTotalAmount]", typeof(decimal));
table.Columns.Add("i.[GrossTotalAmount]", typeof(decimal));
table.Columns.Add("i.[InvoiceDate]", typeof(DateTime));
table.Rows.Add("INV0001", "CUS0001", "0", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
table.Rows.Add("INV0002", "CUS0002", "1", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
table.Rows.Add("INV0003", "CUS0003", "2", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
radGridView1.DataSource = table;
-----------------------------------------------------------------------
when i ran this i see 3 rows in grid but all cells is empty(nothing data to display).
thanks.