سلام
به این کد نگاه کنید:
namespace DAL
{
public class StoreDB
{
public DataTable GetProducts()
{
// Get the connection string from the .config file
string ConnentionString = Properties.Settings.Default.Store;
// Create the ADO.NET objects
SqlConnection con = new SqlConnection(ConnentionString);
}
}
}
معنی این کد را نفهمیدم:
string ConnentionString = Properties.Settings.Default.Store;
لطفا توضیح دهید.
یا علی