Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将列设置为字符串值。
public virtual bool SetString( const char * cname, const char * value, size_t len )
cname 列的名称。
value 字符串值。传递 NULL 等同于调用 SetNull。
len 字符串的长度(以字节为单位)或 UL_NULL_TERMINATED_STRING(如果字符串以空值终止)。如果 len > 32K,则设置 SQLE_INVALID_PARAMETER。对于大型字符串,请调用 AppendStringChunk 代替。
如果成功,则返回 true,否则返回 false。