0
Answer

How to store one by one data dynamically in DetailsView???

Prakash Mondal

Prakash Mondal

11y
926
1
Hi,
I want to store one by one data dynamically in DetailsView from DataTable and display result in DetailsView.
So,I design a Product WebPage and store and retrive data from database.
DatabaseTable:


Here ID col is Primary key which is auto-increment.

Product.aspx

Here Product name and Color and Price are stored into only one column that is "Features";

Code:

Product.aspx.cs:

After Insert, DataBase Table is shown:


Result(Output Design):




Code:


I want to Display these data in following structure after inserted in DataBase Table:



Please help me.