Updating database using asp dating for the sensitive man
Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.
NET, like how to insert, delete and update record in Grid View control.
Submit Changes() End Sub Sub Update Record(sender As Object, e As Grid Record Event Args) Dim db As New Northwind Data Context() Dim cust = (From c In db.
topic as in this post we have cut short few topics that are repetitive in nature.I have got a insert and select working as at the moment i have a page that shows the details on the page and then i want the user to change something then click update and then it would update the database and refresh the page with the new data.Thanks Mike I set the field i wanted to change in the query without the parameter to 1 and it updated fine, the problem is that its not picking up my selected index properly!I'm using this parameter, and Patient Registered Location.
Selected Value is always 2, shouldn't it change when you select a different list item?Using bind variables also improves query performance in the database, eliminates the need for special handling of literal quotation marks in the input, and protects against SQL injection attacks.