protected void imgbtnDelete_Click(object sender, ImageClickEventArgs e)
        {
            ImageButton btn = (ImageButton)sender;

            if (btn.CommandName.Equals("Delete"))
            {
                string path = btn.CommandArgument.ToString();
                if (obj.con.State == ConnectionState.Open)
                {
                    obj.con.Close();
                }
                obj.con.Open();

                cmd = new SqlCommand("Delete from RecieveMailDetails where Path='" + path + "'", obj.con);
                cmd.ExecuteNonQuery();
                obj.con.Close();

                DataListFriends.DataSourceID = "SqlDataSource1";
                DataListFriends.DataBind();
            }
        }
 protected void LoadFriendsList()
 {
     DataListFriends.DataSource = FriendsBLL.getAllFriendsListName(Userid, Global.CONFIRMED);
     DataListFriends.DataBind();
 }