Author: Spider8990 | Posted on: 9/15/2009 10:38:14 AM | Views : 367

Hey
I would like to know if someone can please help me
Im trying to use SqlDatasource control and  html labels to  update my database
so far I have this as my code but its not working (only when I use Server side labels)
'----------------------------------------------

<asp:SqlDataSource ID="UpdateMapSettingsSQLDS" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>"
            SelectCommand="SELECT CompanyMap_location.* FROM CompanyMap_location"
            UpdateCommand="UPDATE CompanyMap_location SET DefaultAddressOFF = @DefaultAddressOFF, Longitude = @Longitude, Latitude = @Latitude WHERE (CompanyID = @CompanyID)">
            <UpdateParameters>
 &nb ...

Go to the complete details ...