Click here to Skip to main content
15,908,264 members

Comments by Member 10427298 (Top 2 by date)

Member 10427298 17-Apr-15 7:14am View    
In the mean time I have noticed that
BVNNotEnrolledAllBranches bvnFeilds = new BVNNotEnrolledAllBranches();
was instantiated out side the foreach. So putting this in the foreach statement will solve the problem. And your problem was only assign values to one object but every row in a grid view is an object by it self.
Member 10427298 17-Apr-15 7:11am View    
Would show me the GridView1 definition on your .aspx page?