HOME | SIGN UP | ACCOUNT | SUBSCRIBE | STORE | WHAT'S NEW | TESTIMONIALS | TROUBLESHOOTING | SUPPORT AREA | SITE NEWS | LOGIN
Classes & methods · News · Jobs · Links · Downloads · Articles · Conferences · Magazines · Training · Consultants · Consulting · Blogs · FAQ
Books · Applications · Meetings · User groups · Speakers · User group leaders · Universal Thread Magazine · Coverages · Photos · Videos

 ID: 32126Created on: February 27, 2007 00:28Updated on: April 22, 2010 21:36

Dataset Databinding and Formatting Not Refresh
Summary:I notice that when you use Databinding with format string, it seems that the format was not refresh in realtime. This can be solved by hooking to BindingComplete Events and force re-evaluated the data.
Rating: Rate this entry
Created by:
Simplicio Jison Jr
Accelerate Desk Business Solutions
Davao

private void  BindControl()
{
// Manually Bind Dataset
txtTextbox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", dsDataSet, "MemberField", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "C2"));


// Add event ReadBinding
txtTextbox1.DataBindings[0].BindingComplete += new BindingCompleteEventHandler(ReadBinding);


}

private void ReadBinding(Object sender, BindingCompleteEventArgs e)
        {
            e.Binding.ReadValue(); 
        }

Comments
Add a comment

More entries from this member

  1. Custom Page or Printer Form on Crystal Report and different machines December 11, 2005
    When you use Custom page in Window 2000,XP and higher, we have to create first our custom form on the print server. Using Crystal report, we can easily use the custom paper. Example we can create 1/2 of the letter Size or simply 8.5by5.5 paper. This works fine in crystal, but the problem occur when you use different printer model especially on a different machine. This is because crystal report same printer form ID instead to form name. So if you create 8.5by5.5 form on machine1 and machine2 i...

Visual FoxPro DevCon 1998
DateContentDetail
06/09 16:31MeetingSQL Server Tools, Strate...
02/09 00:44NewsPEM Editor 6 has been re...
27/08 17:57NewsSouthwest Fox 2010 Early...
25/08 04:30NewsCryptoLicensing For .Net...
22/08 09:58NewsWindows Phone 7 Gold Rush
16/08 03:05NewsVisual WebGui reveals it...
11/08 17:54MeetingSo You Think You Want To...
10/08 16:41News.NET Training for VFP Pr...
09/08 18:33MeetingLINQ & SQL Server Reporting
03/08 08:15JobsSQL/VFP Developer for Ma...
29/07 10:59News.NET 4 for VFP Developer...
26/07 10:13JobsVFP Developer (Two Perma...
25/07 06:44NewsWith Visual WebGui 6.4 R...
24/07 11:00JobsQuality Assurance Softwa...
24/07 10:53JobsIntegrations and Web Dev...

Copyright © 1993 - 2010 Level Extreme Inc., All Rights Reserved · Telephone: 506-783-9007 Email: info@universalthread.com · Privacy & Security · Copyright · Terms & Conditions