R
Rizwan Ahmed
Hey,
i am bit concerned about the architecture
provided in the .net frame work for ado.net.
The disconnected architecture does nor serves you best on
the desktop application. As you are not connected to
database and if any other changes the table in the
database you are not notified or your side data is still
older one.
As it was not in ADO we use to set the recordset
properties to our need and we were quite happy. but not
now.
Example:
Dim rs as ADODB.Recordset
TextBox1.databindings.add("Text",rs,"id") (X)
which is not allowed by the .net frame work, as i am
using the Recordset that is in ADO not in ADO.Net and its
required interface is not present.
But i want to do that ... as it is quite easy to
use this structure. I think there is problem with
Microsoft they dont even support there ADO properties in
their .net TextBox or any other control.
They should provide the Implementation of
connected recordset or simply implement the IList
interface or any other interface that is required for the
data binding in .net fram work.
thanx,
Rizwan Ahmed
i am bit concerned about the architecture
provided in the .net frame work for ado.net.
The disconnected architecture does nor serves you best on
the desktop application. As you are not connected to
database and if any other changes the table in the
database you are not notified or your side data is still
older one.
As it was not in ADO we use to set the recordset
properties to our need and we were quite happy. but not
now.
Example:
Dim rs as ADODB.Recordset
TextBox1.databindings.add("Text",rs,"id") (X)
which is not allowed by the .net frame work, as i am
using the Recordset that is in ADO not in ADO.Net and its
required interface is not present.
But i want to do that ... as it is quite easy to
use this structure. I think there is problem with
Microsoft they dont even support there ADO properties in
their .net TextBox or any other control.
They should provide the Implementation of
connected recordset or simply implement the IList
interface or any other interface that is required for the
data binding in .net fram work.
thanx,
Rizwan Ahmed