Hey Guys, Does somone know how can I update a field in the database using SqlDatasource control. I can retrieve the data successfull with the following line:
I'm trying this to update but it does not work.Code:DataView returnedDataView = (DataView)Pages.Select(DataSourceSelectArguments.Empty); elm1.Content = returnedDataView[0][5].ToString();
Please advise. Thanks!Code:Pages.UpdateParameters["html"].DefaultValue = elm1.Content; Pages.Update();


Reply With Quote
Bookmarks