Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / April 2007

Tip: Looking for answers? Try searching our database.

New record indication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
scott - 24 Apr 2007 17:57 GMT
What is the easiest way to tell if the record you are working with is
new? For example, if I click the standard Add button on a
BindingNavigator, it clears all form controls and is ready to accept
new input. Is there something similar to a IsNewRecord function?

Thanks!

Scott
Bryan Phillips - 24 Apr 2007 22:14 GMT
If you bind your BindingNavigator to a BindingSource object (which you
in turn bind to whatever you want), there is a AddingNew event that you
can handle when the user clicks the Add button.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com
Web Site:  http://www.composablesystems.net

> What is the easiest way to tell if the record you are working with is
> new? For example, if I click the standard Add button on a
[quoted text clipped - 4 lines]
>
> Scott

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.