string sqlAdd = string.Format("insert into {0} (DataName, DataDate, DataInfo, DataUrl) values ('{1}', '{2}', '{3}', '{4}')", str_Table, str_DataName, str_DataDate, str_DataInfo, str_DataUrl);
格式化字符串
最新推荐文章于 2022-02-13 13:10:20 发布
string sqlAdd = string.Format("insert into {0} (DataName, DataDate, DataInfo, DataUrl) values ('{1}', '{2}', '{3}', '{4}')", str_Table, str_DataName, str_DataDate, str_DataInfo, str_DataUrl);