用string.Format方法格式化处理
1
2
3
4
|
string
command=
string
.Format(
@"update WellTable Set chuizhiduan={0},zengxieduan={1}
where 井段='井斜角'"
,Math.Round(c.KopDepth,2)
,Math.Round((c.KopDepth+zengIncrementIntervalLength),2));
|