You must Sign In to post a response.
  • Category: ASP.NET

    How to handle dataset negative values .

    in dataset negative values are appearing behind the value like (1234-) i want to replace the minus(-)

    sign to preceding the value like (-1234) . can you help me how to get it exactly.
  • #769515
    By using for loop you have to manually replace the "-" into blank value than just append them - in front of the value.
    Regards,
    V.M. Damodharan
    "Your talent will be worthless, when you have fear and tension."

  • #769701
    Firstly, filter the negative values in dataset using .Select() method by passing filter condition.
    And after getting the filter values, then make a loop to add "-" sign before the value.

    Thanks!
    B.Ramana Reddy


  • Sign In to post your comments