Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
QuestionWhat does it mean Pin
netJP12L25-Feb-08 7:53
netJP12L25-Feb-08 7:53 
AnswerRe: What does it mean Pin
led mike25-Feb-08 8:11
led mike25-Feb-08 8:11 
GeneralParsing a custom date string to a DateTime Object Pin
Sunset Towers25-Feb-08 6:48
Sunset Towers25-Feb-08 6:48 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
Gareth H25-Feb-08 7:33
Gareth H25-Feb-08 7:33 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
Sunset Towers25-Feb-08 7:52
Sunset Towers25-Feb-08 7:52 
GeneralRe: Parsing a custom date string to a DateTime Object Pin
led mike25-Feb-08 8:10
led mike25-Feb-08 8:10 
GeneralSystem error codes, FormatMessage, and memory reading. [modified] Pin
Jitse25-Feb-08 5:55
Jitse25-Feb-08 5:55 
GeneralClear textbox problem Pin
Rick van Woudenberg25-Feb-08 5:30
Rick van Woudenberg25-Feb-08 5:30 
Dear all,

I wrote this piece of code to clear all the textboxes on a control all at once.

foreach (Control control in tabpage.Controls)<br />
            {<br />
                if (control.GetType() == typeof(TextBox));<br />
                {<br />
                    control.Text = "";<br />
                }<br />
            }


It works , but .. it also clears all the labels in the control ; however labels are not of type Textbox.

Could somebody tell me what I am doing wrong ?

kind regards,
GeneralRe: Clear textbox problem --&gt; And this works Pin
Rick van Woudenberg25-Feb-08 5:33
Rick van Woudenberg25-Feb-08 5:33 
GeneralRe: Clear textbox problem --&gt; And this works Pin
Gareth H25-Feb-08 6:46
Gareth H25-Feb-08 6:46 
GeneralRe: Clear textbox problem Pin
engsrini25-Feb-08 11:47
engsrini25-Feb-08 11:47 
QuestionProcess memory, significant addresses Pin
Jitse25-Feb-08 4:33
Jitse25-Feb-08 4:33 
GeneralRe: Process memory, significant addresses Pin
Luc Pattyn25-Feb-08 4:48
sitebuilderLuc Pattyn25-Feb-08 4:48 
GeneralRe: Process memory, significant addresses Pin
Jitse25-Feb-08 5:02
Jitse25-Feb-08 5:02 
GeneralRe: Process memory, significant addresses Pin
Luc Pattyn25-Feb-08 5:28
sitebuilderLuc Pattyn25-Feb-08 5:28 
GeneralRe: Process memory, significant addresses Pin
Jitse25-Feb-08 5:43
Jitse25-Feb-08 5:43 
GeneralC# Windows Service shutting down Pin
Saamir25-Feb-08 4:04
Saamir25-Feb-08 4:04 
GeneralRead Outlook express - 6 contacts using c# 2005 Pin
Member 4463561 @##$#%$#%*(*&^(&)(_++[25-Feb-08 4:02
Member 4463561 @##$#%$#%*(*&^(&)(_++[25-Feb-08 4:02 
GeneralRe: Read Outlook express - 6 contacts using c# 2005 Pin
Judah Gabriel Himango25-Feb-08 5:54
sponsorJudah Gabriel Himango25-Feb-08 5:54 
GeneralRun time error Pin
Mc_Topaz25-Feb-08 3:57
Mc_Topaz25-Feb-08 3:57 
GeneralRe: Run time error Pin
Judah Gabriel Himango25-Feb-08 5:48
sponsorJudah Gabriel Himango25-Feb-08 5:48 
GeneralRe: Run time error [modified] Pin
Mc_Topaz25-Feb-08 20:23
Mc_Topaz25-Feb-08 20:23 
GeneralRe: Run time error Pin
Judah Gabriel Himango26-Feb-08 6:33
sponsorJudah Gabriel Himango26-Feb-08 6:33 
GeneralRe: Run time error Pin
Gareth H25-Feb-08 6:54
Gareth H25-Feb-08 6:54 
Question[Datagrid] How to disable row selection when Button from ButtonColumn is selected [modified] Pin
Soulhalo25-Feb-08 3:51
Soulhalo25-Feb-08 3:51 

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.