Dim name As String = CType(e.Item.FindControl("txtClassify"), TextBox).Textyou can directly use the name in theparameters.
hth
Hi,
Thanks for the response.
I still get an empty string. Don't know why.
I solved the problem. I was rebinding the datagrid everytime on page load. I forgot to add ' If Not Page.IsPostBack Then....'
Thanks
Are you by any chance doing databinding on every request without using the IsPostBack?
No comments:
Post a Comment