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

New Message on BDOTNET

-----------------------------------------------------------
From: Praba
Message 7 in Discussion






The
best approach would be copy the original contents into a DataTable and assign the
DataTable into DataGrid. As well as you need to maintain the DataTable in memory
or serialize into XML, always update the DataTable it will refresh your DataGrid
with the modified values. It does not update your Physical DB only for the
front-end purpose.


 


Hope it helps you �J


 


Thanks,


-Praba


-----Original Message-----

From: BalajiKrishnan
[mailto:[EMAIL PROTECTED] 

Sent: Tuesday,
 October 28, 2003 3:12 PM

To: BDOTNET

Subject: Re: Urget - Could not
find solution.


 





 
  
  

  
  
  
New Message on BDOTNET
  
 
 
  
  

  
 





 


Urget - Could not find solution.


 
  
  
Reply

  
  
  
  
   
    
    
 
    
    
    
Reply to Sender
      Recommend
    
    
    
    
Message 5 in
    Discussion 
    
   
  
  

  
 
 
  
  
   
    
    
From: BalajiKrishnan
    
    
   
   
    
    
 
    
    
hi jas,
    
    
    
 
    
    
    
I am getting what you say.......
    
    
    
 
    
    
    
but my requirment is different......i will be
    clear now.....
    
    
    
 
    
    
    
Dont go for inserting or updating the
    records.......
    
    
    
 
    
    
    
Now the data is shown in the datagrid 
    
     
      
      
MODIFY
      
      
      
 ID
      
      
      
DATA1
      
      
      
 DATA2
      
      
      
 DATA3
      
     
     
      
      
 Edit
      
      
      
 1
      
      
      
 34
      
      
      
 xx
      
      
      
 yy
      
     
     
      
      
 Edit
      
      
      
 2
      
      
      
 56
      
      
      
 yy
      
      
      
 mm
      
     
    
    
    
    
 
    
    
    
Now the edit button is clicked
    
    
    
     
      
      
MODIFY
      
      
      
 ID
      
      
      
DATA1
      
      
      
 DATA2
      
      
      
 DATA3
      
     
     
      
      
 Update Cancel
      
      
      
 1
      
      
      
 50
      
      
      
 xx
      
      
      
 yy
      
     
     
      
      
 Edit
      
      
      
 2
      
      
      
 56
      
      
      
 yy
      
      
      
 mm
      
     
    
    
    
    
 
    
    
    
Now the value 34 is changed to 50 (DATA1) (No
    database update only datagrid value to be updated)
    
    
    
 
    
    
    
     
      
      
MODIFY
      
      
      
 ID
      
      
      
DATA1
      
      
      
 DATA2
      
      
      
 DATA3
      
     
     
      
      
 Update Cancel
      
      
      
 1
      
      
      
 50
      
      
      
 xx
      
      
      
 yy
      
     
     
      
      
 Edit
      
      
      
 2
      
      
      
 56
      
      
      
 yy
      
      
      
 mm
      
     
    
    
 
    
    
    
Button - > Insert Record
    
    
    
 
    
    
    
Now the Insert Record button will be clicked the
    record will be inserted or updated based on the primary key field ID.
    
    
    
 
    
    
    
So how can i update the entries in the DATAGRID
    NOT IN THE DATABASE TABLE.
    
    
    
 
    
    
    
The changes should reflect only in the DATAGRID
    
    
    
 
    
    
    
Tell me how can i do this
    
    
    
Balaji
    
    
   
  
  

  
 





View other groups in this
category. 







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

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