using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page {
protected void Page_Load ( object sender , EventArgs e ) {
if ( !IsPostBack ) {
System.Data.DataTable dt = new System.Data.DataTable();
dt.Columns.Add( "Date1" );
for ( int i = 0 ; i < 10 ; ++i ) {
dt.Rows.Add( new object[] { DateTime.Now.AddDays(i).ToString("dd/MM/yyyy") } );
}
GridView1.DataSource = dt;
GridView1.DataBind();
}
}
}