CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: urgent!!!!!

  1. #1
    Join Date
    Nov 1999
    Location
    India
    Posts
    10

    urgent!!!!!

    Hi all
    I have a typical problem at hand. I want to display the contents of any selected table out of an oracle database. then i want to select any columns or rows of the displayed data by using mouse (the same way as we select columns and rows in excel.) then i need to print the selected data.
    Presently i am using listview can anybody suggest any way i can do what i want to.
    or I have to use any other control.
    Please suggest.

    Thanx in advance


  2. #2
    Join Date
    Nov 1999
    Location
    US NJ
    Posts
    113

    Re: urgent!!!!!

    I think this should work

    Printer.Print ListView.SelectedItem
    Prints the selected First field

    Printer.Print ListView.SelectedItem.ListSubItems (1)
    Prints the selected row's desired field by field number >


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured