51 Topics

Member Avatar for
Member Avatar for amvx86
Member Avatar for marky101

Good day! I want to know how to pass a value to reportviewer textbox. I want to pass the value of a datetimepicker to reportviewer textbox. How can I do this? Both reportviewer and datetimepicker are in the same form. any help is much appreciated. Thank you.

Member Avatar for Karunya_1
1
4K
Member Avatar for UKnod

In the good old days of VB6 I used to use this technique to communnicate between programmes, without using external files. In fact I could even set off the textbox interupt in the running programme so as it could do something once triggered. This being said, I can't get it …

Member Avatar for UKnod
0
274
Member Avatar for sing1006

i have 2 class for example class a and class b. i need the string store at class a pass and use by class b, here is my code for class a and class b. class a public void actionPerformed(ActionEvent arg0) { JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileNameExtensionFilter("Text Files", …

Member Avatar for iamthwee
0
310
Member Avatar for MistaGeorge

So what I'm trying to do is pass the values of one class to the other. So with the code i have i believe what is happening is im not passing the values. But im passing the referenced location. import java.util.Arrays; public class numbers { int[][] x = {{6,10,14,31,32},{12,23,12,11,22}}; public …

Member Avatar for MistaGeorge
0
419
Member Avatar for ZER09

I tried to create a context menu for a griedview and when i test it it works greacefully private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs e) { ContextMenu c = new ContextMenu(); DevExpress.XtraGrid.Views.Grid.GridView view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo HitInfo = view.CalcHitInfo(e.Point); if (HitInfo.InRow) { view.FocusedRowHandle = HitInfo.RowHandle; c.MenuItems.Clear(); c.MenuItems.Add("sample", sampsss); c.MenuItems.Add("sample", sampsss2); c.Show(view.GridControl, …

Member Avatar for Merletyco
0
384
Member Avatar for Alessandrorenzi
Member Avatar for Alessandrorenzi
0
176
Member Avatar for Deep_Coder

I want to pass data from one function to another function in same controller.And then show that data on a view.This is my code parts.But it gives errors in view.Please can you help me? Model function getEmail($logindata) { $emailentered=$logindata['emailpost']; return $emailentered; } Controller public function Login() { $this->load->view('header'); $this->load->view('userLogIn'); if($_POST) …

Member Avatar for diafol
0
3K
Member Avatar for Kosamov

Hi Everyone, I've been working on creating this code for a project I've been working on but I can't seem to get it to work. I'm creating a service class that I can then pass to a client class that will read a list of cities that ends in a …

Member Avatar for abhi_d_one
0
171
Member Avatar for chira.laura.9

Heloo everyone. I have this code for a form in PHP...but when I use $POST['collection'] or any other from th drop down lists I cannot access the vaalue of the variable passed: <form enctype="multipart/form-data" action="insert_validation.php" method="post"> <table border="0"> <tr><th>Choose category: <tr><td><select name="category"> <?php $sql=mysql_query('SELECT category from Category order by category'); …

Member Avatar for broj1
0
343
Member Avatar for Mirfath

Hi! I am designing a form which contains a datagridview which can display all customer orders. I also have a button inside the datagridview so that if a user clicks the button it will open another form which contains the items which the customer ordered in a datagridview. I am …

Member Avatar for pritesh2010
0
1K
Member Avatar for jg1405

Thanks for the support! I have been working on a program with 7 classes, one the main and one starts the program, and I have been troubleshooting for a few hours trying to see why for one of the output constructors I'm not getting the classes to update the output. …

Member Avatar for Taywin
0
190
Member Avatar for tet3828

I have a two forms that I created using the design view of Visual C# Express (Form1 & infoEntry). I set the properties to of the listview in Form1. public System.Windows.Forms.ListView toSend; I've invoked the second form and sent some data using code below. Works great. infoEntry dataWindow = new …

Member Avatar for TnTinMN
0
419
Member Avatar for Ahmed Goran

Hi all i have a form as follows: ** file1.php** <form action="<?php echo $editFormAction; ?>" method="POST" enctype="multipart/form-data" name="tblMovment" id="tblMovment"> <input name="MovDate" type="text" /> <input name="MovAmount" type="text" /> <input type="submit" name="submit" id="submit" value="add invoice" /> </form> 1. **I want to pass the Auto increment ID of the table above to another …

Member Avatar for Ahmed Goran
0
280
Member Avatar for rrlogu

Hi, I am trying to fix this simple coding problem for many days, but its not working everytime, I am posting in hope that some one will help this time. I am having two pages Page1.php and Page2.php. Page1 is having a text box when I enter some code here …

Member Avatar for rrlogu
0
191
Member Avatar for Psyho

Good Evening (in CET) to everyone. I am in need of a bit of help. I have the following cpp and.h files: dirmain.cpp #include "dirseq.h" #include <iostream> #include <algorithm> #include "dirseq.h" #include <string> struct IsEven { bool operator()( int i ) const { return i % 2 == 0; } …

Member Avatar for Psyho
0
318
Member Avatar for miramiey

Hai, I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql... 1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on …

Member Avatar for Begginnerdev
0
334
Member Avatar for DaveyMoyes

Hi all, can someone tell me why I am unable to concatinate the variable $id to the members.php ? Its driving me mad. . . [code] $id = $row["id"]; $_SESSION['SESS_MEMBER_ID'] = $id; setcookie("id", $id, time()+86400); $securecode = $row["securecode"]; $_SESSION['SESS_SECURE_CODE'] = $securecode; setcookie("securecode", $securecode, time()+86400); $creff = $row["creff"]; $_SESSION['SESS_CREFF'] = $creff; …

Member Avatar for Biiim
0
206
Member Avatar for marirs07

Hi all, I would like to call a makefile with a particular variable and value so that the variable is used to make decisions inside the makefile. Thanks

Member Avatar for dmanw100
0
195
Member Avatar for marirs07

Hi all, I would like to call a makefile with a particular variable and value so that the variable is used to make decisions inside the makefile. Thanks

Member Avatar for L7Sqr
0
151
Member Avatar for Allander

I'm trying to pass a list from a function to another using templates but get this error message: [QUOTE]/home/mattias/CodeBlocks/SpelBeta/src/player.cpp|64|undefined reference to `void Ground::bulletsCollition<Bullet>(std::list<Bullet, std::allocator<Bullet> >)'|[/QUOTE] Here is the code: [CODE] //In the function calling the template function (*blocks).bulletsCollition(player_bullets.getList()); //In header that the getList is declared #ifndef BULLETLIST_H #define BULLETLIST_H #include …

Member Avatar for mike_2000_17
0
11K
Member Avatar for placebo1

i want to read parameters from a file. but the program reads all parameters as if they are zero.any help? here is the code [CODE] typedef unsigned long int WORD; unsigned long int parameters[2]; WORD pt1[2]; void readConfig() { char a[3]; FILE *p; p = fopen("config.data", "r"); if (p) //we …

Member Avatar for placebo1
0
183
Member Avatar for zck17

I'm trying to make a Palindrome program, that basically returns whatever you enter, just backwards. For some reason, the cNewArray is not only couting the original array backwards, but also the original array. For example if I enter "Hello" it returns "Hello = olleHHello". I'm very new to referencing pointers …

Member Avatar for mikrosfoititis
0
179
Member Avatar for diafol

Hi all, been dipping my toe into OOP and am getting on OK, but I'm hitting a bit of a wall with a current project. classes: db (a PDO extended class) User Timetable The db is just a few shorthand ways of running PDO The User is just for handling …

Member Avatar for diafol
0
210
Member Avatar for infantheartlyje

Hi folks, I have written code to random access files in c++ . I got result without creating a method for write a record to the file. I have given the code snippet below. [code] #include<iostream> #include<fstream> #include<iomanip> using namespace std; class student { int rollno,marks; char name[20]; fstream fpointer; …

Member Avatar for infantheartlyje
0
310
Member Avatar for desmond_ckl

Hi experts, im new to coding and i really need help for this. i have done a shopping cart calculation using javascript my question now is, HOW TO SEND JAVASCRIPT VALUE INTO DATABASE (MYSQL) ?? [CODE] <?php require_once 'library/config.php'; require_once 'library/cart-functions.php'; $action = (isset($_GET['action']) && $_GET['action'] != '') ? $_GET['action'] …

Member Avatar for stbuchok
0
172
Member Avatar for digipak

Hello, I have a class Pdisk [CODE] class Pdisk { public : Pdisk(string diskname, int numberofblocks, int blocksize); private : string diskname; int numberofblocks; int blocksize; }; [/CODE] Now I want to make a class filesys which can access an object of class Pdisk. I am not sure how to …

Member Avatar for StuXYZ
0
502
Member Avatar for DILO3D

[CODE] function func1(str) { document.getElementById("txtHint").innerHTML='<Br>Graph type: <select id="sel" name="sel" onchange="func2(str)"><option value="1">1</option><option value="2"> 2</option></select>'; } function func2(x) { some codes.... } [/CODE] In Above coding, i want to pass the "str" variable to "func2" in onchange . but above code is not working. Can anyone Please help me..?

Member Avatar for DILO3D
0
254
Member Avatar for l0ns008

I am having an issue with the WHILE LOOP variable being past via POST to the next page. The first page provides the query results for all the categories in which a user has provided a referral. When the user selects one of the listed categories, it is supposed to …

Member Avatar for klemme
0
969
Member Avatar for l0ns008

I'm a NEWBIE and I have been stuck on this for days. I have one table that has the following rows: rid = Referral ID category = Category subcategory = Subcategory rbusiness = Referred Business Name rcontact = Referred Contact Name etc.. I have created the form (referral_input.php) that allows …

Member Avatar for l0ns008
0
2K

The End.