dynamically create table row and bind database value to it
-
Hi all, I wanted to create a table trhough c# code and add bind each row of it from the values from the database Pls help me...Thanks In advance Reogeo2008
-
Hi all, I wanted to create a table trhough c# code and add bind each row of it from the values from the database Pls help me...Thanks In advance Reogeo2008
What environment? Web, Windows, Mobile?
No comment
-
Hi all, I wanted to create a table trhough c# code and add bind each row of it from the values from the database Pls help me...Thanks In advance Reogeo2008
You want to programatically create and fill a DataTable? I do that all the time. See the ExecuteSQL method in: Database Connector[^]
-
Hi all, I wanted to create a table trhough c# code and add bind each row of it from the values from the database Pls help me...Thanks In advance Reogeo2008
What do you mean by 'bound'? If you get a DataTable through a DataAdapter (i.e. by executing a SQL query), it will come pre-filled with the correct database values, and you don't need to bind it. If you want live updating or two way binding, then you're starting to look at entity modelling frameworks, like NHibernate or whatever the new Microsoft one is – but that's massive overkill for most applications.
-
What do you mean by 'bound'? If you get a DataTable through a DataAdapter (i.e. by executing a SQL query), it will come pre-filled with the correct database values, and you don't need to bind it. If you want live updating or two way binding, then you're starting to look at entity modelling frameworks, like NHibernate or whatever the new Microsoft one is – but that's massive overkill for most applications.
BobJanova wrote:
that's massive overkill for most applications
And severe underkill for many others.
-
What environment? Web, Windows, Mobile?
No comment
In a web application
-
In a web application
Its called DataBinding. Read about it.
No comment