conn.ExecuteNonQuery("insert into [<@'@>Topic] (BoardId, [Title], [Body], AuthorName, AuthorId, Require, Price, IconId, SubjectId) VALUES (" + boardid.ToString() + ", '" + title + "', '" + content + "', '" + author + "', " + uid.ToString() + ", " + browserequire.ToString() + ", " + price.ToString() + ", " + iconid.ToString() + ", " + subjectid.ToString() + ")");

            topicid = (int)conn.ExecuteScalar("SELECT MAX(Id) FROM [<@'@>topic]");



conn.ExecuteNonQuery("insert into [<@'@>Reply] (TopicId, [Body], AuthorId, AuthorName, Ip, Tag, AttachIds, VoteIds) VALUES (" + topicid.ToString() + ", '" + content + "', " + uid.ToString() + ", '" + author + "', '" + Fetch.UserIp + "', " + tag.ToString() + ", '" + attachids + "',  '" + voteids + "')");

conn.Execute("insert into [<@'@>Reply] (TopicId, [Body], AuthorId, AuthorName, Ip, Tag, AttachIds, VoteIds) VALUES (" + topicid.ToString() + ", '" + content + "', " + uid.ToString() + ", '" + author + "', '" + Fetch.UserIp + "', " + tag.ToString() + ", '" + attachids + "',  '" + voteids + "')");


Connection = conn = new Connection();

using CVCommunity.Provider;

using cnVery.Data


dll cnVery.Web.dll
