Archive for the ADO.net Category

Description:

There is no available sub category in ADO.net

List Articles

Get sql server instances using C#

SqlDataSourceEnumerator instance = SqlDataSourceEnumerator.Instance; System.Data.DataTable table = instance.GetDataSources(); foreach (System.Data.DataRow row in table.Rows) { string instanceName = string.Empty; if (row["ServerName"] != DBNull.Value) instanceName = row["ServerName"].ToString(); if(row["InstanceName"] != DBNull.Value || !string.IsNullOrEmpty(Convert.ToString(row["InstanceName"]).Trim())) { ...more

 
May 2013
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Technologies