Regarding Details View
Hello,
How to to bind DatailsView dynamically with sqlserver in asp.net.I have tried with OLEDBConnection as below:
There is a DetailsView Control with ID=d1.I have use Executereader() method to execute my sql query which fetches data from my SQL Server d/b.Then I have used d1.Datamember="name"(where :"name" is a field of my table)and then bind it using d1.Databind().This runs successfully.But it displays only one record in detailsView.How Could I display all the records from d/b in detailsView?
Reply me as soon as possible......
Thanks with Regards
Aekta
|