|
-
Oct 1st, 2003, 11:53 AM
#1
Thread Starter
Addicted Member
Formating Values From OleDbDataReader
I am retrieving Values from Access DB which I need to Format. I am using the following:
myDataReader = OleDbComm.ExecuteReader()
I want to Display the Formatted Values in a table in a DataList:
<td><%# Container.DataItem("Price") %></td>
The Format I want is as follows:
Dim MyDouble As Double = 123456789
Response.Write(MyDouble.ToString("C"))
How can I apply this to myDataReader so that I can display the formatted value for Price ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|