-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: parmar_CP
Message 1 in Discussion


Hello, 
I am using Data Grid Item Template and Edit 
Template Grid has 5 columns one of the column is 
editable,
when i click on edit then change the value, when i 
click on update, i am albe to get the value of the label control within the data 
grid but i am not able to get the value of the text box control i am using 
e.item.findcontrol("Textbox1") to get the value.
Here is the code which i am using


Private Sub 
DgConvArea_UpdateCommand(ByVal source As 
Object, ByVal e As 
System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DgConvArea.UpdateCommand

Dim mvartxtEditQty 
As TextBox = 
e.Item.FindControl("txtEditQty")

Dim ConvenienceID 
As Label = 
e.Item.FindControl("ConvenienceID")

Response.Write(" txtEditQty= " & mvartxtEditQty.Text)

Response.Write("<BR>ConvenienceID = " & ConvenienceID.Text)

DgConvArea.EditItemIndex = -1

BindDataConvenienceArea()

End Sub

 

The Result is 


txtEditQty= 
ConvenienceID 
= 207

Can any one help me what could be the 
problem ?

Regards.

Chandrakant.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to