CSharp · Console
using System.Collections.Generic;
using System.Data;
public class Program
{
public static void Main()
{
// Here we create a DataTable with four columns.
DataTable table = new DataTable();
table.Columns.Add("Dosage", typeof(int));
table.Columns.Add("Drug", typeof(string));
table.Columns.Add("Patient", typeof(string));
table.Rows.Add(1, "Placebo", "Patient Zero");
FiddleHelper.WriteTable(table);
}
}