2
Answers

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

anjali khan

anjali khan

9y
488
1
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)