lnkSqlServer.Links.Add(0, lnkSqlServer.Text.Length, "-S " + Server + Instance + " -d " + Database + "-E");
private void lnkSqlServer_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { System.Diagnostics.Process.Start("ssms.exe", e.Link.LinkData.ToString()); }
<li class="list-group-item">Server : <a href='"-S " + {{model.Server}} + {{model.Instance }} + " -d " + {{model.Database }} +"-E"' target="_ssms.exe"> {{model.Server}} </a> </li>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)