Last post Jun 26, 2008 05:57 PM by vbguy4
Jun 25, 2008 04:27 PM|vbguy4|LINK
I want to assign a value calculated outside of the insert template in the textbox placed in the inserttemplate of the gridview in Web developing. I want to assign a summary to a textbox in the insert template. I tried to assign a value to the text box using
form1.inserttemplate.textboxname.text= value , but it makes an error. It doesn't recognize the textbox. And also how can I bind data base to a textbox without using any data binding containers such formview or gridview or tatadetails
etc. Thank you.
Jun 26, 2008 09:29 AM|DkUltra|LINK
A person could try to change the value by overriding the gridview.rowediting event
use dim tb as textbox = gridview.findcontrol(yourcontol) to get a refference to the textbox
hope this helps
Jun 26, 2008 05:57 PM|vbguy4|LINK
Hi, DKUltra !!!!!
That was it. It works. Great. You saved me a lot of time. I really appreciate for your help. God bless you and have great days.......