G
Guest
Hi,
I'm fairly familiar with the databinding model for ASP.NET, but now I'm
trying to do the same with a C# windows forms application. I'm noticing
several differences: Firstly, there never seems to be a call to the
databind() method. What's the reason for this? Second, when looking at the
windows forms generated code for when using a dataset in conjunction with a
dataadapter, rather than use the Fill() method, it seems that the
SelectCommand property is set and yet again, magically, this seems to be
called. Am I correct? Why don't I see the datareader object listed under the
controls section of the toolbox? How can I bind to a simple textbox? Does
anyone have any good reading on databinding with Windows Forms? What would be
even better is literature comparing how it is done compared to web
applications. Thanks for any help...
-Ben
I'm fairly familiar with the databinding model for ASP.NET, but now I'm
trying to do the same with a C# windows forms application. I'm noticing
several differences: Firstly, there never seems to be a call to the
databind() method. What's the reason for this? Second, when looking at the
windows forms generated code for when using a dataset in conjunction with a
dataadapter, rather than use the Fill() method, it seems that the
SelectCommand property is set and yet again, magically, this seems to be
called. Am I correct? Why don't I see the datareader object listed under the
controls section of the toolbox? How can I bind to a simple textbox? Does
anyone have any good reading on databinding with Windows Forms? What would be
even better is literature comparing how it is done compared to web
applications. Thanks for any help...
-Ben