Friday, July 1, 2016

(#2) C# Printings using Printing Controls In Urdu - Coding DataGridView

2 comments:

  1. if (e.Button == System.Windows.Forms.MouseButtons.Right)
    {
    var hti = SaleInvoice.HitTest(e.X, e.Y);
    SaleInvoice.Rows[hti.RowIndex].Selected = true;
    contextMenuStrip1.Show(SaleInvoice, e.X, e.Y);
    }




    int index = SaleInvoice.CurrentCell.RowIndex;
    HideQuantity.Text = index.ToString();
    cart.RemoveAt(index);


    SaleInvoice.DataSource = null;
    SaleInvoice.DataSource = cart;

    Rows cannot be programmatically removed unless the DataGridView is data-bound to an IBindingList that supports change notification and allows deletion.

    sir i receive this issue any help please

    ReplyDelete
  2. We'll all be familiar with that moment before an important meeting; you're at the printer to collect a print job but instead find yourself sifting through piles of paper trying to locate your document in amongst those of your colleagues and goodness knows what else. Or you're in a different part of the office and you realise you've printed those papers you needed to the wrong device.. Printing East London

    ReplyDelete