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

New Message on BDOTNET

-----------------------------------------------------------
From: scorpion_arjun
Message 1 in Discussion

Hello , I am having some problem editing the contents of the data grid: I have written 
the HTML code as :  .................................   <asp:datagrid id="dg" 
runat=server OnEditcommand="dg_edit" OnUpdateCommand="dg_update" 
oncancelcommand="dg_cancel" >   <columns> ..................................... 
<asp:EditcommandColumn Edittext="edit" CancelText="Cancel" UpdateText="Update" 
HeaderText="Edit" />     </asp:datagrid>     and now i have defined the methods to 
perform these operations  as :   sub dg_edit(o as object,e as 
DataGridCommandEventArgs) dg.EditItemIndex=e.ItemItemndex dg.DataBind() end sub    sub 
dg_update(o as object,e as DataGridCommandEventArgs) 'do updates dg.DataBind() end sub 
   sub dg_cancel(o as object,e as DataGridCommandEventArgs) dg.EditItemIndex=-1 
dg.DataBind() end sub   in the dg_update method do i have to insert any code to do the 
updation or does it automaticaly get updated ? b'coz it does not get automatically 
updated - thats where my problem is . If i have to write the code then how do  do it ? 
how do i determine which textoxes r getting updated ?    Thank you for your help, 
Arjun.

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

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_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