Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Josefina Stanley   on Nov 24 In Asp.net Category.

  
Question Answered By: Tamara Nguyen   on Nov 24

Since, my datasource table is a Reporting Summary Table and the columns  are all string and not money data types etc, I am using the onItemDatabound event  to:

convert the money fields to a decimal type
using the  format  string to add   , and decimal formatting
Now with your tip on alignment   - setting the  cell   .horizontalalign = horizontalalign.right

The dataformatstring won’t work on a string money field in the datasource table.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Datagrid Display - right align numbers Or get search suggestion and latest updates.


Tagged: