I have a table in my Database to store Holidays. The Columns:
Holiday, Day, Date
I want to copy all the rows from this table into a DataTable in my C# application. Iv created the DataTable with the same Columns.
DataTable dt = new DataTable();
        dt.Columns.AddRange(new DataColumn[3] {
            new DataColumn("Holiday", typeof(string)),
            new DataColumn("Day", typeof(string)),
            new DataColumn("Date", typeof(DateTime))
        }); 
How can I populate this DataTable with all of the rows from my SQL Server database?