Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data Binding a TextBox to a DataSet Pin
Heath Stewart25-May-04 5:51
protectorHeath Stewart25-May-04 5:51 
GeneralRe: Data Binding a TextBox to a DataSet Pin
woaksie25-May-04 19:06
woaksie25-May-04 19:06 
GeneralRe: Data Binding a TextBox to a DataSet Pin
woaksie25-May-04 19:21
woaksie25-May-04 19:21 
GeneralExpressions(calculations) Pin
stevemasters2224-May-04 18:46
stevemasters2224-May-04 18:46 
GeneralRe: Expressions(calculations) Pin
sreejith ss nair24-May-04 19:20
sreejith ss nair24-May-04 19:20 
GeneralRe: Expressions(calculations) Pin
stevemasters2224-May-04 19:34
stevemasters2224-May-04 19:34 
GeneralRe: Expressions(calculations) Pin
sreejith ss nair24-May-04 19:54
sreejith ss nair24-May-04 19:54 
GeneralRe: Expressions(calculations) Pin
Stefan Troschuetz24-May-04 21:16
Stefan Troschuetz24-May-04 21:16 
A minor addition to the previous post by Sreejith:
As your TextBoxes can contain anything other than the string representation of a number, you should handle the FormatException of the Parse method.
<br />
try<br />
{<br />
int labour = int.Parse(textboxLabour.Text);<br />
int material = int.Parse(textboxMaterial.Text);<br />
}<br />
catch (System.FormatException)<br />
{<br />
// Handle the exceptions by assigning default values for example.<br />
}<br />

GeneralRe: Expressions(calculations) Pin
sreejith ss nair24-May-04 22:07
sreejith ss nair24-May-04 22:07 
GeneralRe: Expressions(calculations) Pin
Stefan Troschuetz24-May-04 22:38
Stefan Troschuetz24-May-04 22:38 
GeneralRe: Expressions(calculations) Pin
stevemasters2225-May-04 17:09
stevemasters2225-May-04 17:09 
GeneralRe: Expressions(calculations) Pin
Dave Kreskowiak25-May-04 17:24
mveDave Kreskowiak25-May-04 17:24 
GeneralRe: Expressions(calculations) Pin
stevemasters2225-May-04 17:46
stevemasters2225-May-04 17:46 
GeneralRe: Expressions(calculations) Pin
Dave Kreskowiak26-May-04 0:46
mveDave Kreskowiak26-May-04 0:46 
GeneralRe: Expressions(calculations) [EDITED} Pin
Dave Kreskowiak26-May-04 3:35
mveDave Kreskowiak26-May-04 3:35 
GeneralRe: Expressions(calculations) Pin
Stefan Troschuetz25-May-04 21:25
Stefan Troschuetz25-May-04 21:25 
GeneralExpressions Pin
Anonymous24-May-04 18:37
Anonymous24-May-04 18:37 
GeneralRe: Expressions Pin
sreejith ss nair24-May-04 20:03
sreejith ss nair24-May-04 20:03 
GeneralRe: Expressions Pin
sreejith ss nair24-May-04 20:03
sreejith ss nair24-May-04 20:03 
GeneralRe: Expressions Pin
Dave Kreskowiak25-May-04 0:35
mveDave Kreskowiak25-May-04 0:35 
Generalhelp! Pin
agu989924-May-04 18:14
agu989924-May-04 18:14 
GeneralRe: help! Pin
Heath Stewart25-May-04 2:44
protectorHeath Stewart25-May-04 2:44 
GeneralEnable/Disable of texbox Pin
HappyKim24-May-04 15:56
HappyKim24-May-04 15:56 
GeneralRe: Enable/Disable of texbox Pin
Dave Kreskowiak24-May-04 16:58
mveDave Kreskowiak24-May-04 16:58 
GeneralRe: Enable/Disable of texbox Pin
sreejith ss nair24-May-04 20:02
sreejith ss nair24-May-04 20:02 

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.