Click here to Skip to main content
15,903,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pitch from Wav Pin
mav.northwind1-Jun-06 1:43
mav.northwind1-Jun-06 1:43 
QuestionHow do i findout list of all the SQLServer Names or Data Sources in a domain ? Pin
Shiv526-May-06 2:30
Shiv526-May-06 2:30 
QuestionHow get access to default value of an system type. Pin
El'Cachubrey26-May-06 2:19
El'Cachubrey26-May-06 2:19 
AnswerRe: How get access to default value of an system type. Pin
Stefan Troschuetz26-May-06 23:14
Stefan Troschuetz26-May-06 23:14 
Questionnumeric conversion for if check Pin
Mairaaj Khan26-May-06 2:15
professionalMairaaj Khan26-May-06 2:15 
AnswerRe: numeric conversion for if check Pin
J4amieC26-May-06 2:51
J4amieC26-May-06 2:51 
GeneralRe: numeric conversion for if check Pin
Mairaaj Khan26-May-06 19:35
professionalMairaaj Khan26-May-06 19:35 
AnswerRe: numeric conversion for if check [modified] Pin
V.26-May-06 4:52
professionalV.26-May-06 4:52 
try{<br />
int stocktype = Convert.ToInt16(tbStockTypeId.Text);<br />
  if(stocktype <= 0) { <br />
    //do stuff<br />
  }<br />
}<br />
catch(FormatException fexc){<br />
  Messagebox(tbStockTypeId.Text + "Is not a number");<br />
}



Coulda, woulda, shoulda doesn't matter if you don't.

[MODIFIED]In this 32 bit world, use ToInt32 unless you have little memory.[/MODIFIED]

<marquee>Beer | [beer]
Jig | [Dance]

-- modified at 10:53 Friday 26th May, 2006
GeneralRe: numeric conversion for if check [modified] Pin
J4amieC26-May-06 5:12
J4amieC26-May-06 5:12 
GeneralRe: numeric conversion for if check [modified] Pin
V.26-May-06 5:42
professionalV.26-May-06 5:42 
GeneralRe: numeric conversion for if check [modified] Pin
J4amieC26-May-06 10:02
J4amieC26-May-06 10:02 
GeneralRe: numeric conversion for if check [modified] Pin
V.26-May-06 10:06
professionalV.26-May-06 10:06 
GeneralRe: numeric conversion for if check [modified] Pin
Mairaaj Khan26-May-06 19:39
professionalMairaaj Khan26-May-06 19:39 
AnswerRe: numeric conversion for if check Pin
Robin Panther26-May-06 11:55
Robin Panther26-May-06 11:55 
GeneralRe: numeric conversion for if check Pin
Mairaaj Khan26-May-06 19:43
professionalMairaaj Khan26-May-06 19:43 
Questionhelp for inserting data to msaccess ? Pin
cmpeng3426-May-06 2:03
cmpeng3426-May-06 2:03 
AnswerRe: help for inserting data to msaccess ? [modified] Pin
rah_sin26-May-06 2:06
professionalrah_sin26-May-06 2:06 
QuestionCustom control - configuration in desing time Pin
kamarchand26-May-06 1:30
kamarchand26-May-06 1:30 
QuestionShow Internet Optiions Dialog with C# [modified] Pin
Adiphe26-May-06 0:55
Adiphe26-May-06 0:55 
AnswerRe: Show Internet Optiions Dialog with C# [modified] Pin
Shajeel26-May-06 1:32
Shajeel26-May-06 1:32 
GeneralRe: Show Internet Optiions Dialog with C# [modified] Pin
Adiphe26-May-06 1:38
Adiphe26-May-06 1:38 
AnswerRe: Show Internet Optiions Dialog with C# [modified] Pin
Shajeel26-May-06 2:24
Shajeel26-May-06 2:24 
GeneralRe: Show Internet Optiions Dialog with C# [modified] Pin
Adiphe26-May-06 2:47
Adiphe26-May-06 2:47 
QuestionCLONE FORM Pin
Greeky26-May-06 0:52
Greeky26-May-06 0:52 
AnswerRe: CLONE FORM Pin
Robert Rohde26-May-06 1:49
Robert Rohde26-May-06 1:49 

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.