|
|
Browse by Tags
All Tags » null reference exception
-
... e.g. if the stored procedure (named in prcName) does'nt exist or if it throws any SqlException, the FillDataTable - method always gets an NullReferenceException . Is there a way to see the original error message?
Code:1
2
3 public static DataTable ExecuteProcedure(string prcName, Hashtable prcParams)
4 {
5 ...
-
I've been trying to manage two Collections in memory and I've found the need to move Entities in and out of each Collection without making a trip to the Database.
I can use DetachEntity() to remove an Entity without any problems, but every time I try to use AttachEntity() I receive a Null Reference Exception. I searched the forums and found ...
-
Hi,
im currently using 2 collections for databinding to a DataGridView.
One collection is binded to the grid, the other serves as a buffer which is filled from a background thread. Whenever there is new data the buffer is filled and then copied in the main thread to the binded collection via combine(). This way the background thread never ...
-
Hello
I have spent the best part of a day chopping and changing everything to be sure that this is a bug and not something stupid at my end. I can't get to the bottom of it so am pretty certain I have a bug, so let me explain the process:
===========
Support Issue
===========
I have a view vwInventory that I have generated a class for using ...
-
Please help a newbie!
Getting null reference exception here:
Code:Return MyBase.Load(esQueryType.ManyToMany, _
''User,RoleUser|UserID,UserID|RoleID'', parms)
When I execute this method:
Code: Public Shared Function RoleGetUsers(ByVal role As Role) As UserCollection
Return role.UpToUserCollection
End Function ...
|
|
|