dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mshdsp

Page 1 of 3 1 2 3

Search: Search took 0.23 seconds.

  1. Looking to learn MVC. Please recommend a book.

    Hi there,

    I'm a C# developer with a keen interest in learning MVC. I don't have any experience with MVC (nor with ASP.NET for that matter), so I would need a book for the total beginner.

    I'm...
  2. Replies
    9
    Views
    1,081

    Re: Need some help starting out?

    I know this is off topic, but I thought I'd point you in the direction that may help you in your quest for C# enlightenment.

    I started by reading "Visual C# 2005 - Step by Step" published by...
  3. Replies
    2
    Views
    748

    Local variables in a static Method

    Hi Forum members,

    I have a question relating to the scope of non-static local variables declared in a static Method and if the values are destroyed when the variables are out of scope. I have run...
  4. [RESOLVED] Try...Catch... a simple question

    Hi Forum members,

    I just wanted to confirm the behaviour of the Try...Catch statements. Please consider the following method (just an example!):




    public void AMethod()
    {
    string...
  5. Re: Compile-time vs. runtime types... I'm confused...

    Thanks all for responding to this post; I am most grateful to you for taking the time to be so informative and polite. ;)
  6. Re: Compile-time vs. runtime types... I'm confused...

    That's what I thought. Thanks for the clarification. :thumb:
  7. [RESOLVED] Compile-time vs. runtime types... I'm confused...

    Hi there fellow forum members.

    I wanted to call upon your knowledge, as I have a simple concept that I thought I understood until yesterday when I was looking at some code in Visual Studio 2008.
    ...
  8. Replies
    3
    Views
    889

    Re: Delegates: A simple question

    Thanks for the responses. Much appreciated. :)
  9. Replies
    3
    Views
    889

    [RESOLVED] Delegates: A simple question

    Hi Forum members,

    I have been refreshing my understanding of Delegates, and I have a very simple question concerning the terminology. My source of information is from the excellent book, "Pro C#...
  10. Replies
    7
    Views
    2,383

    Re: why does WebResponse.ContentLength return -1?

    Many thanks for your response! ;)
  11. Replies
    7
    Views
    2,383

    Re: why does WebResponse.ContentLength return -1?

    I looked at the web services provided by Windows Live (that might be another avenue you may want to pursue) and it mentioned having to apply for an application ID. I'm wondering if this is something...
  12. Replies
    7
    Views
    2,383

    Re: why does WebResponse.ContentLength return -1?

    I'm suggesting that you may need to obtain a username/password in order to consume the URL. I tried my suggestion and it worked with a different URL. Hence why authentication may be causing you the...
  13. Replies
    9
    Views
    1,427

    Re: mysql class - how to check connectivity?

    Your SQL connection object should have a connection state property. You could test for the state prior to your program communicating with the SQL server. Alternatively, you could catch the specific...
  14. Replies
    7
    Views
    2,383

    Re: why does WebResponse.ContentLength return -1?

    -1 signifies that a value was not returned.

    It may be an authentication issue. Try initialising your credentials:




    string requestUrl = "http://search.live.com/results.aspx?q=dog";...
  15. Replies
    5
    Views
    817

    Re: Reference Type assignment...

    Thank you kindly. :)
  16. Replies
    5
    Views
    817

    Re: Reference Type assignment...

    Thanks for the clarification, guys. :thumb:

    How do I mark this thread as resolved?
  17. Replies
    6
    Views
    1,052

    Re: 2 Simple Beginner Questions

    Amendment:



    public void DateValidation(ref int iDay, ref int iMonth, ref int iYear)
    {
    bool bIncremented = false;

    switch (iMonth)
    {
  18. Replies
    6
    Views
    1,052

    Re: 2 Simple Beginner Questions

    I'm still learning, so I apologise now if this isn't so efficient (or error free!):



    public void DateValidation(ref int iDay, ref int iMonth, ref int iYear)
    {
    bool...
  19. Replies
    5
    Views
    817

    [RESOLVED] Reference Type assignment...

    Hi there,

    A real quick question (sorry for the simplicity in nature :blush: ) for those that know. It concerns reference type assignment.



    Foo foo = new Foo();
    Foo foobar = foo;
  20. Re: Questions about casting object types...

    Understood. Thanks. ;)
  21. Re: Questions about casting object types...

    So this is a valid statement and won't cause an exception at runtime?


    Employee emp = (Employee)Obj;

    Thanks again for your help.
  22. Re: Questions about casting object types...

    Thanks for the response! ;)
  23. Re: Questions about casting object types...

    Thanks for the response! ;)
  24. Re: Questions about casting object types...

    I thought this explicit cast


    Employee emp = (Employee)Obj;

    would work given the Obj reference variable points to an Employee object?
  25. [RESOLVED] Questions about casting object types...

    Hi there, ladies and gents.

    I am still in the full throws of learning C# and OOP; however, I'm not actively using it on a day-to-day basis, so my knowledge is based on books rather than real-world...
Results 1 to 25 of 62
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)