1.文本更新
string strName;
sql = "update 模式表 a SET 模式名称 ='"+ strName +"'where a.模式ID =" + strID;
myDb.ExecuteSQLNonquery(sql);
2.数值更新
int iRed;
sql = "update 模式表 a SET 红光亮度 =" + iRed + " where a.模式ID =" + strID;
myDb.ExecuteSQLNonquery(sql);