I have a table with 2 columns, cityName and cityID.
I have a form with a dropdown list that takes its values from the cityName column of the table.
I have a hidden field on the form and I want its value to be the cityID based on the selected cityName in the dropdown list.
These 2 values will...
When I execute an INSERT statement to add a row to a table within my SQLsever database I realise that the row is inserted TWICE.
Any idea how to resolve this?
Thanks
On the same page I have
1. a cascading dropdown of 2 dropdowns to select state/province and then city
2. Sqldatasource to select data from a database, depending on the values chosen in the dropdowns and
3. a gridview to display the the results of the selection.
However, when I choose the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.