Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataBinding in C# vs VB

$
0
0

I'm running into a bit of an odd issue with binding in C#.  I'm guessing when someone points out the answer, there will be a dramatic face palm response on my part.

Here is a link to the solution demonstrating the issue: http://1drv.ms/1fgguxH  (The name of the project is HasChangesIssue - a sample I was writing to demonstrate and deal with another issue.)

The scenario: two different projects, one in c#, one in VB.  Both attempt to bind a text field and a DataGrid to a BindingSource that is passed in as part of the constructor.  The grid binds correctly in both instances.  The text field binds correctly in VB, but doesn't display the value in the text field in the C# version. 

So why is the binding not working in the C# text field?


Viewing all articles
Browse latest Browse all 2535

Trending Articles