Suji D

Suji D

  • NA
  • 23
  • 7.5k

how to display my data grid view control

Jun 3 2015 6:44 AM

Hi all,

   Good Day! I am using C# Visual Studio 2008 and SQL server 2008. My application what i am doing is, i have 9 tab pages in single tab control. In variable ID i am getting tab page index in 2 power like if index is 0 then ID is 2^0=1. In this i have remote database table tmessage_temp. from this remote data base table i am reading fldTo column for getting ID. if fldTo is 3, then tab page 1 and tab page 2 is set. because of 9 tab pages i  am using loop from 0 to 8. in this loop i am entering into switch(ID). In this i am reading data from remote database and displaying using data grid view. It is not a problem to view in data grid view control for single case. If loop condition coming into switch case from 1 to 3, in data grid control display only the last case. In this i want to display all one by one in single data grid control. How to do this. Can you please give me a way to do it.


Answers (6)