Click here to Skip to main content
15,909,466 members
Home / Discussions / C#
   

C#

 
AnswerRe: returning arrray from a function Pin
Sandeep Akhare22-May-07 2:41
Sandeep Akhare22-May-07 2:41 
GeneralRe: returning arrray from a function Pin
Dave Herren22-May-07 2:57
Dave Herren22-May-07 2:57 
GeneralRe: returning arrray from a function Pin
Sandeep Akhare22-May-07 19:31
Sandeep Akhare22-May-07 19:31 
AnswerRe: returning arrray from a function Pin
Hamid_RT23-May-07 2:20
Hamid_RT23-May-07 2:20 
QuestionHow to display double datatype with 3 digits after decimal point Pin
Rocky#22-May-07 2:29
Rocky#22-May-07 2:29 
AnswerRe: How to display double datatype with 3 digits after decimal point Pin
Paul Brower22-May-07 2:36
Paul Brower22-May-07 2:36 
AnswerRe: How to display double datatype with 3 digits after decimal point Pin
Giorgi Dalakishvili22-May-07 2:36
mentorGiorgi Dalakishvili22-May-07 2:36 
AnswerRe: How to display double datatype with 3 digits after decimal point Pin
Tarakeshwar Reddy22-May-07 2:39
professionalTarakeshwar Reddy22-May-07 2:39 
Rocky71 wrote:
just wanted to know how can we make a text box or a datagridview column in a windows application display 3 digits after the decimal point. Does it have some thing to do with SQL Server or u can just do it on the Application end.

You could format the string in the application using the ToString() method.

Rocky71 wrote:
2) please tell me how can we restrict a text box to take input as a numeric data. I can restrict this using KeyPress event but I got a bit googled when I thought I should take floating point number for an input. the problem is that the user can input the decimal point more than once... so how can we stop that from happening

Have a look at these articles on codeproject[^]. You could capture the decimal point keypress by using a boolean variable and handle the subsequent decimal point keypress by checking the boolean field. OR You can use regular expressions.




AnswerRe: How to display double datatype with 3 digits after decimal point Pin
Martin#22-May-07 3:00
Martin#22-May-07 3:00 
AnswerRe: How to display double datatype with 3 digits after decimal point Pin
Mike DiRenzo22-May-07 9:23
Mike DiRenzo22-May-07 9:23 
GeneralRe: How to display double datatype with 3 digits after decimal point Pin
Rocky#23-May-07 1:26
Rocky#23-May-07 1:26 
GeneralRe: How to display double datatype with 3 digits after decimal point Pin
Martin#23-May-07 23:35
Martin#23-May-07 23:35 
Generala big thank you to you as well :) Pin
Rocky#24-May-07 9:09
Rocky#24-May-07 9:09 
GeneralRe: a big thank you to you as well :) Pin
Martin#24-May-07 9:54
Martin#24-May-07 9:54 
QuestionAutohidden taskbar Pin
pranu_1322-May-07 2:29
pranu_1322-May-07 2:29 
AnswerRe: Autohidden taskbar Pin
Sandeep Akhare22-May-07 2:46
Sandeep Akhare22-May-07 2:46 
Questionhow to check internet connection status from c#windows applicationq Pin
pashitech22-May-07 2:21
pashitech22-May-07 2:21 
AnswerRe: how to check internet connection status from c#windows applicationq Pin
Giorgi Dalakishvili22-May-07 2:31
mentorGiorgi Dalakishvili22-May-07 2:31 
QuestionAdjust Microsoft.Office.Interop.Outlook read-only properties Pin
StingRayYellow22-May-07 2:10
StingRayYellow22-May-07 2:10 
AnswerRe: Adjust Microsoft.Office.Interop.Outlook read-only properties Pin
andre_swnpl22-May-07 2:28
andre_swnpl22-May-07 2:28 
GeneralRe: Adjust Microsoft.Office.Interop.Outlook read-only properties Pin
StingRayYellow22-May-07 3:17
StingRayYellow22-May-07 3:17 
AnswerRe: Adjust Microsoft.Office.Interop.Outlook read-only properties Pin
Manoj Kumar Rai22-May-07 5:30
professionalManoj Kumar Rai22-May-07 5:30 
QuestionSet Event Log Property Pin
pranu_1322-May-07 2:10
pranu_1322-May-07 2:10 
AnswerRe: Set Event Log Property Pin
Sandeep Akhare22-May-07 2:54
Sandeep Akhare22-May-07 2:54 
QuestionNot sure this is the place, but have a C# app for server 2k3 Pin
StevenBee22-May-07 1:58
StevenBee22-May-07 1:58 

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.