it is the result obtained from a file
line = sr.ReadLine().Trim();
count = count + 1;
Array linearray = line.Split('|');
string date = "", type = "", card_no = "", auth_id = "", amount = "", entity_id = "", txn_type = "", Card_Type = "", RRN = "", Reff_no = "",type_card="";
if ((linearray.Length == 11))
{
}
if the line array length equals 11 it will exceutes the code in question
.so i need the the insert as stored procedure.
linearray contains values below
4/7/2015 11:06:57 AM
MDS
5049937008800117015
609181
95687
0000024259746E9
DOM
Maestro Card
000081343847
''
D
so i have change above code to stored procedure