R
Ruslan Shlain
I have aproblem when i merge datasets.
dsDS has 105 records
dsMain has 147 record
I am trying to to pour records in dsMain in to dsDS.
Here is my code:
DataSet dsDS =new DataSet();
SqlConnection conSqlConn = new SqlConnection(m_strdatabaseconConn);
SqlDataAdapter daSQLDA = new SqlDataAdapter("SELECT * FROM
scs_ds_employee",conSqlConn);
daSQLDA.Fill(dsDS);
dsDS.Merge(dsMain,true);
return dsDS;
dsDS has 105 records
dsMain has 147 record
I am trying to to pour records in dsMain in to dsDS.
Here is my code:
DataSet dsDS =new DataSet();
SqlConnection conSqlConn = new SqlConnection(m_strdatabaseconConn);
SqlDataAdapter daSQLDA = new SqlDataAdapter("SELECT * FROM
scs_ds_employee",conSqlConn);
daSQLDA.Fill(dsDS);
dsDS.Merge(dsMain,true);
return dsDS;