Filling DataGrid from Dataset
<p>I would like to ask for faster way in filling datagrid from dataset. I'm working with huge volume of data (approximately of 8000 of rows). I'm using C#.net . I have two version of codes (below) both of them took almost one minute to finish the loading of data.</p>

<pre><code>// First Code
DataSet objDataSet = new DataSet();
objDataSet = objMemberShip.mtdMemberViewBy(strGlobalUserID, 0, "", ref intErrNo);
datagrid1.DataSource = objDataSet.Tables[0];

// Second Code
objDataSet = objMemberShip.mtdMemberViewBy(strGlobalUserID, 0, "", ref intErrNo);

datagrid1.Rows.Clear();
for (int intCount = 0; intCount &lt;= objDataSet.Tables[0].Rows.Count - 1; intCount++)
{
     String[] strRow = new string[] { objDataSet.Tables[0].Rows[intCount] ["trTranId"].ToString(), objDataSet.Tables[0].Rows[intCount]["strCEMCode"].ToString(),
                                  objDataSet.Tables[0].Rows[intCount]["strName"].ToString(), objDataSet.Tables[0].Rows[intCount]["strAddress"].ToString(),
                                  objDataSet.Tables[0].Rows[intCount]["strTestCenterId"].ToString(), objDataSet.Tables[0].Rows[intCount]["TCr_Name"].ToString(),
                                  objDataSet.Tables[0].Rows[intCount]["strMemberId"].ToString(), objDataSet.Tables[0].Rows[intCount]["TCr_GL_Code"].ToString()};
            datagrid1.Rows.Add(strRow);

        }
</code></pre>
