User Profile

Collapse

Profile Sidebar

Collapse
sigridish
sigridish
Last Activity: Jan 3 '12, 12:52 AM
Joined: Nov 10 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • save listview data to same excel file but different sheet

    i already know how to save in excel using openfiledialog. but what i want to happen is that when i save another file, i want it to be saved in my existing file but in a different sheet. can you guys help me?

    this is my code for saving

    Code:
    Public Sub saveExcelFile(ByVal FileName As String)
                Dim xls As New Excel.Application
                Dim sheet As Excel.Worksheet
                Dim i As
    ...
    See more | Go to post

  • sigridish
    started a topic how to filter in combo box

    how to filter in combo box

    hi all! i have two combo box in my program

    one has the subteam for example if you click the 1st combo box, the items would be
    A1
    A2
    A3
    A4
    A5
    what i want to happen is that if i chose A1 only the members of team A1 would appear in my combo box2. and by that, you need an sql statement. but how do i code that? can someone help me?
    See more | Go to post

  • sigridish
    started a topic save data in sql using listview
    in .NET

    save data in sql using listview

    Code:
    Dim lvitem
    Dim iCount As Integer
    Dim iLoop As Integer
    Dim query3 = New SqlCommand
    query3.Connection = New SqlConnection("SERVER=localhost;UID=root;DATABASE=test")
    iCount = lvLogs.Items.Count()
    If Not lvLogs.Items.Count = 0 Then
    Do Until iLoop = lvLogs.Items.Count
     
    LvItem = lvLogs.Items.Item(iLoop)
    With LvItem
    query3.CommandText = "insert into wer(CustomerName,SalesGroup,CustomerType,TypeOfIndustry,RM,SeniorRM)
    ...
    See more | Go to post

  • error in object reference not set to an instance of an object

    Code:
    Dim iCount As Integer
            Dim iLoop As Integer
            Dim query3 As New MySqlCommand
            Dim lvitem
    
    
            ConnectDatabase()
            cona.Open()
            iCount = lvLogs.Items.Count
    
    
            If Not lvLogs.Items.Count = 0 Then
                Do Until iLoop = lvLogs.Items.Count.ToString
    
                    lvitem = lvLogs.Items.Item(iLoop).ToString
    ...
    See more | Go to post
No activity results to display
Show More
Working...