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

Search:

Type: Posts; User: maurices5000

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,147

    Re: Where to put my connection string?

    Well i asked on a different forum. One guy said don't use a static method. I was also told that this was fine just remove the method parameter.
  2. Replies
    1
    Views
    1,147

    Where to put my connection string?

    I'm working with C# 2010. I placed my connection string into a Web.config file. The references all seem to be working. In trying to pass the connection string to my methods in the DataAccess tier....
  3. Replies
    0
    Views
    2,414

    Using Telerik RadListBox control

    How do i retrieve the selected value from the Listbox control. I can select the index but I can't retrieve that value.

    label1.Content = radListBox1.SelectedIndex;

    Thanks!
  4. Re: Trouble using App.Config ConnectionString (String works don't understand code)

    OK I think I've figured out how to retrieve the ConnectionString. I'm testing it now.

    public static string str = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
    ...
  5. Trouble using App.Config ConnectionString (String works don't understand code)

    I'm using VS2010 on XP.

    Below is the app.config file i'm trying to use. I don't understand the part about the connection string. I have two calls to the database that uses this same connection...
  6. Replies
    2
    Views
    986

    Re: C# 2010 Email Line Feed problems

    thanks! I figured it out!
  7. Replies
    2
    Views
    986

    C# 2010 Email Line Feed problems

    I've tried using "\r\n", "\n" and Environment.NewLine but all my results are the same when the email is sent. Basically i don't get any line feeds except after the first line. Everything else is...
  8. Understanding Processes and AppDomains

    I'm just trying to get a bit more understanding about what seems to be to me a contradiction in the C# Pro book i bought.

    The book says


    It appears to me from these statements that a process...
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured