asked on
dsResults = DBManager.GetAllThomasDetails("Select * from Thomas where (isUpdated = 1) or (StatusUpdated = 1)");
if (Dr["textAdID"] == DBNull.Value)
{
newTextAd.headline = Dr["adtitle"].ToString();
newTextAd.description1 = Dr["adline1"].ToString();
newTextAd.description2 = Dr["adline2"].ToString();
newTextAd.displayUrl = Dr["displayurl"].ToString();
newTextAd.destinationUrl = Dr["adlink"].ToString();
newTextAd.adGroupId = groupID;
myAds = adService.addAds(new Ad[] { newTextAd });