I'm keep getting an error trying to use system.DbNULL, but I can't use
NULL either. What's the deal?
Error:
'DBNull' is a type in 'System' and cannot be used as an expression.
Code:
If Not
Database.table("select_all").Rows(DbCurrent).Item("score") Is
System.DBNull) Then
TotalScore.Text =
Database.table("select_all").Rows(DbCurrent).Item("score").ToString()
End If
Thanks
Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com
---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/