Click here to Skip to main content
15,910,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cookies problem... Pin
profoundwhispers3-Feb-04 10:46
profoundwhispers3-Feb-04 10:46 
GeneralRe: Cookies problem... Pin
Heath Stewart3-Feb-04 10:53
protectorHeath Stewart3-Feb-04 10:53 
GeneralC# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla2-Feb-04 13:12
Arun Bhalla2-Feb-04 13:12 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 5:22
protectorHeath Stewart3-Feb-04 5:22 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 7:49
Arun Bhalla3-Feb-04 7:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 8:49
protectorHeath Stewart3-Feb-04 8:49 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 10:26
Arun Bhalla3-Feb-04 10:26 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 10:32
protectorHeath Stewart3-Feb-04 10:32 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Arun Bhalla3-Feb-04 11:08
Arun Bhalla3-Feb-04 11:08 
GeneralRe: C# exceptions not showing filename/line numbers (PDB issue?) Pin
Heath Stewart3-Feb-04 11:15
protectorHeath Stewart3-Feb-04 11:15 
GeneralWinForms app displays differently on different computers. Pin
~michL~2-Feb-04 12:47
~michL~2-Feb-04 12:47 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 5:29
protectorHeath Stewart3-Feb-04 5:29 
GeneralRe: WinForms app displays differently on different computers. Pin
~michL~3-Feb-04 13:44
~michL~3-Feb-04 13:44 
GeneralRe: WinForms app displays differently on different computers. Pin
Heath Stewart3-Feb-04 17:54
protectorHeath Stewart3-Feb-04 17:54 
GeneralProgramatically iterating through controls in C# csharp or VB.net Pin
billoo2-Feb-04 11:51
billoo2-Feb-04 11:51 
I have a Windows form in which I have 5 Button controls, named B1, B2,
B3 .... B5. I want to programatically iterate through these controls,
where I have to work on their properties. Initially all Buttons need
to be invisible. But then iteratively, I want them to be visible. A long handed version is as follows:

while (dr.Read()) {
B1.Visible=true;
B2.Visible=true;
B3.Visible=true;
B4.Visible=true;
B5.Visible=true;
}

I want the following:

while (dr.Read()) {
int i=1;
Bi.Visible=true; //this is just my intent, not an actual statement
i=i+1;
}

where dr is a SqlDataReader. I want i to iterate from 1 through 5, and
then all Buttons are visible. I tried concatenating string to form B1,
B2 etc. programatically, but that does not work.

Help appreciated.
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
Heath Stewart2-Feb-04 12:05
protectorHeath Stewart2-Feb-04 12:05 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
billoo2-Feb-04 12:33
billoo2-Feb-04 12:33 
GeneralRe: Programatically iterating through controls in C# csharp or VB.net Pin
Colin Angus Mackay2-Feb-04 12:06
Colin Angus Mackay2-Feb-04 12:06 
GeneralUpdating table from datatable Pin
zuhx2-Feb-04 11:38
zuhx2-Feb-04 11:38 
GeneralRe: Updating table from datatable Pin
Heath Stewart2-Feb-04 12:01
protectorHeath Stewart2-Feb-04 12:01 
GeneralListView Pin
Gary Kirkham2-Feb-04 11:23
Gary Kirkham2-Feb-04 11:23 
GeneralRe: ListView Pin
Heath Stewart2-Feb-04 11:57
protectorHeath Stewart2-Feb-04 11:57 
GeneralRe: ListView Pin
Gary Kirkham2-Feb-04 12:02
Gary Kirkham2-Feb-04 12:02 
GeneralRe: ListView Pin
Heath Stewart2-Feb-04 12:06
protectorHeath Stewart2-Feb-04 12:06 
QuestionGood PDF Viewer control? Pin
Alex Korchemniy2-Feb-04 11:04
Alex Korchemniy2-Feb-04 11:04 

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.