Friday, July 1, 2016

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

3 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
  3. Thanks for your insight for your fantastic posting. I’m glad I have taken the time to see this. post cards printing

    ReplyDelete