I am developing a C# Windows Form Application. Now i am trying to select value from Listbox and load corresponding value in List view using the stored procedure. And this is my stored Procedure: ALTER PROCEDURE [dbo].[spPOExport] @BST_BESTELLUNG INT AS BEGIN SELECT BH.BST_LIEFERANT AS Product Name, BZ.BDT_REFNUMMER AS Unit Price, BZ.BDT_ANZ_RESTMENGE AS Quantity, BZ.BDT_EKP_BESTELLT AS Discount, FROM BESTHEAD BH INNER JOIN BESTZEIL BZ ON BH.BST_ORIGNR=BZ.BDT_ORIGNR AND BH.BST_BESTELLUNG=BZ.BDT_BESTELLUNG WHERE BST_FILIALE = 150 AND BST_STATUS IN(1,2) AND BZ.BDT_ANZ_RESTMENGE > 0 AND BH.BST_BESTELLUNG=@BST_BESTELLUNG END Can any one help please? Thanks ![bb41218964e1c3836d7690a0ced14c22](/attachments/small/4/bb41218964e1c3836d7690a0ced14c22.gif "align-right") ![bb41218964e1c3836d7690a0ced14c22](/attachments/large/4/bb41218964e1c3836d7690a0ced14c22.gif "bb41218964e1c3836d7690a0ced14c22")

Member Avatar
Member Avatar
+0 forum 1

I am learning codeigniter when i create rule for validate dropdown box but its not given me error message **View File** <?php $option = array('0' =>'[ Please select an Experience Level ]', '1' => 'Without experience', '2' => 'Internship', '3' => 'Less than one year', '4' => 'One year', '5' => 'Two years',); $shirts_on_sale = array('small','0'); echo form_dropdown('RequiredEducationLevel',$option,'0'); ?> <?php echo form_error('RequiredEducationLevel','<span style="color:red;float:none;">','</span>');?> **Controller File** class Employee_Cont extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->helper(array('form','url')); $this->load->helper('html'); $this->load->library('form_validation'); } public function register() { $this->form_validation->set_rules('RequiredEducationLevel','Required Education Level','required|callback_check_default'); $this->form_validation->set_message('check_default', 'You need to select something other than the default'); if($this->form_validation->run() == FALSE) { $this->load->view('header/employee_register_header'); …

Member Avatar
Member Avatar
+0 forum 3

Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> <input type="text" name="url"> <input type="submit" value="View Images"> </form> </div> </body> </html> view.php <?php // get url from form $url = $_GET["url"]; // get contents from url $content = file_get_contents($url); // finally display images echo $images; ?> How do I go about coding the rest? What functions do you suggest? Any …

Member Avatar
Member Avatar
+0 forum 2

Hello! I have a table called Events and one of the colums is called "country". I want to be able to query events based on the user country. So eventID #1 might have "country" = US, CA, MX (multiple values), so if a user is from the US logs-in will see the eventID 1 , but also if a user from CA logs-in will see the same event. I created a <select name=country[] multiple> with a list of countries. I would like to be able to select several countries and save them in a colum. I tested json_encode and serialize …

Member Avatar
Member Avatar
+0 forum 3

I am trying to use web2py to build an app. I have a simple print function that a user submits a key word . The string or int key word is directed to an sqlite db to retrieve a row and output the data. I need to know 1. how to use the print on html. 2. How to split the string...so far i did the list:string Here is my code: def first(): form = SQLFORM.factory(Field('visitor_name', label = 'Please Type Your keyword here!', requires= [IS_NOT_EMPTY(), IS_LOWER(),'list:string'])) form.element('input[type=submit]')['_onclick'] = "return \ confirm('Are you sure you want to submit:');" if form.process().accepted: session.visitor_name …

Member Avatar
+0 forum 0

Don't know if this is right place for my question, but Does anyone know if it is possible to have multiple forms visible at the same time while developing an application with Access in "Form View" mode? If so, how does one tell Access to do this? This applies to both Access 2007 and Access 2010. Thank you, Chuckc

Member Avatar
Member Avatar
+0 forum 2

The End.