Gridview rowupdating event not
if you have an alternative solution to this one then i'm all ears.it would be alot easier for me if i'll be using smart tag. @eclipsed4utoo: Then you have not truly delved into Grid Views, grasshopper. Net while am trying to update the row it was not getting updated. Find Control("txt Name3"), Text Box) 'doupdate(txt Name1, txt Name2, txtname3, txt Name) 'con. Instead, it throw an exception Object reference not set to an instance. Protected Sub Grid View1_Row Updating(By Val sender As Object, By Val e As System. Open() cmd = New My Sql Command("update login set username='" & txt Name1. Find Control("txt Name"), Text Box) txt Name1 = CType(row.
the datagrid wouldn't show up since it doesn't have any data in it.I'm programmatically querying the db and i'm not using the smart tag of the gridview. Yes, i could see the controls in item template, but not in edititemtemplate.Is there any way to get controls of the edit template? Here's my source code: " Select Command="SELECT tb_entity. that's why i don't know how to go about it.Most of what I have read online says I need to add Data Bind() to the Page_Load under Is Post Back, but this doesn't change anything.I'm wondering if it has to do with a dropdown I have that "activates" the gridview.