Wednesday, February 16, 2011

Method to Fill Data into Dataset

protected void FillGrid(string Key)
{
SqlDataAdapter da = new SqlDataAdapter();
CountryBPPersistence objPersistence = new CountryBPPersistence();
CountryBPEntity objEntity = new CountryBPEntity();
DataTable objDt = new DataTable();
objEntity.UserName = Key;
objDt = objPersistence.Select_CountryBP(objEntity);
//tbllayout1.DataSource = objDt;
//tbllayout1.DataBind();
}

No comments:

Post a Comment