April 15th, 2013, 04:13 PM
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.
April 15th, 2013, 02:32 PM
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....
October 22nd, 2012, 06:19 PM
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;
July 19th, 2012, 12:36 PM
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;
July 19th, 2012, 12:00 PM
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...
July 16th, 2012, 06:25 PM
thanks! I figured it out!
July 16th, 2012, 06:09 PM
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...