The detailsview detailsview1 fired event itemupdating

Rated 3.98/5 based on 612 customer reviews

Hi, You use Auto Generate Rows in Details View, so the Text Box has no id, which you cannot access it by Find Control() method. This page is a great reference for Form View controller: View Update: I've updated code to refelct Phaedrus suggestion. Now the problem is when I hit the update link, the data that i have edited was not updating at all. ------------------------------------------------- Protected Sub btnseacrh_Click(By Val sender As Object, By Val e As System. Ofcourse when I hit the edit link, Update and Cancel link will be visibled.

Data Bind() End If End Sub ------------------------------------------------------------ What is wrong with my coding? For this kind of case I suggest you use Sql Data Source control to config the database access.I would like to give them an opportunity to search their information that they've inserted into my web site and edit it. In my detailsview, I have added an edit button for them to edit their data. In order to that, I have used store procedure and it works fine. My search button is working fine and the data that they've searched has successfully appeared in my detailsview. "" The code behind that I have used are follows: Protected Sub btnseacrh_Click(By Val sender As Object, By Val e As System. To String()) End If Next End Sub ------------------------------------------------------------- Sub Details View_Item Updated(By Val sender As Object, By Val e As System. Of course, you need to set the Datakey in Details View.

Leave a Reply