Results 1 to 2 of 2

Thread: Runtime created Datasets

  1. #1

    Thread Starter
    New Member ourman's Avatar
    Join Date
    Jun 2002
    Location
    Cuba
    Posts
    15

    Runtime created Datasets

    I need a an example of how I could setup a Dataset in runtime:

    I have a screen with a ListView and a textbox that displays Data from a Table.

    I use the textbox for editing and adding records displayed on the listview.

    I need this same form to work for many more tables. Everything is the same - only the Table name and fields name are different.

    So I would like to have this setup in Code so that I can reuse the same code for each table. I need to build the datasets at runtime as opposite to design time and be able to edit, add records to it.

    Also can I bound the listview to the dataset? or to a dataview? (I also need to be able to sort the displayed records)

    Thanks
    Saludos,
    Erich

  2. #2

    Thread Starter
    New Member ourman's Avatar
    Join Date
    Jun 2002
    Location
    Cuba
    Posts
    15

    Got it

    I found the solution myself. If you need to know about this contact me and I will email an example.
    Saludos,
    Erich

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