在VB.Net中你可以写:
If Not IsDBNull(oCustomerNameDataRow(0)) Then cbCustomerName.Items.Add(oCustomerNameDataRow(0).ToString End If
C#中的方法IsDBNull相当于什么?
c# vb.net
c# ×1
vb.net ×1