Click here to Skip to main content
15,899,754 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow to Export data from SQL Server to Excel Pin
zizigolo11013-Nov-09 16:53
zizigolo11013-Nov-09 16:53 
AnswerRe: How to Export data from SQL Server to Excel Pin
kstls14-Nov-09 0:17
kstls14-Nov-09 0:17 
AnswerRe: How to Export data from SQL Server to Excel Pin
computerhussain15-Nov-09 19:54
computerhussain15-Nov-09 19:54 
QuestionProblem with items for listview . if can't ,say me please [modified] Pin
darkyro13-Nov-09 11:51
darkyro13-Nov-09 11:51 
AnswerRe: Problem with items for listview . if can't ,say me please Pin
Luc Pattyn13-Nov-09 11:58
sitebuilderLuc Pattyn13-Nov-09 11:58 
GeneralRe: Problem with items for listview . if can't ,say me please Pin
darkyro13-Nov-09 12:08
darkyro13-Nov-09 12:08 
AnswerRe: Problem with items for listview . if can't ,say me please Pin
Shameel13-Nov-09 23:43
professionalShameel13-Nov-09 23:43 
GeneralRe: Problem with items for listview . if can't ,say me please Pin
darkyro14-Nov-09 1:04
darkyro14-Nov-09 1:04 
i'm used other code to resolve this problem .
i'll post where for know how code i used.

Private Sub ListView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged

        lstestacoes.Clear()
        lstestacoes.View = View.LargeIcon
        Try
            If con.State = ConnectionState.Open Then con.Close()
            lstestacoes.Clear()
            lstestacoes.View = View.LargeIcon
            Dim ind As Integer
            Dim temp As String
            
            For Each item As ListViewItem In ListView1.SelectedItems
                If item.Selected = True Then
                    temp = item.SubItems(0).Text
                    Dim adptr As New OleDbDataAdapter("select * from Estacao WHERE Grupo= '" & temp & "'", con)
                    Dim ds As New DataSet
                    Dim dr As DataRow
                    Dim dt As New DataTable
                    Dim imageListSmall As New ImageList()
                    Dim imageListLarge As New ImageList()

                    Dim grupoquant As Integer
                    Try
                        adptr.Fill(ds, "Grupo")
                        dt = ds.Tables(0)
                       
                        For Each dr In dt.Rows
                           
                          
                    
                            ind = ind + 1
                            Dim i As New ListViewItem(ind)
                            i.Text = dr.Item("Nome")
                            i.ImageIndex = 0
                           
                            lstestacoes.Items.AddRange(New ListViewItem() {i})
             
                        Next

                    Catch ex As Exception
            MsgBox(ex.Message)

        End Try
                End If
            Next
        Catch ex As Exception
            MsgBox(ex.Message)

        End Try


        con.Close()

end sub

QuestionA class for DataBase Connection Codes Pin
shahab202513-Nov-09 11:02
shahab202513-Nov-09 11:02 
AnswerRe: A class for DataBase Connection Codes Pin
darkyro13-Nov-09 11:49
darkyro13-Nov-09 11:49 
AnswerRe: A class for DataBase Connection Codes Pin
The Man from U.N.C.L.E.14-Nov-09 3:14
The Man from U.N.C.L.E.14-Nov-09 3:14 
AnswerRe: A class for DataBase Connection Codes Pin
The Man from U.N.C.L.E.14-Nov-09 3:16
The Man from U.N.C.L.E.14-Nov-09 3:16 
Questionunable to run application on client machine Pin
gargprabhat201013-Nov-09 6:07
gargprabhat201013-Nov-09 6:07 
QuestionHow connect remote sql/oracle database server through .net Pin
Avneesh Sharma jaani12-Nov-09 2:43
Avneesh Sharma jaani12-Nov-09 2:43 
AnswerRe: How connect remote sql/oracle database server through .net Pin
Not Active12-Nov-09 3:24
mentorNot Active12-Nov-09 3:24 
GeneralRe: How connect remote sql/oracle database server through .net Pin
Avneesh Sharma jaani13-Nov-09 1:54
Avneesh Sharma jaani13-Nov-09 1:54 
GeneralRe: How connect remote sql/oracle database server through .net Pin
Dave Kreskowiak13-Nov-09 4:40
mveDave Kreskowiak13-Nov-09 4:40 
Questionthe channel tag is not found in the machine.comfig Pin
prasadbuddhika11-Nov-09 16:43
prasadbuddhika11-Nov-09 16:43 
QuestionGenerating help documentation Pin
Not Active11-Nov-09 9:06
mentorNot Active11-Nov-09 9:06 
AnswerRe: Generating help documentation Pin
Pete O'Hanlon11-Nov-09 9:09
mvePete O'Hanlon11-Nov-09 9:09 
GeneralRe: Generating help documentation Pin
Not Active11-Nov-09 9:34
mentorNot Active11-Nov-09 9:34 
GeneralRe: Generating help documentation Pin
Pete O'Hanlon11-Nov-09 10:02
mvePete O'Hanlon11-Nov-09 10:02 
QuestionBuilding application wizards or applications like DevStudio Pin
Krischu11-Nov-09 4:41
Krischu11-Nov-09 4:41 
AnswerRe: Building application wizards or applications like DevStudio Pin
Not Active11-Nov-09 5:06
mentorNot Active11-Nov-09 5:06 
AnswerRe: Building application wizards or applications like DevStudio Pin
The Man from U.N.C.L.E.11-Nov-09 7:43
The Man from U.N.C.L.E.11-Nov-09 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.