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

Search:

Type: Posts; User: SlowCoder74

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    976

    EWS namespace not recognized?

    I downloaded EWS (Exchange Web Services) 2.1 from Microsoft and installed it. I added a reference to

    C:\Program Files (x86)\Microsoft\Exchange\Web Services\2.1\Microsoft.Exchange.WebServices.dll...
  2. Re: C#/ASP.Net Filling, selecting specific value in DropDownList

    Resolved. Instead of keeping the old code in the HTML/ASP.Net code, recoded in code-behind to populate the ddl, and everything is now working.

    However, would still appreciate knowing what else...
  3. C#/ASP.Net Filling, selecting specific value in DropDownList

    I've inherited a C#/ASP.Net project. Looks like a ddl is being filled dynamically from DB on the ASP.Net side:


    <asp:DropDownList ID="facility" runat="server" Width="270px" AutoPostBack="true"
    ...
  4. Replies
    2
    Views
    784

    Re: Visual Studio 2012 not running

    Hmmm ... We had added a second database project to the solution, and it appears it became the default project. So when I attempted to execute, that project was running, instead of the intended one. ...
  5. Replies
    2
    Views
    784

    Visual Studio 2012 not running

    My manager added one of my C#/ASP.Net projects to TFS a couple of days ago. Since then, I've found that pressing F5 no longer starts the project. Instead, it builds and deploys successfully, and...
  6. Re: Updating one table from another via inner join in MSSQL?

    Interesting ... I took a look at this: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=105943, and pasted my SQL into the New Query window. It worked!

    I was previously using the Show SQL Pane...
  7. Updating one table from another via inner join in MSSQL?

    I'm trying to update one table from another, using the following SQL:


    UPDATE c
    SET c.state_abbr = s.state_abbr
    FROM Cities AS c
    INNER JOIN States AS s ON s.state_name = c.state_name
    When I...
  8. Re: LINQ: getting the value of a property directly

    This works:
    string division = (from x in facilityList where x.name == facility select x.division).FirstOrDefault();
  9. LINQ: getting the value of a property directly

    Knowing that a specific query will always return exactly one list object record, can I easily retrieve just one property from that record, and apply it to a variable?

    e.g.,
    string division = from...
  10. Replies
    2
    Views
    772

    Re: Method allowing multiple controltypes

    Thank you codedabbler. I got around my issue by using the "dynamic" type. For specific control types, e.g. DropDownList, I was able to use control.GetType().
  11. Replies
    2
    Views
    772

    Method allowing multiple controltypes

    I would like a single method to control the colors of multiple types of HTML controls.


    private void Control_SetColors(TextBox control, string fgColor, string bgColor)
    {
    //fgColor and...
  12. Re: LINQ query not working, with casting issues

    Actually, I played with it some more, and was able to fix.

    I changed "var query" to "IEnumerable<Facility> query" and it worked!
  13. LINQ query not working, with casting issues

    Very new to C# and LINQ.

    I have a LINQ problem that I'm sure you guys can help me with. I need to filter based on optional parameters.


    private void Facilities_Display(string facabbr =...
  14. Replies
    0
    Views
    1,757

    GridView UpdateCommand SQL

    First time trying to set up GridView on ASP.NET:


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    </head>
    <body>
    <form id="form1" runat="server">
    ...
  15. Replies
    1
    Views
    3,075

    Regex.IsMatch is not working

    EDIT: SCRATCH THAT! I had the arguments backwards!

    This may be more of a regex question than a c# question. I'm learning regex.


    using System.Text.RegularExpressions;

    MyOutput.Text =...
  16. Replies
    2
    Views
    910

    Understanding instantiation?

    I've been coding in multiple linear languages (VB5/6, ASP Classic, etc.) for years. I'm finding that C# is quite different in its foundation and implementation, and I'm having some difficulty...
  17. Retrieving file object from function, then pass to another function?

    I would like to have 2 functions. (FYI, I haven't even tested these because I don't have a compiler on this PC, so don't know what they'll do. I'm also new to C++, self-teaching.)

    My question...
  18. Replies
    1
    Views
    4,628

    C++ Cross-Platform Compatibility

    New to C++ ... lots to learn. Learning by doing. :) I want to develop for use on both Windows and Linux, without having to worry much about re-coding for each platform.

    How much...
  19. Re: Difference in functionality when displaying text?

    Yes, that logic is sound. Thank you.
  20. Replies
    2
    Views
    847

    Re: filtered output?

    Hmm ... I typically add remarks to the top of my source to remind me. Seems like any code I write is never "complete" (an artist is never happy with their own work), so I'm always going back to it...
  21. Difference in functionality when displaying text?

    It's the little things right now ...

    What's the functional difference between these two WriteLine()statements?


    string you = "You", they = "They";
    Console.WriteLine("Me " + you + " " + they);...
  22. Re: In what instance would Main() return a value?

    Ah. I'd always thought the value was returned via console. This makes sense.
  23. In what instance would Main() return a value?

    According to MS, Main() can return a value: http://msdn.microsoft.com/en-us/library/k1sx6ed2.aspx

    I'm trying to think of an instance when Main() would need to return a value, being that it's the...
  24. Re: Showing off my first C# Program! ... And questions?

    You guys have provided some very good information to help me get started. :) Thank you!
  25. Re: Showing off my first C# Program! ... And questions?

    I agree. I wasn't aware of the specific C# conventions.
    The only one I really have an argument with is the Hungarian Notation. Other than "it's not standard", I can't think of a reason not to use...
Results 1 to 25 of 28
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured