Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone, how to add column in list...
C#
model.BillingCounterTestListModelList = pro.getTestDetailTestIDWise(str,Convert.ToInt32(ipDept));

               foreach (var item in model.BillingCounterTestListModelList)
               {

                   tempList.Add(item);  //
                  //here i need to add two column in templist

               }


plz suggest me...
Posted
Comments
DamithSL 19-May-14 2:40am    
what is tempList? which column you want to add?
Sunasara Imdadhusen 19-May-14 6:08am    
Need more details in order to understand your complete requirement
Gopal Rakhal 19-May-14 21:46pm    
templist is a list which is populated with item in BillingCounterTestListModelList using loop, now what I need is to have extra two columns in templist which are not present in BillingCounterTestListModelList.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900