Often you have to create a simple pages for your website, for example admin pages which allow you edit tables through web. When working with Ms Sql server it’s a very easy task which you can solve with SqlDataSource and DataGrid. But using Oracle it’s difficult to make your page work without exceptions and you [...]
You can create a link on your website, and after clicking it default email client will be opened.
The most simple mailto format is mailto:my@email.com
But you also can provide default body text, subject and add some people in cc or bcc.
This is example
mailto:me@email.com&cc=you@email.com&bcc=somebody@email.com&subject=Hello&body=Hello_it_is_body
the format is very simple
Parameter
Value
cc
here you can add person in carbon copy
bcc
here you can [...]
It’s simple,
Just use ConfigurationManager class
<?xml version=”1.0″ encoding=”utf-8″ ?>
<configuration>
<appSettings>
<add key=”ApplicationPath” value=”C:\MyProjects\TestProject\”/>
</appSettings>
</configuration>
And to read data use this code
public static string AppPath()
{
return ConfigurationManager.AppSettings["ApplicationPath"];
}
Do not forget add reference to the System.Configuration