Pinky patel

Pinky patel

  • NA
  • 33
  • 560

Sequence Contains no elements on Assemble class

Apr 26 2017 8:33 AM
HI ,
 
I am gettting error like sequence contains no elements on folllowing

foreach (int id in tid)
ImportRoutines.customer.processCustomerImport(ConfigurationManager.ConnectionStrings["DBConnectionString"].ConnectionString, id);
 
}
and class defination is like this

namespace ImportRoutines

{
  public static void processCustomerImport(string connectionstring, int id);
  public static void processCustomerImport(string connectionstring, int id, out int cusId); 
 
thanks in advance 
 
 

 

 

Answers (4)