<!--#include file="Conn.asp"-->
<%
	Set rsNews=Server.CreateObject("ADODB.RecordSet")
	Id=Request.Form("Id")
	If Id="" Then
		rsNews.Open "Select * from Business",conn,1,3
		rsNews.Addnew
	Else
		rsNews.Open "Select * from Business where Id="&Id,conn,1,3
	End If
	rsNews("Class")=Request.Form("NewsClass")
	rsNews("Title")=Request.Form("Title")
	rsNews("Content")=Request.Form("Content")
	rsNews("AddTime")=Request.Form("AddTime")
	rsNews.Update
	If Id="" Then
		Response.Write "<script language=javascript>alert('添加招商信息成功!!');location.href='../AddBusiness.asp';</script>"
	Else
		Response.Write "<script language=javascript>alert('修改招商信息成功!!');location.href='../SetBusiness.asp';</script>"
	End If
%>