how to display the value in the textbox in INR Format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hemadribabu
    New Member
    • Nov 2007
    • 3

    how to display the value in the textbox in INR Format

    hi ,
    i have a textbox in my asp.net page, in this textbox some integer value will be displayed , Now i have to make that displayed integer value to be displayed in INR format , plstell me how to achieve this ,

    my code is
    Dim i As Integer
    Dim ad As New OleDbDataAdapte r
    Dim ds As New DataSet
    Dim str As String = "SELECT SUM(fueliss) AS fuelqty, SUM(fuelamt) AS fuelamt FROM DPR WHERE (dd_tt BETWEEN '" & dayfrom.Text & "' AND '" & dayto.Text & "') and ownhir like 'IVRCL'"
    cmd = New OleDbCommand(st r, con)
    cmd.ExecuteNonQ uery()
    ad.SelectComman d = cmd
    ad.Fill(ds)
    For i = 0 To ds.Tables(0).Ro ws.Count - 1
    own_fueliss.Tex t = Convert.ToStrin g(ds.Tables(0). Rows(i).Item("f uelqty"))
    own_fuelamt.Tex t = Convert.ToStrin g(ds.Tables(0). Rows(i).Item("f uelamt"))
    _______________ __________-

    In the above code my textbox ID = own_fuelamt.tex t, Now i need this textbox value to be displayed in the INR fromat,

    tel me the code to perform that
Working...