level 11
int iCustomerId = GetMaxCustomerId();
SqlCommand cmd = _conn.CreateCommand();
cmd.CommandText = string.Format("update Customers set CustomerName='updated CustomerName',
Address = 'updated Address',Phone = "updated Phone" where CustomerId ={0}",iCustomerId);
运行的时候总是提示

2013年07月15日 08点07分
1
SqlCommand cmd = _conn.CreateCommand();
cmd.CommandText = string.Format("update Customers set CustomerName='updated CustomerName',
Address = 'updated Address',Phone = "updated Phone" where CustomerId ={0}",iCustomerId);
运行的时候总是提示
