会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Konimeter
Konimeter的Blog主站
Email:
koni@21cn.com
Konimeter@Solartimes
QQ:
670955
Konimeter@ShangXun
MSN:
konimeter@hotmail.com
博客园
首页
新随笔
联系
订阅
管理
DeletePicture
DeletePicture
public
override
void
DeletePicture(
int
sectionID,
int
threadID)
{
using
( SqlConnection myConnection
=
GetSqlConnection() )
{
SqlCommand myCommand
=
new
SqlCommand(databaseOwner
+
"
.cs_Thread_Delete
"
, myConnection);
//
Mark the Command as a SPROC
myCommand.CommandType
=
CommandType.StoredProcedure;
//
Add Parameters to SPROC
myCommand.Parameters.Add(
"
@SectionID
"
, SqlDbType.Int,
4
).Value
=
sectionID;
//
15
//
氯胺酮的相册
myCommand.Parameters.Add(
"
@ThreadID
"
, SqlDbType.Int,
4
).Value
=
threadID;
//
27
//
关于E欣欣4的主题
myCommand.Parameters.Add(
this
.SettingsIDParameter());
//
Execute the command
myConnection.Open();
myCommand.ExecuteNonQuery();
myConnection.Close();
}
}
posted on
2005-10-20 11:33
Konimeter
阅读(
287
) 评论(
0
)
收藏
举报
刷新页面
返回顶部