//数据调用层//////////////////////////////////////////////////////
public int InsertCalendar(int uKey,DateTime cTime,int cTimes,int cFreq,string cTitle,string cContent)
{
int Num = 0;
SqlParameter[] parameters =
{
new SqlParameter("uKey",SqlDbType.Int),
new SqlParameter("cTime",SqlDbType.DateTime),
new SqlParameter("cTimes",SqlDbType.Int),
new SqlParameter("cFreq",SqlDbType.Int),
new SqlParameter("cTitle",SqlDbType.VarChar),
new SqlParameter("cContent",SqlDbType.VarChar)
};