Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# and mysql Pin
whizzs2-Nov-05 7:56
whizzs2-Nov-05 7:56 
QuestionDeploying to get final result as .EXE Pin
Samar Aarkotti2-Nov-05 7:31
Samar Aarkotti2-Nov-05 7:31 
AnswerRe: Deploying to get final result as .EXE Pin
Christian Graus2-Nov-05 9:06
protectorChristian Graus2-Nov-05 9:06 
GeneralRe: Deploying to get final result as .EXE Pin
Samar Aarkotti2-Nov-05 11:13
Samar Aarkotti2-Nov-05 11:13 
GeneralRe: Deploying to get final result as .EXE Pin
Christian Graus2-Nov-05 11:17
protectorChristian Graus2-Nov-05 11:17 
GeneralRe: Deploying to get final result as .EXE Pin
Joel Lucsy4-Nov-05 9:41
Joel Lucsy4-Nov-05 9:41 
QuestionSetting dynamic Text Box after post backs Pin
TheMajorRager2-Nov-05 7:29
TheMajorRager2-Nov-05 7:29 
AnswerRe: Setting dynamic Text Box after post backs Pin
whizzs2-Nov-05 8:29
whizzs2-Nov-05 8:29 
Are you having trouble checking the value? If so, use the RangeValidator class, you can set the control for it to validate, maximum value and minimum value. If the value of the text box is outside the range, you can set the value of the text box to the minimum. I would do this in the page_load section in an if block "if (Page.IsPostBack)"

ex
if ( Page.IsPostBack )
{
rangevalidator.ControlToValidate = "textbox1";
rangevalidator.MaximumValue = "100";
rangevalidator.MinimumValue = "15";

if ( rangevalidator.IsValid )
{
// do your thing
}
else
{
textbox1.Text = "15";
rangevalidator.ErrorMessage = "whatever you want to tell the user";
}
}
GeneralRe: Setting dynamic Text Box after post backs Pin
TheMajorRager2-Nov-05 9:07
TheMajorRager2-Nov-05 9:07 
QuestionTAPI programming Pin
Mridang Agarwalla2-Nov-05 6:21
Mridang Agarwalla2-Nov-05 6:21 
AnswerRe: TAPI programming Pin
Michael P Butler2-Nov-05 6:45
Michael P Butler2-Nov-05 6:45 
Questioncheckbox problem in treeview Pin
Mridang Agarwalla2-Nov-05 6:14
Mridang Agarwalla2-Nov-05 6:14 
QuestionDoing a global font change at runtime Pin
Dan Neely2-Nov-05 4:12
Dan Neely2-Nov-05 4:12 
QuestionOperate with long String Pin
pmasknguyen2-Nov-05 3:41
pmasknguyen2-Nov-05 3:41 
AnswerRe: Operate with long String Pin
Dan Neely2-Nov-05 3:44
Dan Neely2-Nov-05 3:44 
QuestionString to code? Pin
RoyRose782-Nov-05 3:17
RoyRose782-Nov-05 3:17 
AnswerRe: String to code? Pin
Tom Larsen2-Nov-05 4:23
Tom Larsen2-Nov-05 4:23 
GeneralRe: String to code? Pin
Maximilien2-Nov-05 5:09
Maximilien2-Nov-05 5:09 
QuestionRe: String to code? Pin
RoyRose782-Nov-05 5:27
RoyRose782-Nov-05 5:27 
AnswerRe: String to code? Pin
Tom Larsen2-Nov-05 8:24
Tom Larsen2-Nov-05 8:24 
QuestionString comparisons - case insensitivty Pin
AJ1232-Nov-05 2:56
AJ1232-Nov-05 2:56 
AnswerRe: String comparisons - case insensitivty Pin
Christian Graus2-Nov-05 9:08
protectorChristian Graus2-Nov-05 9:08 
AnswerRe: String comparisons - case insensitivty Pin
Joel Lucsy4-Nov-05 9:46
Joel Lucsy4-Nov-05 9:46 
AnswerRe: String comparisons - case insensitivty Pin
AJ1238-Nov-05 22:44
AJ1238-Nov-05 22:44 
QuestionPlugins , C# runtime dll debugging Pin
mintguy2-Nov-05 1:21
mintguy2-Nov-05 1:21 

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.