Delete a record process

xiaoxiao2021-03-06  88

DIM Conportal As New SqlConnection (CommunityGlobals.Connectionstring)

DIM CMDDELETE AS New SqlCommand ("delete community_contentpages where contentpage_id = @contentpageId", Conportal)

'Cmddelete.commandtype = commandtype.storedprocedure

Cmddelete.Parameters.Add ("@ ContentPageID", 40)

Conportal.open ()

cmddelete.executenonQuery ()

Conportal.Close ()

转载请注明原文地址:https://www.9cbs.com/read-105340.html

New Post(0)