11-19-2009, 10:22 AM
First check if the required sheet is imported into datatable successfully
then try this
let us know how it goes
then try this
Code:
numleavedates = DataTable.GetSheet("Leave Request").GetRowCount
let us know how it goes