litMsg is a "literal", a Server Control from the toolbox/Web Forms Tab.
When you first posted the thread you wrote
"And in Page_Load.." and "Response.Write"
so I thought your application must be an ASP. NET application, since in a Windows Forms Application the event would be "Form... Load", and there normally is no "Resonse.Write" in a Windows Forms application.