Posted on: 10/28/2013 5:04:12 PM | Views : 598

hi,
I have a dropdown list binded to ObjectDataSource which has a Select Parameter ClientId of Type GUID

If the user is logged in when they visit the page I want to assign their ClientId to the ObjectDataSource.

IF NOT logged in then it does not matter as the Client will not use the List.
Below is my code but I get error


escription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.  Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: 
Line 37: { Line 38: //Check necessary authentication etc. Line 39: this.Obj ...

Go to the complete details ...