Click here to Skip to main content
15,917,645 members

Comments by choc000 (Top 3 by date)

choc000 9-May-17 2:51am View    
Thank You for your explanation. It help me a lot. I've got the solution. Yeahh I'm finally understand the try&catch and what I should do.
choc000 5-May-17 5:05am View    
Deleted
i've tried added it here

String[] excelSheets = new String[dt.Rows.Count];

int i = 0;



foreach (DataRow row in dt.Rows)
{

excelSheets[i] = row["TABLE_NAME"].ToString();

i++;

}

foreach (String str in excelSheets)
{
MessageBox.Show(str);
}
return excelSheets;
}

catch (Exception ex)
{
return null;

}

but still no message boxes. I'm really sorry i really don't know
choc000 4-May-17 3:50am View    
Whoah! My problem have been solved. Thank Youuuuu.