This commit is contained in:
@ -19,15 +19,13 @@ namespace Epost.DAL
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
string sql = string.Format("insert into errorlog(username,ControlIP,ControlID,Address,ErrorDate,Type,BkAddress,Remark) values('{0}','{1}','{2}','{3}','{4}',{5},'{6}','{7}')",
|
||||
|
||||
string sql = string.Format("insert into errorlog(username,ErrorDate,Type,title,Remark) values('{0}','{1}','{2}','{3}','{4}')",
|
||||
model.UserName,
|
||||
model.ControlIP,
|
||||
model.ControlID,
|
||||
model.Address,
|
||||
|
||||
DateTime.Now.ToString(),
|
||||
model.Type,
|
||||
model.BkAddress,
|
||||
model.Title,
|
||||
model.Remark);
|
||||
int x = db.InsertSql(sql);
|
||||
if (x > 0)
|
||||
|
Reference in New Issue
Block a user