public string test(string file) { //sql = "select TOP(8) ProductName from Product ORDER BY NEWID()"; sql = "select Item,Introduction from Type where Item in ('瓜果類','大漿果','果菜類')"; return(sqlMethod.Select(sql)); //sql = "insert into Test (ContentText,Date) values ('" + file + "','" + gm.getCurrentDate() + "')"; //return sqlMethod.Insert(sql); }