How to get different value in second view of webdynpro?
hello guys,
In ABAP webdynpro I am trying to create one application having two views.
One view contains input field and another view contains table control.
In module pool if one screen contains input field then second screen display the details in table as per the selection criteria in first screen,same way here in first view what ever I will enter as per the selection details should get display in the table.
Now I have created the application and now I am executing the application.
Here in first view in input field I am entering the selection criteria and when I am nevigating to second view it desplaying the details what I want in the table but now I am having one more pushbutton to nevigate to first view again and I am trying to enter the value but this time in the second view in the table it showing me the same details what there was in previouse details.
Can anybody please help me out?
Hi
YOu can use it in WDDOINIT Method associated with the VIEW just go to attribute tab and
IF_FLIGHT_VIEW double click on this Interface you will get all the methods.
Don't worry about all these methods.
Use Web Dynpro Code Wizard to get the required Declarations ( Hope you did it already) .
your element instance combined with the method Name.
For reference take the help of WDR_TEST_UI_ELEMENTS.
Cheer and Happy Diwali
Ram
Similar Messages
-
How to get different values in drop down in table rows
Hi
I have an application, which has a drop down in the table. Each row is to have different values in its drop down based on the "characteristic" parameter. For eg. first row has characteristic as color, and the corresponding drop down will contain the color names. Second row has charateristic as weight, and the drop down will carry corresponding weight values.
I am getting the data from the backend as a flat table i.e. charaterisitc - value pair.
I think i will have to use the Drop Down by Index control, but i dont know how exactly to go about it.
Can any one please help in this regard.
Thanks & regards,
AnupreetHi Maksim
I am sorry, but i am not able to get you.
This is the piece of code that i wrote for populating the drop down:
IPrivateMaintainDocAttribView.IDropElement dropEle = null;
for(int i = 0;i<size;i++)
dropEle = wdContext.nodeDrop().createDropElement();
dropEle.setDropval(wdContext.nodeCtxNode_DocAttribs().getCtxNode_DocAttribsElementAt(i).getCmpCtx_Value());
wdContext.nodeDrop().addElement(dropEle);
Here, Dropis the sub node to which i am putting the data and thisis linked to the table.
CtxNode_DocAttribs is the model node from where i am picking the data and setting in the subnode.
Thanks & regards,
Anupreet -
How to get Zoom value in scroll viewer in C# wpf Kinect SDK 2.0?
I have recently started using the Kinect SDK 2.0 and am focusing on a zoom and pan functionality, as in the Control Basics-WPF sample.
I have got the zoom and pan functionality up and running. The problem is that I wish to access the value of the amount of zoom which has been performed by the Pinch zoom gesture.
Here is my xaml:
<UserControl x:Class="ImageNav.NavigationImage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:k="http://schemas.microsoft.com/kinect/2014"
mc:Ignorable="d"
d:DesignWidth="1200"
d:DesignHeight="700"
>
<Grid Grid.RowSpan="2">
<ScrollViewer Name="scrollViewer" Grid.Row="0"
HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"
k:KinectRegion.IsHorizontalRailEnabled="true" k:KinectRegion.IsVerticalRailEnabled="true"
k:KinectRegion.ZoomMode="Enabled">
<Image Name="navigationImage" RenderTransformOrigin="0.5, 0.5" />
</ScrollViewer>
<TextBox x:Name="ZoomTextBox" Grid.Row="1" TextWrapping="Wrap" Text="Zoom: 100%" IsEnabled="False" Panel.ZIndex="10" BorderThickness="0"
HorizontalAlignment="Right" VerticalAlignment="Bottom" FontSize="20"/>
</Grid>
</UserControl>
I would have wanted there to be something like `k:KinectRegion.ZoomFactor`, but that isnt available. I've also tried to see what changes in the UI elements when I perform the zoom gesture, by writing the `Height` and `ActualHeight` properties of the `ScrollViewer
scrollViewer` and `Image navigationImage` to a log file, but they show no change whatsoever.
When I perform the zoom gesture, I would like to get the value of zoom i.e. the current height and width of the image with respect to the original height and width.You might want to look deeper into how the scrollviewer works in WPF. I don't know the specifics but I am sure it doesn't change the physical size of the image, but modifies it's rendering properties of the ScrollViewer transform(zoom == scale). You can
probably subscribe to an event whenever there is a change detected.
Carmine Sirignano - MSFT -
How to get attribute values from one view to another
HI all,
Thx in Advance..
I have 2 view like v1,v2.In v1 i used one attribute values from "get single attribute" method.And i need the same values in v2 screen.For this i did in v1 outbound plugs , i mentioned the parameter name . How can i get the same values in v2.Hi chandru ,
you said you declare the parameters in the Outbound Plug of V1. now go to view V2 inbound plug Tab and creat one inbound plug
double click on the plug name .it will navigate you to the event handeler method . Now add the outbound parameter variables in the
parameters
For example : V1firing the navigation plug
a type string " defined in parameter
wd_this->fire_out_to_view2_plg(
a = 'ABCD' " string
you can retrive the value freely in v2 inbound event handeler
a type string " defined in parameter
* set single attribute
lo_el_context->set_attribute(
name = `TEXT`
value = a )." here you will get the 'ABCD'.
regards
Chinnaiya P
Edited by: chinnaiya pandiyan on Jun 23, 2010 7:12 PM -
How to get initial value of Child View from Parent View in ADF?
Hi,
I am typically from a Oracle forms background and new to ADF.
In ADF,how can I populate the initial value for a new record in child view from the parent view?
For example.. using standard Departments and Employees tables which has parent child relation ship.
If I want to create a new employee.. how do I get the initial value for department_id of my employee record(employee table) from departments table in ADF?
Thanks in advance
VishnuUSer, please tell us your jdev version!
If you have setup the data model in a way that it reflects this relationship (should be automatic if you use the 'create business components from table' wizard) this is pretty easy.
To check this, open the application module and select the data model. On the right side you see departments view and under it indented the employees view. This indent shows you that the employees view is a child of the departments view. This is all you nee for the model layer.
In the UI you open the datacontrol and open the departments view. One node it the employees view (as child). Now, if you work on a department (e.g. you drag the department view onto a page and drop it as form), you can add a button to create a new child (employee) by opening the employee node in department and drag the createInsert operation onto the page and drop it as button.
Then create a new page and drop the employees view (the child from departments view) on to the page and drop it as form. This form will then display the new row for thew employee of hte department.
Last thing to do is to add anavigation case from the departments page to the employees page and select this on the CreateInsert button.
The form should have the DepartmentId pre-selected.
Timo -
How to get distinct values from this view
I had created a view to get to display from 2 tables.But i got duplicate values in this.
Please give any solution for this view code.
CREATE OR REPLACE VIEW TRADEQUOTEHISTORY_VIEW
(BOND_ID, BOND_NAME, COMM_PER_SHARE, QUOTE_DATE_TIME, TYPE,
STOCK_PRICE, BID_PRICE, ASK_PRICE, ACTUAL_HEDGE, SOURCE_ORDER_ID,
SOURCE_ORDER_NAME, NOTES, SIDE_ID, BIDNUKED, ASKNUKED,
REALSTOCK, LAST_UPDATED_DATE)
AS
SELECT bi.bond_id, bi.bond_name,
( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
/ (bi.px_pos_mult_factor)
nq.quote_date_time, bi.market_sector_des, nq.stock_price,
nq.bid_price, nq.ask_price, nq.actual_hedge, so.source_order_id,
so.source_order_name, nq.notes, bs.side_id,
( bs.bid_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
( bs.ask_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
csv.lastprice,
bs.last_updated_date
FROM mtsc_bondinfo bi,
mtsc_basissheet bs,
mtsc_newquoteorder nq,
mtsc_sourceorder so,
mtsc_stock_v csv
WHERE bi.bond_id(+) = bs.bond_id
AND bs.bond_id(+) = nq.bond_id
AND csv.bondid = bs.bond_id
AND so.source_order_id(+) = nq.source_order_id
UNION
SELECT bi.bond_id, bi.bond_name,
( (bs.comm_per_share * bi.cv_cnvs_ratio * bs.hedge)
/ (bi.px_pos_mult_factor)
nq.quote_date_time, bi.market_sector_des, bs.stock_price,
bs.bid_price, bs.ask_price, bs.hedge, so.source_order_id,
so.source_order_name, nq.notes, bs.side_id,
( bs.bid_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
( bs.ask_price
+ ( (csv.lastprice - bs.stock_price)
* bi.cv_cnvs_ratio
* bs.hedge
/ bi.px_pos_mult_factor
),csv.lastprice,
bs.last_updated_date
FROM mtsc_bondinfo bi,
mtsc_basissheet bs,
mtsc_newquoteorder nq,
mtsc_sourceorder so,
mtsc_stock_v csv
WHERE bi.bond_id(+) = bs.bond_id
AND bs.bond_id(+) = nq.bond_id
AND csv.bondid = bs.bond_id
AND so.source_order_id(+) = nq.source_order_id
ORDER BY last_updated_date DESC
result is coming like this
BOND_ID BOND_NAME ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR)) QUOTE_DATE_TIME MARKET_SECTOR_DES STOCK_PRICE BID_PRICE ASK_PRICE ACTUAL_HEDGE SOURCE_ORDER_ID SOURCE_ORDER_NAME NOTES SIDE_ID (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) LASTPRICE LAST_UPDATED_DATE
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:15 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 300 25 41 STREET MARKET AN 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 300 25 41 STREET MARKET fgdf dfgf 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 300 25 41 STREET MARKET HGH HHGHF 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 300 25 41 STREET MARKET New Notes 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80066.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 200 200 25 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 200 200 25 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 200 200 25 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 200 200 25 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 5591906636.41908 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:55:14 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 62812767.6093129 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:49:17 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 01/08/2007 12:49:04 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 200 200 25 41 STREET MARKET AN 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 200 200 25 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 200 200 25 41 STREET MARKET HGH HHGHF 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 200 200 25 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79966.4 79966.4 905 01/08/2007 12:48:22 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:02:32 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 12:01:05 PM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 08/01/2007 Corp 9 300 400 25 41 STREET MARKET AN 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 9 300 400 25 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 11/01/2007 Corp 9 300 400 25 41 STREET MARKET HGH HHGHF 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 9 300 400 25 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 705563.241890625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 80066.4 80166.4 905 01/08/2007 11:58:23 AM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 7925.450625 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 10:55:09 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 9 135 104 25 41 STREET MARKET AN 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 09/01/2007 Corp 9 135 104 25 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 11/01/2007 Corp 9 135 104 25 41 STREET MARKET HGH HHGHF 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 9 135 104 25 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79901.4 79870.4 905 31/07/2007 5:53:25 PM
106 007903AK3 Corp 89.025 08/01/2007 Corp 6 7 78 78 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 08/01/2007 Corp 9 130 104 25 41 STREET MARKET AN 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 09/01/2007 Corp 9 130 104 25 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 09/01/2007 Corp 200 5 7 8 41 STREET MARKET fgdf dfgf 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 11/01/2007 Corp 4 6 6 8 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 11/01/2007 Corp 9 130 104 25 41 STREET MARKET HGH HHGHF 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 9 130 104 25 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
106 007903AK3 Corp 89.025 17/07/2007 7:06:20 PM Corp 67 78 90 34 41 STREET MARKET New Notes 110 79896.4 79870.4 905 31/07/2007 1:05:18 AM
Regards
Kishore BBOND_ID BOND_NAME ((BS.COMM_PER_SHARE*BI.CV_CNVS_RATIO*BS.HEDGE)/(BI.PX_POS_MULT_FACTOR)) QUOTE_DATE_TIME MARKET_SECTOR_DES STOCK_PRICE BID_PRICE ASK_PRICE ACTUAL_HEDGE SOURCE_ORDER_ID SOURCE_ORDER_NAME NOTES SIDE_ID (BS.BID_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) (BS.ASK_PRICE+((CSV.LASTPRICE-BS.STOCK_PRICE)*BI.CV_CNVS_RATIO*BS.HEDGE/BI.PX_POS_MULT_FACTOR)) LASTPRICE LAST_UPDATED_DATE
109 018490AL6 Corp 18871.341129 Corp 27 139 166 87 110 120752.494 120779.494 905 01/08/2007 12:55:26 PM
109 018490AL6 Corp 18871.341129 Corp null null null null 110 120752.494 120779.494 905 01/08/2007 12:55:26 PM
I am not inserting values into newquoteorder,but i got values from that table ask,bid,stock values, it shows that values as null -
How to get column value in grid View
Hello My first Language is German so bear with my English
FIRST vIEW THE SCREEN SHOT PLEASE
I am new to asp.net i am making small application to generate reports in which user give criteria just liek we do in sql server i have two grid view in accordion section then there is button so Both GridView has headers that Name
, Output and Filter
Name shows the Column of database fields, output column has check box if user check box it will only display those columns and filter is text box in which we filter our results
basically i am just trying to do this like sql server in which user check columns to display and also provide filter criteria and then sql query modified according to the grid values.
i have attached the screen shot of grid view kindly view it please You will have idea what i am tyring to say
now i want some help in filter criteria
suppose user check ref Code, School,Program, Name in the grid view and press show button
it generates query
select RefCode,School,Program,Name from Applicant.
now i want to apply where clause if user write something in filter text box which i can not do kindly help me out and view the screen shot my desire outcome is if user check column and also write some value in RefCode filter textbox let suppose '0565-01'
and in School Text user write SBE
it should generate sql
select RefCode,School,Program,Name from Applicant where (RefCode='0565-01')and (School='SBE');
my code for show button which generate simple select statement without where clause is below.
protected void Button2_Click(object sender, EventArgs e)
String output = "";
String filter = "";
foreach (GridViewRow row in gvExperience.Rows)
CheckBox cb = (CheckBox)row.FindControl("CheckBox1");
if (cb.Checked == true)
output += row.Cells[0].Text.ToString() + ','; // get the Name of columns and concate in output variable }
output = output.Remove(output.LastIndexOf(","), 1)
string sql = "select " + output + " from Applicant"; // display the query
bindoutput(sql); // pass this query and bind the new gridview which contain generated sql
AzeemHi Azeem,
>>I am new to asp.net
Please ask on this forum instead:
http://forums.asp.net/24.aspx/1?Web+Forms+Data+Controls
ASP.NET issue is not related to WinForm forum.
Regards,
Barry Wang
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. -
How to get the values from popup window to mainwindow
HI all,
I want to get the details from popup window.
i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
now i am able to display popup window with values.How to get the values from popup window now.
I can anybody explain me clearly.
Thanks&Regards
kranthiHi Kranthi,
Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
Regards,
Uday -
How to get real value from selectOneChoice with javascript?
Hi,
How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
JSF page:
<af:resource type="javascript">
function parseAddress(event)
alert("new value: " + event.getNewValue());
</af:resource>
<af:selectOneChoice label="Location:" value="" id="soc4">
<af:clientListener type="valueChange" method="parseAddress" />
<f:selectItems value="#{Person.locations}" id="si7"/>
</af:selectOneChoice>
HTML :
<option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
<option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
Thanks a lot.Something I was missing ,
You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:panelBox text="PanelBox1" id="pb1">
<af:selectOneChoice label="Set Log Level" id="soc1"
value="#{SelectManagedBean.loggerDefault}"
valuePassThru="true">
<af:selectItem label="select one" value="First" id="s6"/>
<af:selectItem label="select two" value="Second" id="s56"/>
<af:clientListener method="setLogLevel" type="valueChange"/>
</af:selectOneChoice>
<af:resource type="javascript">
function setLogLevel(evt) {
var selectOneChoice = evt.getSource();
var logLevel = selectOneChoice.getSubmittedValue();
// var logLevelObject = AdfLogger.NONE;
alert("new value is : " + logLevel);
//alert(evt.getSelection);
//alert(logLevelObject);
evt.cancel();
</af:resource>
</af:panelBox>
</af:form>
</af:document>
</f:view>
</jsp:root> -
How to get each value from a parameter passed like this '(25,23,35,1)'
Hi
One of the parameter passed to the function is
FUNCTION f_main_facility(pi_flag_codes VARCHAR2) return gc_result_set AS
pi_flag_codes will be passed a value in this way '(25,23,35,1)'
How to get each value from the string
like 25 first time
23 second time
35 third time
1 fourth time
I need to build a select query with each value as shown below:-
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 25 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q1,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 23 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q2,
(SELECT t2.org_id, RTRIM(xmlagg(xmlelement(e, t4.description || ';')
ORDER BY t4.description).EXTRACT('//text()'), ';') AS DESCRIPTION
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 35 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date
group by t2.org_id) q3,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 1 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q4
Please help me with extracting each alue from the parm '(25,23,35,1)' for the above purpose. Thank You.chris227 wrote:
I would propose the usage of regexp for readibiliy purposes and only in the case if this doesnt perform well, look at solutions using substr etc.
select
regexp_substr( '(25,23,35,1)', '\d+', 1, 1) s1
,regexp_substr( '(25,23,35,1)', '\d+', 1, 2) s2
,regexp_substr( '(25,23,35,1)', '\d+', 1, 3) s3
,regexp_substr( '(25,23,35,1)', '\d+', 1, 4) s4
from dual
S1 S2 S3 S4
"25" "23" "35" "1"In pl/sql you do something like l_val:= regexp_substr( '(25,23,35,1)', '\d+', 1, 1);
If t2.att_type is type of number you will do:
t2.att_type= to_number(regexp_substr( '(25,23,35,1)', '\d+', 1, 1))Edited by: chris227 on 01.03.2013 08:00Sir,
I am using oracle 10g.
In the process of getting each number from the parm '(25,23,35,1)' , I also need the position of the number
say 25 is at 1 position.
23 is at 2
35 is at 3
1 is at 4.
the reason I need that is when I build seperate select for each value, I need to add the query number at the end of the select query.
Please see the code I wrote for it, But the select query is having error:-
BEGIN
IF(pi_flag_codes IS NOT NULL) THEN
SELECT length(V_CNT) - length(replace(V_CNT,',','')) FROM+ ----> the compiler gives an error for this select query : PLS-00428:
*(SELECT '(25,23,35,1)' V_CNT FROM dual);*
DBMS_OUTPUT.PUT_LINE(V_CNT);
-- V_CNT := 3;
FOR L_CNT IN 0..V_CNT LOOP
if L_CNT=0 then
V_S_POS:=1;
V_E_POS:=instr(pi_flag_codes, ',', 1, 1)-1;
else
V_S_POS:=instr(pi_flag_codes,',',1,L_CNT)+1;
V_E_POS:=instr(pi_flag_codes, ',', 1, L_CNT+1)-V_S_POS;
end if;
if L_CNT=V_CNT then
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS));
else
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS,V_E_POS));
end if;
VN_ATYPE := ' t2.att_type = ' || V_ID;
rec_count := rec_count +1;
query_no := 'Q' || rec_count;
Pls help me with fetching each value to build the where cond of the select query along with the query number.
Thank You. -
How to get Dynamic values from R/3 into dropdownlist of my WD appl
Hi all,
I have a requirement like, I have 2 dropdown boxes. The values should be populated from R/3, for this am using a BAPI. But how to get the values dynamically, plz help me or give give some PDF/blogs which are useful to my scenario. Thanks in advance.
regards,
GaneshHi ganesh,
YOu have 2 drop down so you should create two action handler and similarly 2 bapi's , rfc's in backend .You should drop down by key feature of webdynpro on the second drop down explained below.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/91c5e990-0201-0010-4981-9b2075751da5
Regards,
Hemant
Rewards Pts if helpful -
How to get submitted Value from SelectOneMenu?
Hi.
At the beginning, i would like to say, that i am at the beginning to learn JSP and JSF. I am from germany, so please excuse my english.
For work i have to develop a form, where the user can select a manufacturer, insert a unique key and get a list of devices after he submits this two attributes.
At the moment i can not get the value of the selected Item in the selectonemenu.
I deleted all my trys to get this value, to show you the working parts.
We work with faces-config.xml, tiles.xml and hybris as platform.
My code:
deviceFamilyMain.jsp:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<h:form id="frmDeviceFamilySelect">
<h:selectOneMenu binding="#{DeviceFamilyBean.selectOneMenuDeviceFamilies}" id="selectOneMenuDeviceFamilies">
<f:selectItems binding="#{DeviceFamilyBean.dropdownDeviceFamilySelectItems}" id="dropdownDeviceFamilySelectItems" />
</h:selectOneMenu>
<h:commandButton action="#{DeviceFamilyBean.detailsAction}" value="Main"/>
</h:form>
DeviceFamilyBean:
public class DeviceFamilyBean extends TC_JSFBean
//selectOneMenuDeviceFamilies
HtmlSelectOneMenu selectOneMenuDeviceFamilies = new HtmlSelectOneMenu();
public HtmlSelectOneMenu getSelectOneMenuDeviceFamilies() {
return selectOneMenuDeviceFamilies;
public void setSelectOneMenuDeviceFamilies(HtmlSelectOneMenu selectOneMenuDeviceFamilies) {
this.selectOneMenuDeviceFamilies = selectOneMenuDeviceFamilies;
//dropdownDeviceFamilySelectItems
private UISelectItems dropdownDeviceFamilySelectItems = new UISelectItems();
public UISelectItems getDropdownDeviceFamilySelectItems() {
Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
.getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
SessionBean sessionBean = (SessionBean) objFacesSession;
dropdownDeviceFamilySelectItems.setValue(getDropdownDeviceFamilyDefaultItems());
return dropdownDeviceFamilySelectItems;
public void setDropdownDeviceFamilySelectItems(UISelectItems dropdownDeviceFamiliesSelectItems) {
this.dropdownDeviceFamilySelectItems = dropdownDeviceFamiliesSelectItems;
//dropdownDeviceFamilyDefaultItems
private ArrayList dropdownDeviceFamilyDefaultItems = new ArrayList();
public ArrayList getDropdownDeviceFamilyDefaultItems() {
Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
.getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
SessionBean sessionBean = (SessionBean) objFacesSession;
TC_Manager tcDeviceFamilyManager = TC_Manager.getInstance();
dropdownDeviceFamilyDefaultItems.clear();
Collection col = this.getAllDeviceFamilies();
Iterator itDev = col.iterator();
while (itDev.hasNext())
DeviceFamily deviceFamily = (DeviceFamily) itDev.next();
dropdownDeviceFamilyDefaultItems.add(new SelectItem(deviceFamily.getCode()));
return dropdownDeviceFamilyDefaultItems;
public void setDropdownDeviceFamilyDefaultItems(ArrayList dropdownDeviceFamilieDefaultItems) {
this.dropdownDeviceFamilyDefaultItems = dropdownDeviceFamilieDefaultItems;
//OutputText DeviceFamily Name
private HtmlOutputText outputTextDevFamName = new HtmlOutputText();
public HtmlOutputText getOutputTextDevFamName()
Object obj = FacesContext.getCurrentInstance().getApplication()
.getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
SessionBean sessionBean = (SessionBean) obj;
if (sessionBean.getCurrentDeviceFamily() != null)
outputTextDevFamName.setValue(sessionBean.getCurrentDeviceFamily().getCode());
} else {
outputTextDevFamName.setValue("CurDevFam = null");
return outputTextDevFamName;
public void setOutputTextDevFamName(HtmlOutputText outputTextDevFamName) {
this.outputTextDevFamName = outputTextDevFamName;
//detailsAction
public String detailsAction()
Object objFacesSession = FacesContext.getCurrentInstance().getApplication()
.getVariableResolver().resolveVariable(getFacesContext(), "SessionBean");
SessionBean sessionBean = (SessionBean) objFacesSession;
//sessionBean.setCurrentDeviceFamily((DeviceFamily) this.getDropdownDeviceFamilySelectItems().getValue());
return "go_devicefamily_details";
SessionBean:
private DeviceFamily currentDeviceFamily;
public DeviceFamily getCurrentDeviceFamily() {
return currentDeviceFamily;
public void setCurrentDeviceFamily(DeviceFamily currentDeviceFamily) {
this.currentDeviceFamily = currentDeviceFamily;
go_devicefamily_details is referenced to deviceFamilyDetails:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<h:form id="frmDevFamDetails">
<h:outputText value="#{DeviceFamilyBean.outputTextDevFamName}" />
</h:form>
</f:view>I hope i did not forget anything needfull.
Maybe someone could explain how to get the value and complete the code.
Thanks.Thx 4 the tip.
I found an other way. It was such easy, that i could kick myself. :-)
Only in the detailsAction() i needed:
sessionBean.setCurrentDeviceFamilyName((String) this.getSelectOneMenuDeviceFamilies().getValue());
I allways looked for dropdownDeviceFamilySelectItems and tryed to get the selected Index, but it is the HtmlSelectOneMenu that carries the value. :-(
The DeviceFamily Class is an HybrisObject and not easy to initialize.
I just created a new String (currentDeviceFamilyName).
Now it works. -
How to get the values of 2 dynamic comboboxes in one jsp to another jsp?
I have 2 comboboxes and one submit button on my jsp page.I select a value in 1st combobox then the values in the second combobox populated from the database. next i select 2nd combobox and then submit the button.After submit the button call the next jsp page. In that page i want to display the values of two comboboxes. but my problem is , in that page only 2nd combobox value is displayed.1st combobox is displayed as null. plz tell me, how to get the values of two comboboxes at a time?
Select.jsp:
<%@ page language="java" import="java.sql.*" %>
<%!
Connection con = null;
Statement st = null;
ResultSet rs = null;
String sql = null;
void addItems(javax.servlet.jsp.JspWriter out, String sql)
try{
rs = st.executeQuery(sql);
while( rs.next() )
out.println("<option>" + rs.getString(1) + "</option>");
}catch(Exception e)
System.out.println(e);
%>
<HTML>
<HEAD>
<TITLE>JSP WITH MULTIPLE FORMS</TITLE>
<script language="javascript">
function checking()
form1.submit();
</script>
</HEAD>
<body>
<center>
<b><font size="5" color="#333399">Staff ID:</font></b></center>
<FORM NAME="form1" METHOD="POST" ACTION="Select.jsp">
<p align=center>
Details of Staff :
<SELECT 1 NAME="type" onchange="checking();">
<option> Administrator </option>
<option> OfficeAssistent </option>
<option> Clerk </option>
</SELECT 1>
</p>
</FORM>
<FORM NAME="form2" METHOD="POST" action="welcome1.jsp">
<center>
<TABLE><TR><TD>Staff ID:</TD>
<TD><SELECT 2 NAME="staff_id">
<%
String type = request.getParameter("type");
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:java","system","manager");
catch (ClassNotFoundException ex) {
System.out.println(ex);
catch (SQLException ex)
System.out.println(ex);
st = con.createStatement();
sql = "select staff_id from "+type+"";
addItems(out, sql);
%>
</SELECT 2>
</TD>
</TR>
</table></center>
<h2> Details of <%= type + "s" %> </h2>
<center><input type=submit value=ok onclick="submit();"></center>
</FORM>
</BODY>
</HTML>
welcome1.jsp
<center><h1>WEL COME</h1></center>
<%
String type = request.getParameter("type");
String sid = request.getParameter("staff_id");
%>
<h2> Details of <%= type + "s" %> </h2>
<h2> Details of <%= sid %> </h2><SELECT 1 NAME="type" onchange="checking();">
<option value = "0"> Administrator </option>
<option value = "1"> OfficeAssistent </option>
<option value = "2"> Clerk </option>
</SELECT 1> -
Xml: how to get node value when pasing node name as a parameter
Hi,
I've got some xml:
var xmlData:XML =
<1stNode>
<buttonID>first child node value</buttonID>
<imageID>second child node value</imageID>
<labelID>third child node value</labelID>
</1stNode>
Then I want to read specific node value based on a value passed to a function. .
var buttonID = new Button;
var imageID = new Image;
var labelID = new Label;
getNodeValue(buttonID); //the value here is set dynamically
private function getNodeValue (nodeName:String):void {
trace (xmlData.nodeName) //doesn't work
var str:String = "xmlData." + nodeName;
var xml:XMLList = str as XMLList //doesn't work
I'm don't know how to get the value when node name is dynamically changed.use:
getNodeValue(buttonID); //the value here is set dynamically
private function getNodeValue (nodeName:String):void {
trace (xmlData[nodeName]) -
Qry:How to get different price for each price list (variable area) in order
1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
2- I add a location store from a table in line item and I want to see this area in order,.
I 'm created 2 field location(item line and order), 1 table location
I tried this for exemple : select $ [userfieldlocation.OITW]Thanks Suda for your answer,
the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,
I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
read carefully and imagine how (Management warehouse locations)
I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data line and an ather user field 'U_Location' in sales order
I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
or
create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
I think we will use all these tables
@LOCATION
PDN1
OITM
OITW
OWHS
RDR1
Juste a another question : where you found this and What is: ' 38.1.0 '
Is it in document (System information):Item=38 Pane=1 ??
Thanks,
Ouchen
Maybe you are looking for
-
All of a sudden no sound - please help
Hi, I'm running Vista Ultimate 64-bit version with a X-Fi Titanium Fatalty Pro card and all of a sudden I noticed I don't have any sound coming from my speakers anymore and when I in iTune for example press the play button to play a song the play but
-
Changing file name on a batch of files
I have a new PC and have moved all of my photographs from an external HDD (Drive E) to my new Drive C. If I try to edit one of the moved photos, PE tries to find it in E:\, but of course cannot. I see how to change individual file names, but is there
-
Accessing...
how do I specify files to be accessed only in a specific folder via a crossdomain? <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-c
-
I lost my photos when I reset my iPad
I needed to change my apple I'd as the email was discontinued ,In the proses I reset the iPad which went well except all my photos went missing ,A full backup was quit resent Can anybody help.
-
is there a way to add a profile to my lightroom for the Canon 24-86 3.5-4.5