How can i present ResultSet into Grid

Hello,
if i have Resultset, assume its select from emp table and i want to present the ResultSet into Grid.
SEecond Q.
if i have an Applet this Applet calls Frame passing to it the deptno to display all employees .in the Frame i have rowsetinfo
the where statement including number of the Dept. only the first employees for the first dept pssed .how can i display the emplyees each time i call the Frame for the passed deptno?
Tahnks Alot

Hi Qyahya,
<<table and i want to present the ResultSet << into Grid.
I assume your question pertains to DAC. You can use a RowSetInfo object and associate with Emp query. The DAC grid control will not work with JDBC ResultSet, if that is your question.
2. << i have an Applet this Applet
I would implement this with a master-detail (DEPT-EMP) relationship in Business components data model and display only the detail rowset (EMP) in a Grid control.
When you want to parametirize the emp list to display only those from a particular dept., modify the where clause for the master and re-execute the query. The employess for the department you chose will automatically appear in the grid.
Hope this helps,
Sathish

Similar Messages

  • I have 3 podcast folders in my iTunes account, how can I combine them into one folder in my iTunes library?

    I have 3 podcast folders in my iTunes account, how can I combine them into one folder in my iTunes library?

    What is the title of the other bookmark folder that can not be deleted?
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Please report back soon.

  • How to write the resultset into a text file

    how to write the resultset into a text file

    You can use the java.io.* package to write to files.
    API: http://java.sun.com/j2se/1.5.0/docs/api/java/io/package-summary.html
    Tutorial: http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • I have 3 itunes accounts.  How can I merge them into one?

    I have 3 itunes accounts.  How can I merge them into one?

    Sorry, but the only answer is that you can't.

  • I have multiple documents how can I combine them into one document?

    I have multiple document files in Pages. How can I combine them into one document?

    Menu > View > Page Thumbnails > click on the thumbnails > Copy/Paste into thumbnails of other document
    Peter

  • TS3981 After migration files are now shared between two user accounts. How can I combine them into one account?

    After migration, from PC, files are now shared between two user accounts.I have to switch users to access files. How can I combine them into one account?

    See Pondini's  Transferring files from one User Account to another, for starters

  • Due to circumstances I have three iCloud accounts, How can I amalgamate them into one iCloud account?

    Due to circumstances I have three iCloud accounts, How can I amalgamate them into one iCloud account?

    No, unfortunately you cannot merge accounts or transfer any purchased content from one account to another. As I said Apple won't let you do that.
    See also here: http://support.apple.com/kb/HT5622?viewlocale=en_US
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.

  • How can I get back into my application aftermath invoking Start up page of index.htm ?

    Gorgeous Hello All,
    If anyone of you can please provide me a solution for the following, will help me in plentious and galore.
    Am using Adobe RoboHelp, Version 10 and IE version being 10.
    A hurdle :-
    I have a application which has been developed in ASP .NET, Version 4.0. Help link has been created in this application wherein here the Start up page of index.htm has been linked to be read from the RoboHelp local project folder\!SSL!\Multiscreen_HTML5\desktop. All are working absolutely fine except when
    I login into the above-said application -> click on the Help page -> the index.htm opens with Contents, Index, Glossary -> Am able to successfully perform any task by respective clickings
    -> But I am not able to get back into my application when I click on the IE provided Back button (Alt+Left) -> Any amount of invoking Back button makes the system getting looped into this Start up page of index.htm only -> When I Close Tab (Ctrl + W) or Close ( X ) -> The window session gets closed and I have to repeat all by relogin once again.
    How can I get back into my application aftermath invoking Start up page of index.htm ?
    (I can always get back into the application easily by erasing those parts in the url which refers to this RoboHelp linkages – but this certainly looks non-polished work)
    Help Please
    Cheese – Vipin Nambiar, Bangalore

    Hey Jeff, I used Internet Explorer 10.0.9200 and Google Chrome 26.0.1410. Alas - it is the same behavior.
    (But Jeff : When I used Microsoft HTML Help as primary layout to generate chm file , My Help when launched from my Application opened in a new browser window and when I closed this Help browser window did not close my application. Looks like need to write few liner code to get this issue settled )
    Thanks Indeed of lots for your concerns Jeff !!!

  • How can I Insert data into my msaccess Database table

    Hello all,
    I am new to Java programming and I have problem that how can i insert name into my database table.
    The code which i have written is following:
    String filename = "d:/test.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}";
    Connection con = DriverManager.getConnection(database,"","");
    String s = String.valueOf(text.getText());
    int k =10;
    Statement st = con.createStatement();
    st.execute("create table Test123(name text)");
    st.execute("INSERT INTO Test123 values" +s);
    on the INSERT program throws exception???
    can any one help me how to insert data into tabel.
    Thanks

    he INSERT program throws exception???
    can any one help me how to insert data into tabel.I have never used the jdbc driver to access, but what do you think that the flag READONLY=true means? An insert is not a read.
    Kaj

  • When I try to sync my music on my iPhone 4 I have a tab at the top that says 'on this iPhone' The music in that tab is always on my phone but does not show in my itunes library.  How can I get it into my library?

    When I try to sync my music on my iPhone 4 I have a tab at the top that says 'on this iPhone'.  This is at the end of all the other tabs like info, ringtones, music etc. The music in that tab is always on my phone but does not show in my itunes library.  How can I get it into my library?  It doesn't sync either.

    The new iTunes has a somewhat different look from the previous version.  You can get the old look back if you prefer it by doing View > Show Sidebar in iTunes.  Or you can adapt to the new look.

  • My adobe illustrator is in a foreign language. how can i turn it into english?

    my adobe illustrator is in a foreign language. how can i turn it into english?

    First please remember this is a public forum.  If you are going to respond to the thread via e-mail please remove your signature prior to responding.
    To resolve your difficulties you will need to go to the Language & Text preference pane.  Once there click on Edit List and remove all languages besides English.  You will then likely need to remove and reinstall the trial as the language setting I believe is set during the installation process.

  • HT1491 I have two itunes accounts with different Apple ID's.  How can I merge them into one?

    I ahve two itunes accounts with different Apple ID's.  How can I merge them into one account?

    Apple has no provisions for this. You cannot merge multiple Apple ID's into one ID. Content is always tied to the Apple ID that was used to purchase it.

  • I have 2 ipods on same account( 2 different kids in household) how can I separate them into 2 different accounts?se

    I have 2 ipods on same account( 2 different kids in household) how can I separate them into 2 different accounts?

    There are actually a few methods for using more than one iPod on a single computer: How To Use Multiple iPods with One Computer
    Just to summarise what's in the link above:
    Method one is to have two Mac or Windows user accounts which by definition would give you two completely separate libraries.
    Method two is to set your preferences so that either one or both iPods get updated with only certain playlists within one library. If you've had no success with this you can have a look through the guide on this page: Loading songs onto iPod automatically
    Another option when using a single library is to set one or both of the iPods to manual update: Managing content manually on iPod
    You can read about Windows user accounts here: Using Windows XP User Accounts

  • I have 13 dollars left on an apple store gift card, how can I convert this into money for my iTunes account?

    I have 13 dollars left on an apple store gift card, how can I convert this into money for my iTunes account?

    You can't.

  • I changed my Apple ID, now I can't login to iCloud because it still has my old Apple ID and the password no longer works to log me in. How can I get back into iCloud so that I can switch off Find my iPhone so I can make these changes? Thank you.

    I changed my Apple ID, now I can't login to iCloud because it still has my old Apple ID and the password no longer works to log me in. How can I get back into iCloud so that I can switch off Find my iPhone so I can make these changes? Thank you. (iPhone 4s)

    Well, you're gonna have to recover the password for that Apple ID:
    http://support.apple.com/kb/ht5787

Maybe you are looking for