Jaffer Sadiq

Jaffer Sadiq

  • NA
  • 155
  • 69k

Total Count divided range calculation in c#

Dec 19 2018 2:30 AM
Hi,
I have a task ,which if records contains more than 299, i need to pass the value 299 for each call to the backend 
eg : 
Total Rows = 1000, i need to send each call as 299 i,e(0-299, 300-599, 600-899 ......)
 Coding:
 
output :  response. totalrows = 1000;
///  how to write a condition/calculation here
Readdata(reponsexml, response) 
/// 
 
return response ; //after that i need to add all the Readdata statement output and bind in final response .
 
Thanks in advance 

Answers (3)