C# google map application using windows form

C# google map  application using windows form in asp.net

Introduction :  how to make google   map application using c# program

Step :1  Add the Web Form  & add  control splitter and webBrowser and also add Button & Textbox


Step 2: Now add the code Behind file

 public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string State = textBox1.Text;
            StringBuilder ad = new StringBuilder();
            ad.Append("https://www.google.com/maps?q=");
            if (State != null)
            {
                ad.Append(State);
            }
            webBrowser1.Navigate(ad.ToString());
        }
    }

Here  " https://www.google.com/maps?q=" google url  it is build using the string builder  user can enter the city or country name i n textbox and find result in apps.

Step 3 : Run Programme




See Other Tutorial :

*  AngularJS Crude With ASP.NET MVC

*  Convert Rows to columns using 'Pivot' in SQL Server

*  Mvc Registration page With user exist using Ajax method

*  MVC 4 How to Perform Insert Update Delete Edit Select Operation

*  MVC4 Edit,update,Delete,cancel inside gridview using sql database

*  MVC 4 Gridview To Display Data Using SQL Server Database With Simple code 

*  Login page in asp.net Mvc4 Web application

*  Mvc4 How to bind Dropdown List using Sql Database

Gridview find control in asp.net
Previous
Next Post »