Is there a way we can make a Cross Tab in GridView using ASP.NET 2.0.
There is a simple workarund available that the SQL statement can be restructred so that it returns cross tab view however this is not something which I want.
MailMessage mail=new MailMessage();
mail.To = "firstname.lastname@example.org";//to address
mail.From = "email@example.com"; //give any address
mail.Subject = "Issue Fixed"; //Subject of mail
mail.Body = "The issue has been fixed"; //Body of mail
SmtpMail.SmtpServer = "10.54.1.1";//Use this if u use proxy server for internet
My question is very simple, Suppose I have two aspx pages;Page1 and Page2. When I redirect from Page1 to Page2, Page2 should load. But if I directly specify the url of Page2, it should not load. How can I do that without using any Session or Cookies.
I am trying to kill process from task manager using "End Process" in "Processes" tab. But I tried to get the handle / PID of the process that I have selected to terminat. I would like to know how to get the handle / PID of the process that I am trying to terminate.
I tried to use TerminateProcess API to handle this. But I am not able to get handle for the killing process (e.g. winword.exe).