Click here to Skip to main content
15,889,867 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: master page problem Pin
mark_me24-Apr-09 18:13
mark_me24-Apr-09 18:13 
QuestionNeed help with gridview datakeys property ! Pin
guitaret24-Apr-09 13:45
guitaret24-Apr-09 13:45 
QuestionMicrosoft.Win64.RegistryKey?!!! Pin
swetha sankaran24-Apr-09 8:37
swetha sankaran24-Apr-09 8:37 
AnswerRe: Microsoft.Win64.RegistryKey?!!! Pin
Ryomin24-Apr-09 8:51
professionalRyomin24-Apr-09 8:51 
GeneralRe: Microsoft.Win64.RegistryKey?!!! Pin
swetha sankaran24-Apr-09 9:44
swetha sankaran24-Apr-09 9:44 
QuestionGot it(atleast partially) Pin
swetha sankaran24-Apr-09 9:41
swetha sankaran24-Apr-09 9:41 
AnswerRe: Got it(atleast partially) Pin
Ryomin24-Apr-09 9:50
professionalRyomin24-Apr-09 9:50 
AnswerGot It Pin
Ryomin24-Apr-09 9:59
professionalRyomin24-Apr-09 9:59 
Hi Swetha,

I got the results you were looking for.
In my case this returns more than one instance. But it does work.

Try using this

Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer mc = new Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer();
        foreach (Microsoft.SqlServer.Management.Smo.Wmi.ServerInstance si in mc.ServerInstances)
        {
            Response.Write("ServerInstance: " + si.Name);
        }


In my case it returns two instances
MSSMLBIZ
SQLEXPRESS

Cheers

Disgyza
Programmer Analyst

GeneralRe: Got It Pin
swetha sankaran24-Apr-09 10:01
swetha sankaran24-Apr-09 10:01 
AnswerStop posting and deleting Pin
AlexeiXX324-Apr-09 10:51
AlexeiXX324-Apr-09 10:51 
GeneralRe: Stop posting and deleting Pin
swetha sankaran24-Apr-09 13:27
swetha sankaran24-Apr-09 13:27 
GeneralRe: Stop posting and deleting Pin
AlexeiXX324-Apr-09 13:37
AlexeiXX324-Apr-09 13:37 
Question[Message Deleted] Pin
swetha sankaran24-Apr-09 7:49
swetha sankaran24-Apr-09 7:49 
AnswerRe: Object reference not set to an instance of an object. Pin
Sandeep Akhare24-Apr-09 7:55
Sandeep Akhare24-Apr-09 7:55 
AnswerRe: Object reference not set to an instance of an object. Pin
Rolando CC24-Apr-09 7:56
professionalRolando CC24-Apr-09 7:56 
AnswerRe: Object reference not set to an instance of an object. Pin
Rolando CC24-Apr-09 8:00
professionalRolando CC24-Apr-09 8:00 
AnswerRe: Object reference not set to an instance of an object. Pin
Ryomin24-Apr-09 8:03
professionalRyomin24-Apr-09 8:03 
Question[Message Deleted] Pin
swetha sankaran24-Apr-09 8:26
swetha sankaran24-Apr-09 8:26 
AnswerRe: Object reference not set to an instance of an object. Pin
Rolando CC24-Apr-09 8:37
professionalRolando CC24-Apr-09 8:37 
General[Message Deleted] Pin
swetha sankaran24-Apr-09 8:38
swetha sankaran24-Apr-09 8:38 
GeneralRe: Object reference not set to an instance of an object. Pin
Rolando CC24-Apr-09 8:41
professionalRolando CC24-Apr-09 8:41 
AnswerRe: [Message Deleted] Pin
Ryomin24-Apr-09 8:48
professionalRyomin24-Apr-09 8:48 
QuestionThe request failed with HTTP status 400: Bad Request Pin
Sandeep Akhare24-Apr-09 7:46
Sandeep Akhare24-Apr-09 7:46 
AnswerRe: The request failed with HTTP status 400: Bad Request Pin
Rolando CC24-Apr-09 8:15
professionalRolando CC24-Apr-09 8:15 
GeneralRe: The request failed with HTTP status 400: Bad Request Pin
Sandeep Akhare24-Apr-09 8:24
Sandeep Akhare24-Apr-09 8:24 

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.