Thanks in advanced!
//generate time column from database
SQL row = new SQL();
DataTable lambo = row.schooltimeId();
DataRow[] dr = new DataRow[lambo.Rows.Count];
for (int i = 0; i < lambo.Rows.Count; i++)
{
dr[i] = table.NewRow();
dr[i][keys[0]] = lambo.Rows[i][0] + ConfigurationSettings.AppSettings["DASH"] + lambo.Rows[i][1];
table.Rows.Add(dr[i]);
}

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 24, 2011, 10:48 PM EST
Question is not clear.
At run time ? or Design time ? where it should display ? All these lines of code ? or only the particular line of out put?
Suthish NairRank #92 · 22.8K reputationPosted Feb 25, 2011, 12:04 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Feb 27, 2011, 7:33 AM EST