Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想记录包含 NSRect 值的“frame”的值。除了在 DLog() 中使用 %@ 之外,正确的方法是什么?
DLog(@"frame = %@", frame);
Dlog(@"frame = %@", NSStringFromRect(frame));
我正在开发 WCF 服务,在该服务中,我尝试将传递给该方法的数据表中的数据加载到本地数据库中的另一个数据表中(在这种情况下,“本地”数据库是 SQL Server 数据库在 Windows 2003 服务器上)。当我这样做时,我收到以下错误消息:
“表 'ASIVocationalNeeds' 中列 'VocNeedDesc' 的值是 DBNull。”
这实际上是可以的,因为表 ASIL