private void StartRemovingFollowerlListFromDatabase() { try { if (string.IsNullOrEmpty(txtUnfollowerUserName.Text.Trim())) { MessageBox.Show("Please Enter User Name"); return; } if (string.IsNullOrEmpty(txtUnfollowerUploadFollowerName.Text.Trim()) || lstUnfollowerListForRemoveDataBase.Count == 0) { MessageBox.Show("Please Upload Follower Name"); return; } AddToLog_Unfollow("[ " + DateTime.Now + " ] => [ Process is Running .... ]"); clsDBQueryManager objclsDBQueryManager = new clsDBQueryManager(); foreach (string FollowerItem in lstUnfollowerListForRemoveDataBase) { objclsDBQueryManager.DeleteFollowDUsernameID_List(txtUnfollowerUserName.Text.Trim(), FollowerItem); objclsDBQueryManager.DeleteFollowDUsernameIDFromTb_User_Followr_Details(FollowerItem); } AddToLog_Unfollow("[ " + DateTime.Now + " ] => [ Process Completed. ]"); } catch { } }