Search results

  1. M

    Question How to get Selected Index of Datagridviewcombobox column.

    Can anybody help to let me know that How can i get the Selected index of Datagridviewcombobox column in vb.net 2010. Thanks
  2. M

    Question How to append records in master detail tables.

    I create a program in vb.net 2010 with sql Server 2014, There are two tables InvoiceMaster and InvoiceDetail A invoice contain 100 item. I inserted 60 items in the tables through follwoing code: Private Sub BtnSave_Click(sender As System.Object, e As System.EventArgs) Handles BtnSave.Click...
  3. M

    Question How to Pick specific portion of a string

    I have a string like dim mystr as String= 'A-001/123a/20' I want to pick "123a" only from mystr using VB.NET how can I ? Thanks in advance.
  4. M

    Question How can I read DataTable rows one by into a DatagridView

    Instead of assigning Datagridview.datasource =MyDataTable , I want to read DataTable rows one by one into Datagridview (Due to some reasons). I tried as under but it shows the last row only. can any body help pls? Private Sub BtnShowBills_Click(sender As System.Object, e As...
  5. M

    Question how to check datagridviewimagecolumn is null or not ?

    I m using this code to Put image from Datagridviewimage column to Picturebox Private Sub Dgv1_CellDoubleClick(sender As Object, e As System.Windows.Forms.DataGridViewCellEventArgs) Handles Dgv1.CellDoubleClick try Dim pCell As New DataGridViewImageCell pCell =...
  6. M

    Question How to SqlTransaction?

    Aslam o alikum I m using vb.net 2010 with sql server 2014, at present I m inserting the data in three tables with following code Private Sub BtnSave_Click(sender As System.Object, e As System.EventArgs) Handles BtnSave.Click If PurchaseGrid.Rows.Item(0).Cells(0).Value = "" Or...
  7. M

    Question How to Insert Null Value to Image column?

    Asalm o alikum I m using vb.net 2010 with sql server 2014, In my product table I have an image column to save product picture. In case i don't have picture for a product i want to insert a null value. i tried to insert with dbnull.value but faild. can any body help me in this regard. thanks
Top Bottom