Click here to Skip to main content
16,013,581 members
Home / Discussions / C#
   

C#

 
GeneralRe: PCX Files in C# Pin
Judah Gabriel Himango17-Jun-08 9:57
sponsorJudah Gabriel Himango17-Jun-08 9:57 
GeneralRe: PCX Files in C# Pin
Chrisfrmatl18-Jun-08 4:27
Chrisfrmatl18-Jun-08 4:27 
QuestionMultiple Labels Pin
djnevs17-Jun-08 6:10
djnevs17-Jun-08 6:10 
AnswerRe: Multiple Labels Pin
Luc Pattyn17-Jun-08 6:18
sitebuilderLuc Pattyn17-Jun-08 6:18 
GeneralRe: Multiple Labels [modified] Pin
djnevs17-Jun-08 6:55
djnevs17-Jun-08 6:55 
QuestionList of sql server 2005 machines Pin
arkiboys17-Jun-08 5:32
arkiboys17-Jun-08 5:32 
AnswerRe: List of sql server 2005 machines Pin
DavidByram17-Jun-08 5:48
DavidByram17-Jun-08 5:48 
AnswerRe: List of sql server 2005 machines Pin
Parwej Ahamad17-Jun-08 5:50
professionalParwej Ahamad17-Jun-08 5:50 
Please try this:
DataTable dtSQLServers =   SmoApplication.EnumAvailableSqlServers(false);

  foreach (DataRow drServer in dtSQLServers.Rows)
  {
      String ServerName;
      ServerName = drServer["Server"].ToString();

      if (drServer["Instance"] != null &&
                     drServer["Instance"].ToString().Length > 0)
          ServerName += @"\" + drServer["Instance"].ToString();

      if (comboBoxServer.Items.IndexOf(ServerName) < 0)
          comboBoxServer.Items.Add(ServerName);
  }


Find URL for more references:
http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.smoapplication.enumavailablesqlservers.aspx[^]

Parwej Ahamad
R & D: REST services with WCF

QuestionConvert generic data to bytes Pin
j.newger17-Jun-08 4:56
j.newger17-Jun-08 4:56 
AnswerRe: Convert generic data to bytes Pin
Anthony Mushrow17-Jun-08 5:01
professionalAnthony Mushrow17-Jun-08 5:01 
GeneralRe: Convert generic data to bytes Pin
j.newger17-Jun-08 5:09
j.newger17-Jun-08 5:09 
AnswerRe: Convert generic data to bytes Pin
Le centriste17-Jun-08 5:07
Le centriste17-Jun-08 5:07 
QuestionRemote DataBase Access Pin
ahmedsamir17-Jun-08 4:34
ahmedsamir17-Jun-08 4:34 
AnswerRe: Remote DataBase Access Pin
Parwej Ahamad17-Jun-08 4:41
professionalParwej Ahamad17-Jun-08 4:41 
GeneralRe: Remote DataBase Access Pin
ahmedsamir19-Jun-08 0:29
ahmedsamir19-Jun-08 0:29 
Questiontrying out UDP socket, and failing.... (on Vista) [modified] Pin
Super Lloyd17-Jun-08 4:33
Super Lloyd17-Jun-08 4:33 
AnswerRe: trying out UDP socket, and failing.... (on Vista) Pin
Parwej Ahamad17-Jun-08 4:42
professionalParwej Ahamad17-Jun-08 4:42 
GeneralRe: trying out UDP socket, and failing.... (on Vista) Pin
Super Lloyd17-Jun-08 4:57
Super Lloyd17-Jun-08 4:57 
AnswerRe: trying out UDP socket, and failing.... (on Vista) Pin
Super Lloyd17-Jun-08 4:54
Super Lloyd17-Jun-08 4:54 
QuestionEntity Framework Pin
Brendan Vogt17-Jun-08 4:26
Brendan Vogt17-Jun-08 4:26 
AnswerRe: Entity Framework Pin
Judah Gabriel Himango17-Jun-08 5:16
sponsorJudah Gabriel Himango17-Jun-08 5:16 
GeneralRe: Entity Framework Pin
Brendan Vogt18-Jun-08 3:55
Brendan Vogt18-Jun-08 3:55 
GeneralRe: Entity Framework Pin
Judah Gabriel Himango18-Jun-08 5:43
sponsorJudah Gabriel Himango18-Jun-08 5:43 
QuestionRe: Entity Framework Pin
Brendan Vogt23-Jun-08 3:42
Brendan Vogt23-Jun-08 3:42 
QuestionRetrieving Conrtols custom attribute?? Pin
zachbob17-Jun-08 4:07
zachbob17-Jun-08 4:07 

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.