来自我的数组字符串中的调试器我得到了这个
"/ mercedes-benz/190-class/1993 /"class ="canonicalLink"data-qstring ="?sub = sedan"> 1993
我想在每个'/'之后拆分文本并在string []中获取它,这是我的努力
Queue<string> see = new Queue<string>(); //char[] a = {'\n '};
List<car_facts> car_fact_list = new List<car_facts>();
string[] car_detail;
foreach (string s in car)
{
MatchCollection match = Regex.Matches(s, @"<a href=(.+?)</a>",
RegexOptions.IgnoreCase);
// Here we check the Match instance.
foreach(Match mm in match)
{
// Finally, we get the Group value and display it.
string key = mm.Groups[1].Value;
//key.TrimStart('"');
//key.Trim('"');
key.Trim();
**car_detail = Regex.Split(key, "//");**//I tried with strin.Split as well and …Run Code Online (Sandbox Code Playgroud) 我试图sa通过SQL Server Management Studio 更改帐户的密码,但它没有改变它,我尝试了这里描述的所有技术http://blog.sqlauthority.com/2009/08/04/sql-server-forgot -the-密码的,用户名-SA /
当我试图通过sa进入管理工作室时,它给出了这个错误
用户'sa'登录失败.(.Net SqlClient数据提供程序)
如需帮助,请单击:http://go.microsoft.com/fwlink?ProdName = Microsoft + SQL + Server&EvtSrc = MSSQLServer&EvidID = 18456&LinkId = 20476
服务器名称:MY-PC\SQLEXPRESS错误号码:18456严重性:14状态:1行号码:65536
更改密码后,我收到此错误
已成功与服务器建立连接,但在登录过程中发生错误.(提供程序:共享内存提供程序,错误:0 - 管道的另一端没有进程.)(.Net SqlClient数据提供程序)
如需帮助,请单击:http://go.microsoft.com/fwlink?ProdName = Microsoft + SQL + Server&EvtSrc = MSSQLServer&EvidID = 233&LinkId = 20476
服务器名称:MY-PC\SQLEXPRESS错误号码:233严重性:20状态:0