PDA

Click to See Complete Forum and Search --> : Microsoft binding collection object


fiona_conard
Oct 17th, 2001, 08:39 AM
Hi all,

Has anyone have experience on binding controls to a data source using Microsoft binding collection object?

If i want to bind a disconnected recordset to controls, which way should i use
1) Binding controls to disconnected recordset through Microsoft binding collection object or
2) Binding controls to disconnected recordset directly.
Which way is better?

Thanks!

Abu haider
Oct 17th, 2001, 07:54 PM
Look if it is a control, you should be able to bind it directly to the Recordset. The data binding collection is to be used with Data Bound Classes, or where multiple properties are to be bound with the source.

peter_campbell
Oct 18th, 2001, 02:28 AM
Thanks for your answer!

Could u thell me when should we use data bound class?

fiona_conard
Oct 18th, 2001, 03:18 AM
Thanks Abu haider!

Can u tell me what is data bound class?
and what do u mean by multiple properties are to be bound with the source?

Abu haider
Oct 18th, 2001, 09:38 AM
Check these two links
Creating Data Aware Classes (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatingdata-awareclasses.asp)
And
Creating Data Consumer (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatingdata-awareclasses.asp)

Let us know if you need further explanation.