摘要:
如用户登陆成功后,跳到这个页面using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class _Default : System.Web.UI.Page {... 阅读全文
摘要:
设计如图:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/... 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebContr... 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebContr... 阅读全文
摘要:
<以用户登陆为例>using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Data;using System.Data.SqlClient;using System.Configuration;/// <summary>///DBHelper 的摘要说明/// </s... 阅读全文
摘要:
在VS2008配置文件中,找到Ctrl+F找到<connectionStrings/>把它去掉,然后再找到<appSettings/>把这段代码写在<appSettings/>后面 <connectionStrings> <add name="connectionString" connectionString="server=.;databa... 阅读全文
摘要:
拖一个FileUpload控件,设计如图:查看源:<body> <form id="form1" runat="server"> <div> <asp:FileUpload ID="UploadFile" runat="server" /> <br /> <asp:Button ID="btnSave" runat="server"... 阅读全文
摘要:
拖一个DropDownList到内置aspx中,设置属性AutoPostBack为true,在设计中双击控件<body> <form id="form1" runat="server"> <div> <asp:DropDownList ID="ddlGetId" runat="server" AutoPostBack="true" onselectedin... 阅读全文
摘要:
拖一个DropDownList到内置aspx中,设置属性AutoPostBack为true,在设计中双击控件<body> <form id="form1" runat="server"> <div> <asp:DropDownList ID="ddlGetId" runat="server" AutoPostBack="true" onselectedin... 阅读全文