Wrox Programmer Forums
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2004, 07:35 AM
Registered User
 
Join Date: Dec 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dinkarsinha
Default Using CDate()

Hi i am using asp.net with c# but can't use CDate() function.Should i include some dlls.Please suggest.CDate() can't be found?..I am novice in this field.
Kindly suggest

Dinkar Sinha
 
Old December 13th, 2004, 08:04 AM
Authorized User
 
Join Date: Aug 2003
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I really hate to be the bad guy here but you know Microsoft DID write some Docs on DOT.NET.

You might want to study what the stuff that the TOP 'using . . ' is all about.

 
Old December 13th, 2004, 08:06 AM
Registered User
 
Join Date: Dec 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dinkarsinha
Default

I have myself found the answer.Just i used DateTime.Parse(String Value) instead of CDate as in vb.net.Anyway please try to answer my calender control ques bcoz i still have a problem

Dinkar Sinha
 
Old December 13th, 2004, 08:11 AM
Authorized User
 
Join Date: Aug 2003
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If all you're trying to do is convert an object to a date type you just CAST it like:
Date MyDate = (DateTime) myObject;
Where is your CODE!?

I don't even see where CDate is usable in C#.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Using cdate function in dreamweaver Salims Classic ASP Basics 2 January 17th, 2008 06:42 PM
CDate problem ne0 Classic ASP Components 5 May 13th, 2004 06:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.