Click here to Skip to main content
15,898,571 members
Home / Discussions / C#
   

C#

 
AnswerRe: New to C#, please explain how this works... Pin
Naruki19-Apr-09 15:49
Naruki19-Apr-09 15:49 
QuestionCreate multiple derived instance in property grid for a property Pin
robert aaza18-Apr-09 6:50
robert aaza18-Apr-09 6:50 
Questiondialpad Pin
Roland Szigeti18-Apr-09 6:25
Roland Szigeti18-Apr-09 6:25 
AnswerRe: dialpad Pin
N a v a n e e t h18-Apr-09 6:51
N a v a n e e t h18-Apr-09 6:51 
GeneralRe: dialpad Pin
Roland Szigeti18-Apr-09 8:08
Roland Szigeti18-Apr-09 8:08 
GeneralRe: dialpad Pin
dan!sh 18-Apr-09 8:11
professional dan!sh 18-Apr-09 8:11 
AnswerRe: dialpad Pin
Luc Pattyn18-Apr-09 8:16
sitebuilderLuc Pattyn18-Apr-09 8:16 
QuestionADO.Net question Pin
Rafone18-Apr-09 6:10
Rafone18-Apr-09 6:10 
I have VS 2008 and have 3 different versions of SQL server running in my network. I tried a sample from the MSDN documents for finding server instances running in the network.

http://msdn.microsoft.com/en-us/library/a6t1z9x2.aspx[^]

I added
using System.Data.Sql;

to a simple starter app and a datagridview to the form. In the load event I use this code..

// Retrieve the enumerator instance and then the data.
SqlDataSourceEnumerator instance =
SqlDataSourceEnumerator.Instance;
System.Data.DataTable table = instance.GetDataSources();

dataGridView1.DataSource = table;
dataGridView1.Refresh();

when the apps runs it eventually bring back the 3 db server's PC name but the rest of the data (according to the docs should be ServerName, InstanceName, IsClustered, and Version)is not returned.
Anybody know why??

tia
rafone

Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...

AnswerRe: ADO.Net question Pin
Henry Minute18-Apr-09 7:21
Henry Minute18-Apr-09 7:21 
GeneralRe: ADO.Net question Pin
Rafone18-Apr-09 7:45
Rafone18-Apr-09 7:45 
GeneralRe: ADO.Net question Pin
Henry Minute18-Apr-09 7:55
Henry Minute18-Apr-09 7:55 
QuestionTwo title bars active at the same time [modified] Pin
stardust161118-Apr-09 4:58
stardust161118-Apr-09 4:58 
AnswerRe: Two title bars active at the same time Pin
Henry Minute18-Apr-09 7:24
Henry Minute18-Apr-09 7:24 
GeneralRe: Two title bars active at the same time Pin
stardust161118-Apr-09 9:00
stardust161118-Apr-09 9:00 
GeneralRe: Two title bars active at the same time Pin
Henry Minute18-Apr-09 10:12
Henry Minute18-Apr-09 10:12 
GeneralRe: Two title bars active at the same time Pin
stardust161118-Apr-09 10:56
stardust161118-Apr-09 10:56 
GeneralRe: Two title bars active at the same time Pin
Henry Minute18-Apr-09 11:07
Henry Minute18-Apr-09 11:07 
QuestionExtracting ID3 albumart with TagLib Sharp Pin
Jon Henry18-Apr-09 3:09
Jon Henry18-Apr-09 3:09 
AnswerRe: Extracting ID3 albumart with TagLib Sharp Pin
sonamsingh_1910-Jun-09 19:02
sonamsingh_1910-Jun-09 19:02 
AnswerRe: Extracting ID3 albumart with TagLib Sharp Pin
sonamsingh_1910-Jun-09 22:36
sonamsingh_1910-Jun-09 22:36 
QuestionRunning JIT on command Pin
Green Fuze18-Apr-09 0:50
Green Fuze18-Apr-09 0:50 
AnswerRe: Running JIT on command Pin
Eddy Vluggen18-Apr-09 0:55
professionalEddy Vluggen18-Apr-09 0:55 
GeneralRe: Running JIT on command Pin
Green Fuze18-Apr-09 1:38
Green Fuze18-Apr-09 1:38 
AnswerRe: Running JIT on command Pin
N a v a n e e t h18-Apr-09 6:40
N a v a n e e t h18-Apr-09 6:40 
AnswerRe: Running JIT on command Pin
Ravi Bhavnani18-Apr-09 12:09
professionalRavi Bhavnani18-Apr-09 12:09 

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.