Example #1
0
 private void cmdDeleteBlog_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow item in this.dataAdminBlogData.SelectedRows)
     {
         Int32           inx    = item.Index;
         server.Service1 server = new server.Service1();
         server.Deleteblog(inx, true);
         dataAdminBlogData.Rows.RemoveAt(item.Index);
     }
 }