.Net Technology- Basics
Hello Friends
First of all let me introduce briefly about .Net
What is .Net and why?
generally we .Net people are called Lazy Programmer.
Because we need not to remember all the methods and properties of each class.
just put .(Period) leaded by class or method a long list of including methods and properties will be displayed.. LOL just choose and implement ...
so we are called lazy programmer..
comparatively in other Technologies this is little bit difficult.
First of all let me introduce briefly about .Net
What is .Net and why?
generally we .Net people are called Lazy Programmer.
Because we need not to remember all the methods and properties of each class.
just put .(Period) leaded by class or method a long list of including methods and properties will be displayed.. LOL just choose and implement ...
so we are called lazy programmer..
comparatively in other Technologies this is little bit difficult.
Comments
Keep it up :P all the best for the blog. keep writing :)
string doctype = HttpContext.Current.Request.QueryString["doctype"].ToString();
DataTable dt;
dt = objViewModel.GetViewDocumentById(Id,doctype);
if (dt.Rows.Count > 0)
{
byte[] images = (byte[])dt.Rows[0]["DocumentFile"];
HttpContext.Current.Response.ContentType = dt.Rows[0]["MIMEType"].ToString();
HttpContext.Current.Response.BinaryWrite(images);
}