| we are already initializing it null (am I right here?) do you think I
| still need to assign Nothing in the line of code PullAhead = Nothing?
The compiler will implicitly initialize it to Nothing, you don't need to
assign Nothing to it per se...

Signature
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
| Hello Jay,
| Thank you for the suggestion. Its a good one that I have learnt from
[quoted text clipped - 63 lines]
| > | Thanks
| > | -L
Learner - 01 Aug 2006 12:47 GMT
Hello Jay,
I tried with this but when I send this as a parameter to a method in
my Business Layer
its throwing this error
*********************************************************************************************
System.InvalidOperationException was unhandled by user code
Message="Nullable object must have a value."
Source="mscorlib"
StackTrace:
at
System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
resource)
at System.Nullable`1.op_Explicit(Nullable`1 value)
at DealerQuestionsUS._btnGround_Click(Object sender, EventArgs
e) in
D:\VSProjects\GroundingDemo\GroundingDemo\DealerQuestionsUS.aspx.vb:line
143
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
********************************************************************************************
Am I missing some thing here?
the code is exactly the same as we discussed in our previous postings.
Thanks
-L
> | we are already initializing it null (am I right here?) do you think I
> | still need to assign Nothing in the line of code PullAhead = Nothing?
[quoted text clipped - 77 lines]
> | > | Thanks
> | > | -L