newcommessage.asp

来自「功能齐全的oa系统」· ASP 代码 · 共 31 行

ASP
31
字号

<%
	Function NewComMessage(ObjDB)
		
		Dim ObjRS,StrSQL
		
		StrSQL = "Select * from T_CRM_Stock_Application where ID =1"
		Set ObjRS = Server.CreateObject ("ADODB.RecordSet")
		ObjRS.Open StrSQL,ObjDB,1,3
		
		ObjRS.AddNew 
		ObjRS("AccountID") = Request.Form ("AccoutID")
		ObjRS("Title") = Request.Form ("Title")
		ObjRS("Body") = Request.Form ("Body")
		ObjRS("IsAttach") = Request.Form ("IsAttach")
		ObjRS("MsgType") = Request.Form ("MsgType")
		ObjRS("MsgLevel") = Request.Form ("MsgLevel")
		ObjRS("IsHTML") = Request.Form ("IsHTML")
		ObjRS.Update
		
		NewComMessage = ObjRS("ID")
		ObjRS.Close 
		Set ObjRS = Nothing
'		Response.Write  NewComMessage
		
	End Function

		
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?