Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Talking to Data Base Problem Pin
ytubis13-Feb-06 10:19
ytubis13-Feb-06 10:19 
QuestionBindingSource: BEFORE CurrentChanged? Pin
moon4413-Feb-06 9:26
moon4413-Feb-06 9:26 
AnswerRe: BindingSource: BEFORE CurrentChanged? Pin
VMSSanthosh13-Feb-06 22:32
VMSSanthosh13-Feb-06 22:32 
GeneralRe: BindingSource: BEFORE CurrentChanged? Pin
moon4414-Feb-06 6:14
moon4414-Feb-06 6:14 
QuestionDataGridView Columns Pin
Wjousts13-Feb-06 9:08
Wjousts13-Feb-06 9:08 
QuestionChanging number formats Pin
Dan Neely13-Feb-06 8:35
Dan Neely13-Feb-06 8:35 
AnswerRe: Changing number formats Pin
Dan Neely13-Feb-06 9:05
Dan Neely13-Feb-06 9:05 
AnswerRe: Changing number formats Pin
Joshua Quick13-Feb-06 12:09
Joshua Quick13-Feb-06 12:09 
CultureInfo's properties are read-only once assigned to your app's thread. You'll need to create a new CultureInfo object with the settings you desire.

System.Globalization.CultureInfo info;<br />
info = System.Globalization.CultureInfo.CurrentCulture;<br />
info = new System.Globalization.CultureInfo(info.LCID, true);<br />
info.NumberFormat.NumberDecimalDigits = 6;<br />
System.Threading.Thread.CurrentThread.CurrentCulture = info;


Unfortunately, the Double.ToString() method (without arguments) ignores the NumberDecimalDigits property. You have to do a Double.ToString("N") for it to work, which is not what you want.
Unless of course there's a way to change the default format string for a double.
QuestionEdit Oracle Objects from C# Pin
sam31513-Feb-06 8:30
sam31513-Feb-06 8:30 
AnswerRe: Edit Oracle Objects from C# Pin
George L. Jackson13-Feb-06 14:07
George L. Jackson13-Feb-06 14:07 
QuestionHow to serialize and deserialize Cursor? Pin
Rashid.Mahmood13-Feb-06 7:52
Rashid.Mahmood13-Feb-06 7:52 
AnswerRe: How to serialize and deserialize Cursor? Pin
Dave Kreskowiak13-Feb-06 17:29
mveDave Kreskowiak13-Feb-06 17:29 
GeneralRe: How to serialize and deserialize Cursor? Pin
Rashid.Mahmood13-Feb-06 20:17
Rashid.Mahmood13-Feb-06 20:17 
GeneralRe: How to serialize and deserialize Cursor? Pin
Dave Kreskowiak14-Feb-06 2:21
mveDave Kreskowiak14-Feb-06 2:21 
QuestionText to Speech Pin
de_Oracle13-Feb-06 6:54
de_Oracle13-Feb-06 6:54 
AnswerRe: Text to Speech Pin
Judah Gabriel Himango13-Feb-06 7:18
sponsorJudah Gabriel Himango13-Feb-06 7:18 
GeneralRe: Text to Speech Pin
de_Oracle14-Feb-06 6:35
de_Oracle14-Feb-06 6:35 
Questioni need to send query string value from my page to my error page in C#.NET Pin
ap_sa13-Feb-06 6:27
ap_sa13-Feb-06 6:27 
GeneralRe: i need to send query string value from my page to my error page in C#.NET Pin
Guffa13-Feb-06 7:26
Guffa13-Feb-06 7:26 
Questionwaiting but still recieving messages....is there a way? Pin
nick15813-Feb-06 6:14
nick15813-Feb-06 6:14 
AnswerRe: waiting but still recieving messages....is there a way? Pin
Robin Panther13-Feb-06 7:02
Robin Panther13-Feb-06 7:02 
GeneralRe: waiting but still recieving messages....is there a way? Pin
nick15813-Feb-06 8:00
nick15813-Feb-06 8:00 
AnswerRe: waiting but still recieving messages....is there a way? Pin
Guffa13-Feb-06 8:19
Guffa13-Feb-06 8:19 
QuestionFile Upload Manager for C# Pin
mcmcom13-Feb-06 6:08
mcmcom13-Feb-06 6:08 
AnswerRe: File Upload Manager for C# Pin
de_Oracle13-Feb-06 7:00
de_Oracle13-Feb-06 7:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.