Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
QuestionCannot use BufferManager Pin
tiran_kaskas1-Jul-09 5:21
tiran_kaskas1-Jul-09 5:21 
AnswerRe: Cannot use BufferManager Pin
Dave Kreskowiak1-Jul-09 8:52
mveDave Kreskowiak1-Jul-09 8:52 
Questionsave when a web server , site or a mail server is up or down Pin
Nafiseh Salmani1-Jul-09 5:06
Nafiseh Salmani1-Jul-09 5:06 
AnswerRe: save when a web server , site or a mail server is up or down Pin
Manas Bhardwaj1-Jul-09 5:11
professionalManas Bhardwaj1-Jul-09 5:11 
GeneralRe: save when a web server , site or a mail server is up or down Pin
Nafiseh Salmani1-Jul-09 5:21
Nafiseh Salmani1-Jul-09 5:21 
GeneralRe: save when a web server , site or a mail server is up or down Pin
Manas Bhardwaj1-Jul-09 5:23
professionalManas Bhardwaj1-Jul-09 5:23 
AnswerRe: save when a web server , site or a mail server is up or down Pin
Enver Maroshi1-Jul-09 6:50
Enver Maroshi1-Jul-09 6:50 
QuestionHow to create Unique Named Objects in a loop Pin
MarkB1231-Jul-09 4:59
MarkB1231-Jul-09 4:59 
Hi, I have the following issue in C# 2, can someone point me in the correct direction please?

I need to instantiate a combobox object (one for each column in my DevExpress grid control). At design time, I have no idea how many columns the grid will have so I need to iterate through each in a loop. Each combobox will need to have a different name e.g. col.FieldName + "ComboBox". However, I can't get the syntax correct.

Current Code...

string ComboBoxName = "";
foreach (GridColumn col in view.VisibleColumns)
{
ComboBoxName = col.FieldName + "ComboBox";
RepositoryItemComboBox ComboBoxName = new RepositoryItemComboBox(); // Fails on this line as compiler says I'm attempting to redefine the ComboBoxName object //
}

Any suggestions?
Thanks
AnswerRe: How to create Unique Named Objects in a loop Pin
Luc Pattyn1-Jul-09 5:13
sitebuilderLuc Pattyn1-Jul-09 5:13 
GeneralRe: How to create Unique Named Objects in a loop Pin
MarkB1231-Jul-09 7:01
MarkB1231-Jul-09 7:01 
GeneralRe: How to create Unique Named Objects in a loop Pin
Luc Pattyn1-Jul-09 8:04
sitebuilderLuc Pattyn1-Jul-09 8:04 
QuestionSend query to a search engine!! Pin
Nafiseh Salmani1-Jul-09 4:58
Nafiseh Salmani1-Jul-09 4:58 
AnswerRe: Send query to a search engine!! Pin
led mike1-Jul-09 5:46
led mike1-Jul-09 5:46 
GeneralRe: Send query to a search engine!! Pin
Nafiseh Salmani1-Jul-09 6:14
Nafiseh Salmani1-Jul-09 6:14 
GeneralRe: Send query to a search engine!! Pin
led mike1-Jul-09 6:31
led mike1-Jul-09 6:31 
QuestionThread of a delegate Pin
TheLaTouf1-Jul-09 3:43
TheLaTouf1-Jul-09 3:43 
AnswerRe: Thread of a delegate Pin
Ennis Ray Lynch, Jr.1-Jul-09 4:11
Ennis Ray Lynch, Jr.1-Jul-09 4:11 
AnswerRe: Thread of a delegate Pin
Nicholas Butler1-Jul-09 4:32
sitebuilderNicholas Butler1-Jul-09 4:32 
GeneralRe: Thread of a delegate Pin
TheLaTouf1-Jul-09 4:40
TheLaTouf1-Jul-09 4:40 
QuestionAutomatic download attachment from emails Pin
spankyleo1231-Jul-09 3:36
spankyleo1231-Jul-09 3:36 
AnswerRe: Automatic download attachment from emails Pin
c0ax_lx1-Jul-09 3:55
c0ax_lx1-Jul-09 3:55 
AnswerRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 5:09
moon_stick1-Jul-09 5:09 
GeneralRe: Automatic download attachment from emails Pin
spankyleo1231-Jul-09 8:57
spankyleo1231-Jul-09 8:57 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:18
moon_stick1-Jul-09 9:18 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:22
moon_stick1-Jul-09 9:22 

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.