C# .NET - PS - I have gotten this error

Peter Bromberg replied at 13-Nov-04 12:57
this is an approach that takes care of it:

SqlParameter parm1 = new SqlParameter("@Beginning_Date",SqlDbType.DateTime );
						
parm1.Value = myDateTimeVariable;

command.Parameters.add(parm1);
Biography - Peter Bromberg
Peter Bromberg is a C# MVP, MCP, and .NET expert who has worked in banking, financial and telephony for over 20 years. Pete focuses exclusively on the .NET Platform, and currently develops SOA and other .NET applications for a Fortune 500 clientele. Peter enjoys producing digital photo collage with Maya,playing jazz flute, the beach, and fine wines. You can view Peter's UnBlog and IttyUrl sites.
Please post questions at forums, not via email!

Click here to sign in and reply. You could earn money via our message board contest just for being helpful.
  The SqlParameterCollection only accepts non-null - Jim Tanner  13-Nov-04 12:08 12:08:48 AM
      Doesn't make sense to me either - Peter Bromberg  13-Nov-04 08:14 8:14:31 AM
      PS - I have gotten this error - Peter Bromberg  13-Nov-04 12:57 12:57:45 PM
View Posts

  

Search

search



Purchase