this is working example
DataTable table = new DataTable();
table.Columns.Add("Drug", typeof(string));
table.Columns.Add("Patient", typeof(string));
table.Rows.Add( "Indocin", "David");
How To create a DataRow with Follwing Syntex
i want dynamically add String [] (s) so i want how to create a row with for loop or other way
string [] s="A,B".split(',');
table.Rows.Add
() ...
Go to the complete details ...