How do i grab datalist ID and add it to button onclick to update that item

Hi, I have pulled over some data from my sql server 2012 in VB C# DataList view. I would like to add a custom button to each item that will allow me to delete an item from the database and also update a database column onclick. EG: Update the paid (bit)
column to 1 when the paid button is clicked. Here is what i have so far as i am new at this:
my aspx page:
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
<asp:DataList ID="dlActiveBills" runat="server" DataSourceID="SqlDataSource1">
<ItemTemplate>
Amount:
<asp:Label ID="AmountLabel" runat="server" Text='<%# Eval("Amount") %>' />
<br />
DateReg:
<asp:Label ID="DateRegLabel" runat="server" Text='<%# Eval("DateReg") %>' />
<br />
Deadline:
<asp:Label ID="DeadlineLabel" runat="server" Text='<%# Eval("Deadline") %>' />
<br />
Notes:
<asp:Label ID="NotesLabel" runat="server" Text='<%# Eval("Notes") %>' />
<br />
Name:
<asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
<br />
<br />
<asp:Button id="btnPaid" runat="server" Text="Paid" Commandname="update" />
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ProjectConnectionString %>" SelectCommand="SELECT
d.Amount,
d.DateReg,
d.Deadline,
d.Notes,
r.Name
FROM
Details d
LEFT JOIN
ReminderTypes r
ON
d.ReminderTypesId = r.ReminderTypesId
WHERE
d.Paid = 0"></asp:SqlDataSource>
</asp:Content>
my aspx.cs page
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class active_bills : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
protected void MainContent_dlActiveBills_btnPaid_0_Click(object sender, EventArgs e)
string dbConnection ="Data Source=somthing;Initial Catalog=somthing;Integrated Security=true;";
SqlConnection sqlConnection;
sqlConnection = new SqlConnection(dbConnection);
sqlConnection.Open();
SqlCommand cmd = new SqlCommand();
cmd.Connection = sqlConnection;
cmd.CommandText = "UPDATE Details SET Paid = 1 WHERE DetailsId = ?";
cmd.ExecuteNonQuery();
sqlConnection.Close();
This doesn't work but can it be done in this way somehow?

