sureshcd10 Posted April 11, 2006 Posted April 11, 2006 Is there a way to format the numbers displayed in the datatable. Suppose I am reading a 16digit number from from Excelsheet and getting this on to a Datatable for binding on to a Datagrid. But when that 16 digit number gets into DataTable say (1234567890123450 ) will automatically gets formatted as 1.23457E+15. But I want to retrieve the number 1234567890123450 as 1234567890123450 itself not as 1.23457E+15 Any help will be greatly appreciated :confused: :confused: Quote ima
Administrators PlausiblyDamp Posted April 12, 2006 Administrators Posted April 12, 2006 The data table will just store the value, formatting is down to whatever UI is displaying the data. If you are using a DataGrid then this can be hadled via a DataGridColumnStyle Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.