Tuesday, 31 March 2015

ASP.NET - simple example that opens Google page with submitted search query

Watch on YouTube


using System.Diagnostics;

namespace WebApplication1
{
    public partial class GoogleTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Process.Start("http://google.com/search?q=Computer Programming");
        }
    }
}

No comments:

Post a Comment