Hi irishwestman,
Thank you for posting in MSDN forum.
Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help
System, and Visual Studio Editor.
Based on your issue, it is related to the ASP.NET, so I suggest you can post this issue directly to the ASP.NET forum:http://forums.asp.net/
you will get better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • How to strip a file name and add it to array

    Hello I am new to labview, and I need to know how to strip a file name and add it to an array. For example, filename joe.csv, then take "joe" and add it to an array with other inputs. A visual depiction will be very helpful
    Attachments:
    channel read and error check R03_v9(JHK).vi ‏101 KB

    What does your code attachment have to do with your question?
    What are "other inputs"?
    I assume you have an array of strings. You can strip the filename using get file extension. You can build an array using build array. Wire the existing array on one input ant the string as a second input.
    LabVIEW Champion . Do more with less code and in less time .

  • Reset all settings. how to recover all the bookmarks and add?

    Please, help.
    At one point, without my knowledge, reset all settings. How to restore all the tabs and add? It is very important to me! How could this happen and why? I did not do anything.

    If you have you have reset Firefox then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop to an "Old Firefox Data" folder.<br />
    Installed extensions and other customizations (toolbars, prefs) that you have made are lost and need to be redone.
    If you otherwise created a new profile then check if there are still other profiles present
    You can use this button to go to the current Firefox profile folder and go back one level to go to the Firefox/Profiles/ folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    * /Users/&lt;user&gt;/Library/Application Support/Firefox/Profiles/&lt;profile&gt;/
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    If you use the Time Machine then you can try to recover files there and copy them to the current profile folder.
    *http://www.apple.com/support/timemachine/

  • How to make custom binary module and add to powershell?

    How to make custom binary module and add to powershell?
    I wish to add 'Microsoft.SharePoint.Client.dll' in powershell as binary module so I can use its intellisense.

    Hi Biraj,
    I replied to this in other thread
    https://social.technet.microsoft.com/Forums/en-US/a13c9cc8-7d53-46b5-b5bb-65404db2d347/how-to-make-intellisense-enable-in-powershell-in-csom-for-sharepoint-online?forum=sharepointdevelopment
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • My podcast has been approved, how do change my cover art and add an author?

    My podcast has been approved, how do change my cover art and add an author?  I would appreciate any help
    Thanks

    In whatever method you are using to create your podcast there should be a place where you originally placed the image or its URL, and you can just replace this with a new one (which needs to have a different filename from the original). Similarly there should be a place to enter your name so that it goes in the 'itunes:author' tag.

  • I have a new IPAD. There are no "list", "date," and "add a reminder" buttons on the Reminder app. There are also no "calendar" and "add an event" bottons on the Calendar App. Why?

    I just bought a new IPAD. There are no "list", "date," and "add a reminder" buttons on the Reminder App. There are also no  "calendar" and "add an event" buttons on the Calendar App. Why? Is there a way to add either a reminder or an event?

    For the reminders app - just tap on an open space on the ruled paper window under the heading in order to create a new reminder. Or tap on the + sign in the upper right corner of the app. You do not have the + sign on the app?
    For the calendars app to go Settings>iCloud>Calendars>On. Toggle the setting on and off and the + sign should appear in the lower right corner of the calendars app. Tap the + sign to create a new event.

  • How to change Topic's Icon and show the Print Button

    Hi, currently i'm using robohelp html version 8. I have spent quite some time to figure out how to change topic's Icon and show the Print Button in my project. Anyone can help me on this? Btw, i using MX(template) to generate the output with FlashHelp Pro.
    Below is the screenshot for clearer clarification:
    Thanks.

    We would have told you if there was.
    Sorry but a downside of FlashHelp is that your customising options are limited.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • I want the phone to be on sense that is my alarm clock but don't need the lights on the phone and the dim light button will only do that dim the light.

    I want the phone to be on sense that is my alarm clock but don't need the
    lights on the phone and the dim light button will only do that dim the
    light.

    Restoring iOS software
    http://support.apple.com/kb/ht1414
     Cheers, Tom

  • How do I read txt file and add items to dropdownlist or checkbox

    I want to add items to a dropdown or check box by reading from a text file(and select one of them). (I donot use any table or database). The list of items is sometimes upto 20MB and hence cannot populate using session bean.I want items to be added to either checkbox or listbox during a button action. I have done this for textarea but unable so far to acheive for checkbox or listbox. I use following code which does not work:
    public String button3_action() {       
    try{           
    FileReader fr = new FileReader "F:/CreatorProjects/checkboxtst.prs");
    BufferedReader br = new BufferedReader(fr);
    String s;
    while((s=br.readLine())!=null) {
    dropdown1.setValue(s);
    br.close();
    fr.close();
    }catch(Exception e) {
    e.printStackTrace();
    return null;
    I know I cant just transplant textarea code for dropdownlist or checkbox.
    Any help is greatly appreciated.
    Thanks.
    Dr.AM.Mohan Rao

    I am able to read from txt file to a listbox if i write in sessionsbean1:
    try{
    FileReader fr = new FileReader("F:/CreatorProjects/checkboxtst.prs");
    BufferedReader br = new BufferedReader(fr);
    String s1="";
    String s="";
    while((s=br.readLine())!=null) {
    s1 = s1+s;
    s1= s1+"\n";
    disOptions = new com.sun.rave.web.ui.model.Option[] {              
    new Option(s1,s1)};
    diseases = new String[] {};
    fr.close();
    br.close();
    catch(Exception e) {
    e.printStackTrace();
    But I get all data in one line!! if I click submit button text area gets all. How to display items in each line????Please help...
    Dr.AM. Mohan Rao

  • How to create a new transaction and add it to Area Menu

    Hi.
    I have to create a report and run the report using the Tcode and Tcode has to be added in the Area Menu at the initial screen.
    Please tell me how can i do that.
    Thank you in advance

    You can add additional menu transaction in the SAP main menu without affecting the original SAP default area menu S000.
    For example, you have created a transaction code called ( z123 - ABC Own Report ) and you want to insert it under Logistics.  The specific user will be able to access ABC Own Report by clicking Logistics -> ABC Own Report.
    Steps :-
    Goto Transaction SE43 - Area Menu
    Click the copy button.  Copy from S000 to ZXXX
    After copying, click Change (area menu ZXXX)
    Double click on Logistics and add in your transaction code in the AreaMenu.
    Remembers to Activate it.
    Next Goto Transaction SU01 - Maintain users
    Type in the user name and click the Defaults button
    Type in the area menu (ZXXX) in the Start Menu field.
    Click Save
    The user will be able to see the additional transaction on the next logon.
    The CUA area menus are converted to tree navigation in Release 4.6A. The menu contents are automatically copied into a new data structure in Upgrade to Release 4.6A or higher. You can edit Area Menus with a new maintenance interface (Area Menu maintenance transaction: SE43 ).
    Reporting Tree Integration - Only transactions could previously be put in Area Menus. From Release 4.6A you can also put all the types of reports which are in reporting trees, in Area Menus. The system automatically assigns a transaction code to call the report from the menu. If you have already put the report in another Area Menu, no new transaction code is generated, the unique transaction code already assigned is used.
    You can create Area Menus from complete reporting trees with the migration transaction RTTREE_MIGRATION . The report transaction codes are generated automatically.
    Reporting trees can only be displayed. They cannot be maintained. To modify the contents of reporting trees, you must convert them with the migration transaction. You can then modify the contents with the Area Menu maintenance.

  • I need to combine 2 sets of bookmarks in one computer. One set was just replaced -- how do I get it back and add it to the second?

    I am combining the contents of 2 computers into one new computer. I did a file transfer from the first, which transferred all of my bookmarks and passwords; when I did a file transfer from the second, it replaced the bookmarks and passwords that had already transferred. I want BOTH sets together as one Bookmark list in my new computer. How do I find the set that has just been replaced and add it to the second transfer?
    One last thing -- I can still access the computer from the second transfer, but the first has been wiped clean. I wish I had known that the bookmarks would be replaced before I did the second transfer.

    Keep this in mind, when you are restoring a JSON backup it will '''replace''' existing bookmarks (same thing with swapping in a places.sqlite file). When you '''import''' in HTML format, those bookmarks will be '''appended''' to the existing bookmarks.
    I think what you need to do is to recover the backup from just before you attempted to add the second set of bookmarks - hope that Firefox automatically backed them up before you replaced them (very strong probability that was done '''if''' you closed Firefox between the two restorations, but if you didn't close and restart Firefox between those actions it may not have happened). That should give you the bookmarks from the first PC that is wiped clean. - https://support.mozilla.com/en-US/kb/Lost+Bookmarks#w_restoring-bookmark-backups
    Then do an '''export''' into HTML format on the 2nd PC that is still operational. '''Import''' that bookmarks.html into the PC you are working on, to add them to the existing bookmarks. <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Export HTML... - to a USB stick <br />
    '''''then''''' <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... - from file on that USB stick

  • How do I take one photo and add it onto another?

    I want to take the photo of a cheque, and add it to a photo so it looks like the person is holing  a large cheque (from shoes to waste sixed cheque)
    All assistance appreciated
    Kiwidreaming

    Easy Photoshop task:
    Open both check image and desired target image in Photoshop
    Switch to check image, trim out background stuff (possibly making sure the check is on its own layer, to ease background removal)
    Select all (control-A), copy (Control-C)
    Switch to target image
    Paste (Control-V) - This will paste the check image into a new layer of the document
    Re-size / transform (Control-T) - This is where you'll be able to tell if the check image was high enough resolution, and if you need another image
    Since the target document will have the check on a new layer, it gives you plenty of freedom for other corrections, adjustments, etc.
    There's a few other shortcuts to achieve the same effect, but this 'feels' the most straightforward.
    Cheers!

  • How can I efficiently resize photos and add zooms to send to Premiere Elements

    Hi
    I am regularly making DVDs in Premiere Elements V3 with about 200 pics from my  V5 Catalogue ,with  some zooms and then adding about a dozen edited video sequences, adding sound, transitions etc in premiere Elements. This is the normal profile of what I do
    I now need to find a simple and efficient work flow  to do this.
    What I am doing so far ( but it might have to change very soon when I upgrade to V7 depending on how compatible the versions are, and whether they offer better ways to do this) is
         Make Collection in Photoshop
         Export to Folder  ( my folder destination for the resized images),  changing the resolution in the dialogue box
         Then use that folder as source for Premiere.
    This works EXCEPT
         Issue1        The order of the pics was changed ,and was not that in the Collection. This was done during the export phase, so seems to do with PS, rather than the import to PE. It seems random, not date etc
        Isuue 2         Now how do I do my zooms, as currently this can only be done in slide show creation , I think,. And I don't think you can the save a slide show to file.
        So I am getting a bit confused
    At first I used "process multiple images", but it used an extra stage, first "export to file", then  "process Multiple files". This was not as quick but did retain the order.
    So if there are suggestions on the best way to do this in general and for PE7and PS7 that would be helpful.
    Thanks
    Chris

    update your mac to the latest and greatest lion software.  then you can photo stream wirelessly through wi-fi.  but that is about it.  and beware, lion has had many issues.  make sure you look at the comments people are making on the reviews page and make sure the problmes have been updated.  i have not upgraded yet, for i want to wait to see if they get all the bugs worked out before doing so.  been issues with losing information and firmware issues.

  • How can I dynamically assign prompt and URI to a button in a table?

    I've got a VO returning document name, link and a status flag. My resultsTable for this VO is currently displaying 3 fields: 2 messageStyledText fields for the document name and link text, and a switcher that shows a checkbox image or red X image depending on the value.
    I now want to put a button into this results table that a user can click to launch a subsequent page where they can fill out those related docs. To do this, I'd like to make the prompt of this button = VO.documentName, the Desitination URI of this button = VO.linkText, and then leave the switcher as is. The result might look somethign like this:
    <Form 838C> X
    <Form 1952> \/
    <Form 1234> X
    In this case, Form 1952 ahs been filled out, the others not. Users should be able to click one of the buttons to launch a subsequent page where they can fill the form.
    I found code to walk through a VO results set using an iterator, you'll see that below. Now, stubbed in these 3 steps below:
    --set button dest
    --set button label
    --determine loop end
    I can't see how to do this. I already have the table, so can I walk through the results set and access the results table at the same time?
    I need to be able to set each of the buttons to the right Label (Prompt) and then set each button to the appropriate destination. Here's what I have so far: Thanks in advance!
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Initializes the detail employee query.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject summaryVO = (OAViewObject)am.findViewObject("LANLSupplDocsSummaryVO1");
    if (summaryVO != null)
    // Do not reinitialize the VO unless needed.
    String stringReqHeaderId = pageContext.getParameter("REQ_ID");
    Number defaultReqHeaderId = null;
    try
    defaultReqHeaderId = new Number(stringReqHeaderId);
    catch(Exception e)
    // throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    throw new OAException("ICX", "XXXL_INVALID_NUMBER");
    summaryVO.setWhereClauseParams(null);
    summaryVO.setWhereClauseParam(0,defaultReqHeaderId);
    summaryVO.executeQuery();
    // This controller is associated with the table.
    OATableBean table = (OATableBean)webBean;
    // We need to format the Switcher image column so the image is centered
    // (this isn't done automatically for Switchers as it is for
    // plain image columns). We start by getting the table's
    // column formats.
    // NOTE!!! You must call the prepareForRendering() method on the table before
    // formatting columns. Furthermore, this call must be sequenced after the
    // table is queried, and after you do any control bar manipulation.
    table.prepareForRendering(pageContext);
    DataObjectList columnFormats = table.getColumnFormats();
    DictionaryData columnFormat = null;
    int childIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int buttonIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int meaningIndex = pageContext.findChildIndex(table, "MEANING");
    columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
    columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
    LANLSupplDocsSummaryVORowImpl row = null;
    // This tells us the number of rows that have been fetched in the
    // row set, and will not pull additional rows in like some of the
    // other "get count" methods.
    int fetchedRowCount = vo.getFetchedRowCount();
    // We use a separate iterator -- even though we could step through the
    // rows without it -- because we don't want to affect row currency.
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (LANLSupplDocsSummaryVORowImpl)deleteIter.getRowAtRangeIndex(i);
    // For performance reasons, we generate ViewRowImpls for all
    // View Objects. When we need to obtain an attribute value,
    // we use the named accessors instead of a generic String lookup.
    // Number primaryKey = (Number)row.getAttribute("EmployeeId");
    String formPage = row.getMeaning();
    --set button dest
    --set button label
    --determine loop end
    break; // only one possible selected row in this case
    // Always close the iterator when you're done.
    deleteIter.closeRowSetIterator();
    }

    Thanks Guaravv,
    I'm unable to get this to compile. Here's the errors I'm getting, followed by my controller code. Thanks again!
    Project: LANLSupplementalDocs.jpr
    C:\oracle\jDeveloper\jdevhome\jdev\myprojects\lanl\oracle\apps\icx\por\req\webui\LANLSupplementalDocsSummaryCO.java
    Error(16,46): cannot access class oracle.apps.fnd.framework.webui.beans.OAButtonBean; file oracle\apps\fnd\framework\webui\beans\OAButtonBean.class not found
    Error(124,9): class OAButtonBean not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(124,26): class OAButtonBean not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(125,9): class OADataBoundValueViewObject not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Error(125,47): class OADataBoundValueViewObject not found in class lanl.oracle.apps.icx.por.req.webui.LANLSupplementalDocsSummaryCO
    Controller:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package lanl.oracle.apps.icx.por.req.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.cabo.ui.data.DictionaryData;
    import oracle.cabo.ui.data.DataObjectList;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.apps.fnd.framework.webui.beans.OAButtonBean;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OAException;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.framework.OAApplicationModule;
    //import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    //import oracle.apps.fnd.framework.webui.beans.layout.OASpacerBean;
    //import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
    * Controller for ...
    public class LANLSupplementalDocsSummaryCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Initializes the detail employee query.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject summaryVO = (OAViewObject)am.findViewObject("LANLSupplDocsSummaryVO1");
    if (summaryVO != null)
    // Do not reinitialize the VO unless needed.
    String stringReqHeaderId = pageContext.getParameter("REQ_ID");
    Number defaultReqHeaderId = null;
    try
    defaultReqHeaderId = new Number(stringReqHeaderId);
    catch(Exception e)
    // throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    throw new OAException("ICX", "XXXL_INVALID_NUMBER");
    summaryVO.setWhereClauseParams(null);
    summaryVO.setWhereClauseParam(0,defaultReqHeaderId);
    summaryVO.executeQuery();
    // This controller is associated with the table.
    OATableBean table = (OATableBean)webBean;
    // We need to format the Switcher image column so the image is centered
    // (this isn't done automatically for Switchers as it is for
    // plain image columns). We start by getting the table's
    // column formats.
    // NOTE!!! You must call the prepareForRendering() method on the table before
    // formatting columns. Furthermore, this call must be sequenced after the
    // table is queried, and after you do any control bar manipulation.
    table.prepareForRendering(pageContext);
    DataObjectList columnFormats = table.getColumnFormats();
    DictionaryData columnFormat = null;
    int childIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int buttonIndex = pageContext.findChildIndex(table, "DOC_STATUS");
    // int meaningIndex = pageContext.findChildIndex(table, "MEANING");
    columnFormat =(DictionaryData)columnFormats.getItem(childIndex);
    columnFormat.put(COLUMN_DATA_FORMAT_KEY, ICON_BUTTON_FORMAT);
    // LANLSupplDocsSummaryVORowImpl row = null;
    // This tells us the number of rows that have been fetched in the
    // row set, and will not pull additional rows in like some of the
    // other "get count" methods.
    int fetchedRowCount = summaryVO.getFetchedRowCount();
    // We use a separate iterator -- even though we could step through the
    // rows without it -- because we don't want to affect row currency.
    // RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    for (int i = 0; i < fetchedRowCount; i++)
    OATableBean tableBean = (OATableBean)webBean.findChildRecursive("ResultsTable");
    OAButtonBean m= (OAButtonBean)tableBean.findChildRecursive("DocLauncher");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "MEANING");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    else
    throw new OAException("ICX", "XXXL_BC");
    }

Maybe you are looking for

  • FORMS BUILDER 6i

    I am studying application development I had a practical case that is making a form that contains 3 canvases: 1st. A content canvas that has a text item on it that returns the username using GET-APPLICATION-PROPERTY built in. 2nd. A tabbed canvas with

  • .bat to .sh syntax

    Script on windows: CD "C:\Program Files (x86)\Adobe\Flash Media Encoder 2.5" start /affinity 80  /high FMEcmd.exe /p c:\fme\profile.xml I've try to convert it to .sh to run on mac cd "/Applications/Adobe/Flash Media Live Encoder 3.2/CommandLineFMLE"

  • OUTPUT type document archiving is failing

    Hi, We are generating the OUTPUT type documents for billing invoices. For one of the output type the documents are not storing to content server. tRFC request is generating but it is failing with the below error SAP ArchiveLink: Obj. type not assigne

  • Crystal Reports Licensing

    I have a question about the various versions of Crystal Reports developer. We have a product that uses an older version of Crystal Reports (8.5) and our product will be updating to use Crystal Reports XI, however we have customers that want to create

  • How to print Photo layouts and Collages with Photoshop CS4?

    Hello all, I just downloaded PhotoShop CS4 trial version and comparing it to Photoshop Elements 6. I noticed that there are no ways to print photo packages nor photo collages in CS4 ! The only thing CS4 can do is to print one photo at the time. Adobe