using System;
using System
using System
using HaiSky
using System
namespace HaiSky
{
public class User : HaiSky
{
public User(string newConnectionString) : base(newConnectionString)
{//直接路由連接字符串}
public int Create(string user_nm
{
int rowsAffected;
SqlParameter[] parameters = {new SqlParameter(
new
SqlParameter(
parameters[
parameters[
parameters[
try
{
RunProcedure(
}
catch
{ }
return (int)parameters[
}
}
}
using System;
using System
using HaiSky
namespace HaiSky
{
public class User : HaiSky
{
int userID;
string userName;
string userPwd;
string strConn;
public User()
{
strConn = ConfigurationSettings
}
public int Careate()
{
AccountsData
userID = dataUser
return userID;
}
public int UserID
{
get
{
return userID;
}
set
{
userID = value;
}
}
public string UserName
{
get
{
return userName;
}
set
{
userName = value;
}
}
public string UserPwd
{
get
{
return userPwd;
}
set
{
userPwd = value;
}
}
}
}
using System;
using System
using System
using System
using System
using System
using System
using System
using System
using System
using HaiSky
namespace HaiSky
{
public class Register : System
{
protected System
protected System
protected System
protected System
private void Page_Load(object sender
{
Table
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base
}
private void InitializeComponent()
{
this
this
}
#endregion
private void Button
{
int i;
HtJob
BusinessUser
BusinessUser
i = BusinessUser
Response
}
}
}
CREATE PROCEDURE IF_user_info
(@user_nm char(
AS
insert user_info(user_nm
set @user_ID = @@identity
IF @@ERROR >
BEGIN
RAISERROR (
From:http://tw.wingwit.com/Article/program/net/201311/13704.html