private string GetTemplate()
{
try
{
Assembly ass = Assembly.GetExecutingAssembly();
Stream str = ass.GetManifestResourceStream("AODL.Resources.OD.htmltemplate.html");
string text = null;
using (StreamReader sr = new StreamReader(str))
{
String line = null;
while ((line = sr.ReadLine()) != null)
{
text += line+"\n";
}
sr.Close();
}
str.Close();
return text;
}
catch(Exception)
{
throw;
}
}