dcsimg

Search:

Type: Posts; User: Salem141

Search: Search took 0.01 seconds.

  1. Re: Rows collection cannot be programmatically cleared -- Error

    Got it ...


    DGV.DataSource = Nothing
    DGV.Rows.Clear()

    Thanks For Help
  2. Rows collection cannot be programmatically cleared -- Error

    Hello All ......


    I Have Bound DataGridView and i tried to clear it before get record ihave tried :


    DGV.Rows.Clear
  3. Replies
    4
    Views
    3,324

    Re: Search Button in vb.net

    Great Now i have correct the Data Class Code to this


    Friend Function Get_Prices_Item_By_ID(ByRef cmd As SqlCommand, ByRef dr As SqlDataReader, ByVal ItemID As Integer) As Integer
    ...
  4. Replies
    4
    Views
    3,324

    Search Button in vb.net

    I have Table Called "ItemsPricesTbl"

    Contain :

    ItemID
    FirstUnitWholeSalePrice
    FirstUnitShopperPrice
    FirstUnitDemotionsPrice
    FirstUnitPriceDefult
    SecondUnitWholeSalePrice
  5. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    Thank You Very Much

    It Works Now 100%
  6. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    i change it cuz i got
    Value of type '1-dimensional array of Byte' cannot be converted to 'System.Drawing.Image
  7. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    I have change it from


    FrmManageDetailsCustomers.PictureBox2.Image = byteArrayToImage(MainCustomersGv.Rows(MainCustomersGv.CurrentRow.Index).Cells(2).Value)


    To

    ...
  8. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    This is


    Public Function byteArrayToImage(ByVal byt As Byte()) As Image
    Dim ms As New System.IO.MemoryStream()
    Dim drwimg As Image = Nothing
    Try
    ...
  9. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    The same error iam getting
  10. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    So what code i have to write instead of

    MainCustomersGv.Rows(MainCustomersGv.CurrentRow.Index)

    any help ??
  11. Replies
    20
    Views
    1,587

    VS 2012 Re: A generic error occurred in GDI+.

    i load it from GridView



    FrmManageDetailsCustomers.PictureBox2.Image = byteArrayToImage(MainCustomersGv.Rows(MainCustomersGv.CurrentRow.Index).Cells(2).Value)
  12. Replies
    20
    Views
    1,587

    VS 2012 A generic error occurred in GDI+.

    Hi All

    Iam getting this error while Updating Picture box :

    c

    iam using stored proc :


    ALTER procedure [dbo].[Update_Customer]
Results 1 to 12 of 12



Featured


Click Here to Expand Forum to Full Width