aspx:
Code:
<asp:DropDownList ID="cboDay" runat="server" Width="55px" Height="32px" AppendDataBoundItems="true"> <asp:ListItem></asp:ListItem></asp:DropDownList > <asp:DropDownList
<asp:DropDownList ID="cboDay" runat="server" Width="55px" Height="32px" AppendDataBoundItems="true"> <asp:ListItem></asp:ListItem></asp:DropDownList > <asp:DropDownList
protected void btnLog_Click(object sender, EventArgs e) { SqlConnection conn1 = new SqlConnection("Data Source=GATE-PC\\SQLEXPRESS;Initial Catalog=dbUsers;Integrated Security=True"); conn1.Open(); SqlCommand cmdd = new SqlCommand("select * from Users where UserName = @user AND Password = @pass", conn1); SqlParameter
<asp:GridView ID="GridView1" runat="server" CssClass="mGrid" EmptyDataText = "There are no records to display"> <Columns>
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="dsNames" DataTextField="Name" DataValueField="Id"> </asp:DropDownList> <asp:SqlDataSource ID="dsNames" runat="server" ConnectionString="<%$
<asp:HyperLink ID="link" runat="server" NavigateUrl="Here.aspx?id={0}" Font-Names="Times New Roman" Font-Size="Medium" >Click here</asp:HyperLink>
Leave a comment: