OleDbConnection Con = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Your xcel path + ";Extended Properties=Excel 8.0");
Con.Open();
try
{
DataSet myDataSet = new DataSet();
OleDbDataAdapter myCommand = new OleDbDataAdapter(" SELECT * FROM [Sheet1$]", Con);
myCommand.Fill(myDataSet);
string value=myDataSet.Tables[0].Rows[6].IttemArray[10].tostring();
Con.Close();
}
catch (Exception ex)
{
MessageBox.Show("verify ur excel file");
}