單擊左邊鏈接的
http://develop
圖
此界面負責實現連鎖店信息的添加
private void Page_Load(object sender
{
if(Session[
{
//獲得數據庫連接字符串
string STconnection = ConfigurationSettings
//創建數據庫的SqlConnection
STconn = new SqlConnection(STconnection);
}
else
{
Response
}
}
private void STDe_add_Click(object sender
{
if(STDeName
{
STDe_warn
}
else if(STDeMaster
{
STDe_warn
}
else
{
//創建數據庫的SqlCommand對象
SqlCommand STcmd = new SqlCommand(
//定義訪問數據庫的方式為存儲過程
STcmd
//為存儲過程添加參數
STcmd
right
From:http://tw.wingwit.com/Article/program/net/201311/15610.html