我正在使用带有微软帐户的Windows 10。我想连接到通过asp.net在Visual Studio中构建的Microsoft SQL服务器。
我正在使用以下内容:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Applicant Login</title>
<link href="bootstrap.css" rel="stylesheet" />
</head>
<body style="margin-left:30px">
<div style="float:right">
<img src="1.png"/>
<br />
<img src="2.png"/>
</div>
<div>
<a href="Default.aspx" class="">Back</a>
</div>
<br />
<div >
<h1 style="color:rgb(159,30,68)">Graduate Tracking System</h1>
<br />
Login as:
<br />
<br />
<form runat="server">
<div style="margin-bottom:30px">
<label class=" " style="margin-right:85px">ID :
</label>
<asp:TextBox TextMode="Email" CssClass="input-md form-inline " id="myid" Enabled="true" runat="server"></asp:TextBox>
</div>
<label style="margin-right:30px">Password :</label>
<asp:TextBox TextMode="Password" id="mypass" runat="server"></asp:TextBox>
<br />
<br />
<input class="btn btn-md" type="submit" value="Submit"/>
<p><asp:Label id="lbl1" runat="server"></asp:Label></p>
</form>
</div>
</body>
</html>
但它没有显示任何内容