Search:

Type: Posts; User: Pavel55

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    631

    VS 2010 Re: VB.net Excel AUtomation

    you have to fill the double-dimens. array first and then export it to the sheet of 1 line of code.

    just small example


    'Declare the array
    Dim CleanArray(,) As Object
    'Redim it
    ReDim...
  2. Re: Datagridview control filtered by two textboxes

    Works. Thank you
  3. Re: Datagridview control filtered by two textboxes

    kebo, can you tell how to delete all filters which we set in dataView ?
  4. Re: Can't populate DataGridView using BindingSource1

    I solved my problem


    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim sExcelFilePath As String = "G:\Excel.xlsx"
    Dim...
  5. Re: Can't populate DataGridView using BindingSource1

    Can anybody help me ?
  6. Re: Can't populate DataGridView using BindingSource1

    Thank you, please try to run my code at your computer when you have free time for that, maybe you'll understand what is going on with it.
    By the way, when I put the break point on this line
    ...
  7. Re: Can't populate DataGridView using BindingSource1

    I just translate the error message, because it's on Russian language, I have to translate into English.
    The schema of Excel file is very simple. 3 colums of data (A, B, C), 10 rows totally. 3...
  8. Re: Can't populate DataGridView using BindingSource1

    Yes, I know that need to bind the DataTable to the BindingSource and then bind the BindingSource to the DataGridView, but when I do that the exception is raised "The column [Name] can't be found"...
  9. Re: Can't populate DataGridView using BindingSource1

    the error message is: The column [Name] can't be found
  10. Can't populate DataGridView using BindingSource1

    Hello everyone.

    Can anyone help me and explain me why I can't populate DataGridView1 using BindingSource1.
    I need to take data from Excel worksheet and put it into DGV using BindingSource1,...
Results 1 to 10 of 10



Click Here to Expand Forum to Full Width