Search results

  1. F

    [VB.net] Populate textboxes from listview selected items

    I would use something like this Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim lvc As ListView.SelectedListViewItemCollection = lvw.SelectedItems TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" For cnt As Integer = 0 To...
  2. F

    formatting problems while exporting to Excel

    Try change NumberFormat property for particular cells: If iY = 3 Or iY= 4 Then '<--change on columns you need wsheet.Cells(iX + 2, iY + 1).NumberFormat ="DD.MM.YYYY" '<--change format to suit .... End If ~'J'~
Back
Top Bottom