Beispiel #1
0
 public void insertfile(int id,string title,string type,DateTime dt,int userid,string path)
 {
     DAL.DataBase db = new DAL.DataBase();
     string sql = "insert into file(id,title,type,time,userid,path) values("+id+",'"+title+"','"+type+"','"+dt+"',"+userid+",'"+path+"')";
     db.execute(sql);
     db.closeconn();
 }