anjali khan

anjali khan

  • NA
  • 293
  • 62.1k

Index and length must refer to a location within the string?

Dec 30 2015 3:40 AM
hi frnds ,
 
i am running the application so i m getting the error like 

Index and length must refer to a location within the string.

 
 my  code is 
RtrvData(MnpltData.RtrvData_I("select irtn_Id from dbo.itemrtrns where irtn_Suffix ='" + _Key.Substring(0, 9) + "' and irtn_Fnyr='" + _Key.Substring(10) + "'")); 

Answers (2)