I am a newbie in Web Developing. I am using C# in ASP.net
I created a Dataset that includes TableAdapters.
I.e. for my Table Product_family i created the ProductFamilyTableAdapter that includes the following columns prfm_description1, prfm_description2, prfm_description3, etc…
I have a method GetAllProductFamilies.
After that i created a Business Logic Layer class ProductFamiliesBLL.cs which includes the same functions.
In the Page_Load event of my master page i create
ProductFamiliesBLL prfLogic = new ProductFamiliesBLL()
and i can bind to a Datagrid
datagrid1.Datasource = prfLogic.GetAllProductFamilies();
datagrid1.Databind();
My question is if I can add this data into an array or a List and how?
How can i read one by one the retrieved rows and get data from first, second,…, n row from a specific column.
As below you can loop through each row and each column of the row tha….and your code will be likw this…