Plz solve the prob its very urgent
-
1)A program returns a long string like the strings below, delimited by pipe character, where errorcode, error details, and long reason are stored. Write c# code to get the long code out of the response received. 0|R002|this is not a valid transaction. 1|R003|the card has expired. 2|R004|card code is invalid. 2) a. table tblcode has codes like the following CUPA0001 CNOI0001 CUPA0002 CNOI0003 CDEL0001 b. objective is to get the next code given the three digits unique code.e.g. Given DEL, NOI, UPA the next code is CDEL0002, CNOI0004, and CUPA0003 write a function in sql server to achieve this .the function will get input parameter as, city code in 3 characters e.g. DEL,NOI,UPA and should return the next code as per logic above
-
1)A program returns a long string like the strings below, delimited by pipe character, where errorcode, error details, and long reason are stored. Write c# code to get the long code out of the response received. 0|R002|this is not a valid transaction. 1|R003|the card has expired. 2|R004|card code is invalid. 2) a. table tblcode has codes like the following CUPA0001 CNOI0001 CUPA0002 CNOI0003 CDEL0001 b. objective is to get the next code given the three digits unique code.e.g. Given DEL, NOI, UPA the next code is CDEL0002, CNOI0004, and CUPA0003 write a function in sql server to achieve this .the function will get input parameter as, city code in 3 characters e.g. DEL,NOI,UPA and should return the next code as per logic above
-
never use the word "Plz solve the prob its very urgent" this may be urgent for u .. but be cool to be silent so tht let others read and answer u Good day TJS
ok thanks for giving me the suggestion
-
ok thanks for giving me the suggestion
-
1)A program returns a long string like the strings below, delimited by pipe character, where errorcode, error details, and long reason are stored. Write c# code to get the long code out of the response received. 0|R002|this is not a valid transaction. 1|R003|the card has expired. 2|R004|card code is invalid. 2) a. table tblcode has codes like the following CUPA0001 CNOI0001 CUPA0002 CNOI0003 CDEL0001 b. objective is to get the next code given the three digits unique code.e.g. Given DEL, NOI, UPA the next code is CDEL0002, CNOI0004, and CUPA0003 write a function in sql server to achieve this .the function will get input parameter as, city code in 3 characters e.g. DEL,NOI,UPA and should return the next code as per logic above
If you want to get the string "this is not a valid transaction." from the response,you can use this: str.Substring(str.LastIndexOf("|")+1,str.Length-(str.LastIndexOf("|")+1)) where str="0|R002|this is not a valid transaction." regards,
SRK
-
1)A program returns a long string like the strings below, delimited by pipe character, where errorcode, error details, and long reason are stored. Write c# code to get the long code out of the response received. 0|R002|this is not a valid transaction. 1|R003|the card has expired. 2|R004|card code is invalid. 2) a. table tblcode has codes like the following CUPA0001 CNOI0001 CUPA0002 CNOI0003 CDEL0001 b. objective is to get the next code given the three digits unique code.e.g. Given DEL, NOI, UPA the next code is CDEL0002, CNOI0004, and CUPA0003 write a function in sql server to achieve this .the function will get input parameter as, city code in 3 characters e.g. DEL,NOI,UPA and should return the next code as per logic above
-
1)A program returns a long string like the strings below, delimited by pipe character, where errorcode, error details, and long reason are stored. Write c# code to get the long code out of the response received. 0|R002|this is not a valid transaction. 1|R003|the card has expired. 2|R004|card code is invalid. 2) a. table tblcode has codes like the following CUPA0001 CNOI0001 CUPA0002 CNOI0003 CDEL0001 b. objective is to get the next code given the three digits unique code.e.g. Given DEL, NOI, UPA the next code is CDEL0002, CNOI0004, and CUPA0003 write a function in sql server to achieve this .the function will get input parameter as, city code in 3 characters e.g. DEL,NOI,UPA and should return the next code as per logic above
Hmmm Homework, atleast start trying yourself we can help you in some particular thing you are not able to do
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"