Advertisement

1 - 10 of 19 containing alltags:("isdbnull") (0.001 seconds)
Which one is the better choice: If Not IsDBNull(shipReader("Name")) Then If Not shipReader("Name") Is DBNull.Value Then I like the first one?  Is there a difference?
Zones: ASP.Net ProgrammingDate Answered: 11/10/2004 Grade: A Views: 9
What I need to do is select multiple items in a list box based on data that i am returning from a dataset. Code:         Dim myRecord As New DealsDB.Deal_MainTran         myDR = myRecord.Get...
Zones: ProgrammingDate Answered: 10/25/2005 Grade: A Views: 0
Hi, Thanks for clicking. I really don't think I can see the wood for the trees at the moment When I use this code If IsDBNull(Value) Or Value = 0 Then It crashes for "Operator is not...
Zones: MS Visual BasicDate Answered: 12/09/2005 Grade: A Views: 0
I want to lose the Microsoft.VisualBasic reference from within my project, does anyone know the alternative to IsDbNull for checking the value from a datareader field that belong to the System ... ...
Zones: MS Visual BasicDate Answered: 04/07/2006 Grade: A Views: 0
I have the following code.  <% If (IsDBNull(DataBinder.Eval(Container.DataItem, "StartTime")) Or IsDBNull(DataBinder.Eval(Container.DataItem, "StoreArrival")) Or IsDBNull(DataBinder.Eval(Contain...
Zones: ASP.Net ProgrammingDate Answered: 07/31/2006 Grade: A Views: 4
In my asp.net application, I want to use as much IsDBNull as possible to prevent any potential exceptions. Can anybody give me some complete snippet showing how to use IsDBNull correctly? Also, whe...
Zones: ASP.Net ProgrammingDate Answered: 01/26/2007 Grade: A Views: 27
what reference do i have to import for this message to go. cheers Sean.
Zones: .NETDate Answered: 04/04/2004 Grade: A Views: 0
I'm trying to filter a dataview using rowfilter for selecting the null date values from the sql server like :         empsladap.Fill(empds, "emp_pay")         empsaldt = empds.Tables("EMP_PAY...
Zones: .NETDate Answered: 04/05/2004 Grade: B Views: 0
I am checking NULL values returned from the database but if say EnteredBy is NULL the thing errors out. I would think that this would just return 0. Is this a good way of doing this? Me.myLocati...
Zones: MS Visual BasicDate Answered: 04/26/2004 Grade: A Views: 0
ok i now don't get any erros, but i does not seems to work. i need it if a match in found to go to a new page if not stated a error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//...
Zones: ASP.Net ProgrammingDate Answered: 09/02/2004 Grade: A Views: 0