Sheena T

Sheena T

  • NA
  • 1
  • 0

Excel worksheet count

Jun 13 2007 4:30 AM
Hi,

Can anyone tell me how to count the worksheet of Excel file thru C#.Net code?As the user can add as much worksheet as they like,I want to count the worksheet so that it can be stored in the database dynamically.

Or is thr any other way to do the thing??I mean am making tables at Sql server at runtime,and thinking of making number of tables according to the number of worksheet,coz thrs no such primary key involved in the Excel file.Is thr anyother way to do so???

Answers (1)