OleDbConnection oconn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + file_name + ";Extended Properties=Excel 8.0"); OleDbCommand ocmd = new OleDbCommand("select * from [Requisition$]", oconn); oconn.Open(); OleDbDataReader odr = ocmd.ExecuteReader(); GridView1.DataSource = odr; GridView1.DataBind(); oconn.Close();
<%# Bind("Failure_date", "{0:dd/MM/yyyy}") %>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)