Tuesday, 6 August 2013

How to separate values from form collection object with repeated separator value in asp.net mvc 1.0

How to separate values from form collection object with repeated separator
value in asp.net mvc 1.0

I m stuck with the string split functionality in my own project where the
case scenario is as follows
1 I have a formCollection object values which are passed when we send the
page to server for manipulation purpose,where i have one field which is
decimal with precision of 13 and scale of 2 and i have one java script
function which call on onblur event of textbox which return the Input
values in currency formatted value. for eg "12500" in "12,500.00" or
130000 in "1,30,000.00"
2 But the thing is that i m separating the formCollection values by ','
but in this case it is separating the value like
eg "12,500.00" in "12"
i want the separation from '.00'
My Development Platform is ASP.NET MVC 1.0
Please reply me asap its on urgent basic
help would be appreciated
Thank n Regards Nikhil

No comments:

Post a Comment