Romeswara Rao

Romeswara Rao

  • NA
  • 45
  • 1.9k

pass string line by line to action method got single line

Nov 11 2019 12:12 AM
pass the data through URl String line by line, Controller Action method got a string Single line but I need As like Same data Means Multilines
 
Passing Data Ex:"SPECIFICATIONS:- ↵------------------ ↵RATED CURREN…: 1 ↵TYPE : VSF ( DIN TYPE ) ↵MAKE : GE / SIEMENS",
 
"SPECIFICATIONS:-
------------------
RATED CURRENT : 160 AMPS,
RATED VOLTAGE : 500 VAC SIZE : 1
TYPE : VSF ( DIN TYPE )
MAKE : GE / SIEMENS"
 
 
 
But I got controller plain String Format 
 
ex:
"SPECIFICATIONS:-------------------RATED CURRENT : 160 AMPS,RATED VOLTAGE : 500 VACSIZE : 1TYPE : VSF ( DIN TYPE )MAKE : GE / SIEMENS"
 

Answers (4)