i made one form to locate detail on gooogle map
ane i use text file to store data
and each data are stored in new line then ,
now when i submit form then redirect to map page
then i cant not get values submited in form
and i got message like
this file has been modified outside of source editor.
do you want to reload it ??
yes, yes to all, no, no to all
in popup box in ms visual studio 2010
give me proper solution to avoid this message and to get instant change in map....
Used Code in backend is:
protected void btnSubmit_Click(object sender, EventArgs e)
{
string path = @"F:\MIXED DATA\MapTEXT\example.txt";
string message = txtlat.Text + "|" + txtLan.Text + "|" + txtName.Text+"<br>"+ txtNo.Text + "<br>" + txtStreet.Text + "<br>" + txtArea.Text + "<br>" + txtPostalArea.Text + "<br>" + txtCity.Text + "|" + txtName.Text;
string appendText = message + Environment.NewLine;
File.AppendAllText(path, appendText);
Response.Redirect("Default.aspx");
string readText = File.ReadAllText(path);
Console.WriteLine(readText);}