I'm developing an asp.net
web-forms application with entity framework
. There are two columns in my database table to add Latitude
and Longitude
. But I don't want to add two TextBoxes
in user interface to add them.
I need to add one TextBox
to add those data, separated by comma. (ex: 85.06000,25.01200). when user clicks submit button, I need to split this string up and add the result to Latitude
and Longitude
columns in database table.
I have created the form to insert data using DetailsView
with TemplateField
.
I'm new to asp.net and C#. How could I do this ?