.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 22nd, 2004, 11:16 AM
IonelStar IonelStar is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 2 IonelStar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Datagrid auto-save

Hi,
In MS Access, when we go from a row to another, the "dirty" recs are automatically saved.
How to do this automation with a datagrid (in a windows form)?

I simply don't like that buttons (Load, Update, Save, Cancel). Here, a lot of people still use
MS Access.

I looked for an event in Datagrid, but i didn't find it.

Simply, when i go from a row to another (in a datagrid), if a row is dirty, it's saved automatically.

How to find a row is dirty?
Which is the event which is fired when I move from a row to another?

Thank you,
Ionel

Reply With Quote
  #2  
Old November 29th, 2004, 07:37 AM
balaji_sp balaji_sp is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 4 balaji_sp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Write the update code in Datagrid_Navigate if you double click the datagrid you will get this subrotine here you want to write the update command.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Datagrid auto-save


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT