Unable to cast object of type 'System.DBNull' to type 'System.String`

前端 未结 11 1953
青春惊慌失措
青春惊慌失措 2020-11-22 06:45

I got the above error in my app. Here is the original code

public string GetCustomerNumber(Guid id)
{
     string accountNumber = 
          (string)DBSqlHel         


        
11条回答
提交回复
热议问题