打印本文 打印本文 关闭窗口 关闭窗口
获取Sql服务器列表 (C#)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数5942  更新时间:2007/11/14 11:14:46  文章录入:mintao  责任编辑:mintao
int len = txt.IndexOf("}") - start;
if ((start > 0) && (len > 0))
{
txt
= txt.Substring(start,len);
}

else
{
txt
= string.Empty;
}

}

}

}

}

}

catch (Exception ex)
{
//Throw away any error if we are not in debug mode
#if (DEBUG)
MessageBox.Show(ex.Message,
"Acquire SQL Servier List Error");
#endif
txt
= string.Empty;
}

finally

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口