CS0103: 当前上下文中不存在名称“Textbox1”
<td style="width: 794px; height: 50px; text-align: center"><asp:Label ID="label" runat="server" Height="36px" Style="z-index: 100; left: 28px;
position: absolute; top: 136px" Text="考勤编号:" Width="177px"></asp:Label>
</td>
<td style="width: 794px; height: 50px; text-align: center">
</td>
<td style="width: 794px; height: 50px; text-align: center">
<asp:Label ID="Label1" runat="server" Height="36px" Style="z-index: 100; left: 26px;
position: absolute; top: 297px" Text="考勤日期" Width="177px"></asp:Label>
</td>
<td style="width: 794px; height: 50px; text-align: center">
<asp:TextBox ID="T_kid" runat="server" Height="30px" Style="z-index: 100; left: 215px;
position: absolute; top: 137px" Width="173px"></asp:TextBox>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1"
DataTextField="lx" DataValueField="xid" Style="z-index: 102; left: 625px; position: absolute;
top: 143px">
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
Textbox1.Text = Calendar1.SelectedDate.ToShortDateString();
}
protected void Calendar2_SelectionChanged(object sender, EventArgs e)
{
Textbox2.Text = Calendar2.SelectedDate.ToShortDateString();
}
}