If I use the following clause in my code I get two errors on this line.
if (dsFacultyBio.Tables[strTable].Rows.Count = 0)
The errors are
C:\DEV QX C#\6.4.1\QX.Data\QXFaculty.cs(318): Cannot implicitly convert type
'int' to 'bool'
and
C:\DEV QX C#\6.4.1\QX.Data\QXFaculty.cs(318): Property or indexer
'System.Data.InternalDataCollectionBase.Count' cannot be assigned to -- it
is read only
BUT!!!! If I change the = sign to a sign, it works fine. This works
fine.
if (dsFacultyBio.Tables[strTable].Rows.Count 0)
What should I be doing to make this work with the equality?
tia
las