355 Topics

Member Avatar for
Member Avatar for LVZombie

Hello all, I am working on assignment for class and I thought I had this one but something is wrong. This is an inventory control program that needs to display 7 items with the item number, name, number in stock, price and value. The program works for item 7 but …

Member Avatar for LVZombie
0
579
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
987
Member Avatar for rnjreddy

double[][] a= new double[5][5]; int i,j; int [] controller= new int[5]; Random rand=new Random(); for(i=0; i<5; i++ ) { for(j=0; j<5; j++) { do { a[i][j]= rand.nextDouble(); if(a[i][j]>0.0) controller[j]++; System.out.println("a[" + i + "][" + j + "] = " +a[i][j]); }while( controller[j]==3); } } /* I create some random …

Member Avatar for rnjreddy
0
130
Member Avatar for saiphyn

Hi, I'm looking for a way to get a single data value from a table by an SQL statement and store it in a variable (i'm using C#). example: table: customers(customer_ID, name, age) string variable = SELECT name FROM customers where customer_ID = 25 It's probably not that hard, but …

Member Avatar for arunkumars
0
348
Member Avatar for Priti_P

Hello, I am using Yii framwork. What I want to do is, I have a dropdown and one button. on button click, i want to send selected value of dropdown in url. <div class='box'> Change to another Skill Type<br> // IT IS DROPDOWN WITH VALUES AND ID of this input …

0
174
Member Avatar for gogs85
Member Avatar for hiiiiii@

hi i have used datepicker for picking date and i need to validate for empty value .i should not allow the user to go to next page without selecting any dates how to do that ..

Member Avatar for jstfsklh211
0
210
Member Avatar for JOSheaIV

I have an application I have been buidling for awhile and have finally finished the first draft of it (it's a screensaver). Anyway, during my countless hours of testing never once did I see an error this error I am getting now. The error I am getting only occurs when …

Member Avatar for Ketsuekiame
0
207
Member Avatar for Atkinson88

Hello, I'm building an application in MVC which allows people to upload and sell there items, (Like ebay but on a much smaller scale) I currently have a view where they choose the categorie they want to place there item in, when they click ok I pass in the selected …

Member Avatar for Atkinson88
0
121
Member Avatar for jhennmacute

We wanted to save the header of a datagridview in the database. The value inputted in the textbox will be transfer in the header of a datagridview and we do not know how can we do that! Can anyone knows how to save a header of an datagridview???????????thank you

0
90
Member Avatar for sanz

hi, i am making a project in which i have to read barcode from scanned document and i have got a piece of code with its demo version from internet.but the thing which i am unable to understand in its demo version is that when the demo reads my scanned …

Member Avatar for JOSheaIV
0
294
Member Avatar for DeneyimszDenek

webBrowser1->Document->GetElementById("email")->Value = textBox2->Text; this code an error. help me.

Member Avatar for DeneyimszDenek
0
119
Member Avatar for ankit1122

` <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title>Our Local site</title> </head> <body> <form action="welcome.php" method="post"> <input id="t1" name="t1"type="text" placeholder="table name"><br> <input …

Member Avatar for diafol
0
217
Member Avatar for vish akha

Hii, i am new here. I have an assignment and now i am confused so is here anyone who can helpp me. I have created the code lyk- {<?php include 'header.php' ?> <?php include 'connection.php'; ?> <form name="f1" method="post" > <b>COURSE:</b> <select name="select" id="course"> <option value= "MCA" selected > MCA …

Member Avatar for diafol
-1
279
Member Avatar for nerdynewf

I have some previously written code that I am trying to modify. This is a portion of code to retrieve entries from a database and then edit inidivual sections, as required. Everything seems to work well with one exception. The code to create the drop down box to select the …

Member Avatar for GliderPilot
0
233
Member Avatar for navenchary

Hi, I m new to ajax. I have to implemented the ajax autocomplete in my code.When I press any alphabet say suppose "a", I should get all names starting with "a" say arman,anoop,anju etc one below other. now when i select one of them say 'arman' the text box will …

Member Avatar for kaushal_1
0
410
Member Avatar for Priti_P
Member Avatar for satroan

Hi I am trying to write a code that finds approximations of sine and cosine using the equations below with a given value of theta in degrees basically as a novice programmer i am having trouble setting upa a while loop for the expansions. Also can you guys please quote …

Member Avatar for ZZucker
0
285
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 Christian Joy

i am making an online quiz that has a countdown timer plugin: https://code.google.com/p/jquery-countdown/source/browse/trunk/js/jquery.countdown.js?r=3 everything is fine but if the user log out or close the browser then the timer will reset back to the default given time. i would like to know how to get the value of the timer …

0
113
Member Avatar for abdul_rouf26

I am new in apex. I want to write a trigger in apex for before insert. I have to standard object (Contact, Opportunity). SELECT sum(amount), Bussiness__c from opportunity where stagename='Closed Won' and id='006i000000Kt683AAB' group by Bussiness__c I want when trigger runs this get sum(Amount) field and Bussiness__c value and then …

0
125
Member Avatar for nadiam

what i want to do is show form based on the value of a dropdown list. like if value 2 then what appears is two forms of the same form. example: <div> How many? <select name="options"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> </div> <div id="test"> </div> <form id="form1"> <table> …

Member Avatar for nadiam
0
364
Member Avatar for dhani09

I have a drop-down list, which contains a list of over 150 schools. Each school in this drop-down list is located in one of 30 states. What i'm trying to implement is this: If a user chooses a school from the "select" list, the text box below it would automatically …

Member Avatar for nadiam
0
272
Member Avatar for dhani09

I have an HTML dropdown list which i'm populating from a database. My question is how can i retrieve the value of a selected item from this dropdown list using AJAX? Thanks in advance.

Member Avatar for dnyaneshk2
0
6K
Member Avatar for newbie14

I am linking to a webservice all works fine. Below is my codes. private static void printSOAPResponse(SOAPMessage soapResponse) throws Exception { TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = transformerFactory.newTransformer(); Source sourceContent = soapResponse.getSOAPPart().getContent(); System.out.print("\nResponse SOAP Message = \n"); StreamResult result = new StreamResult(System.out); transformer.transform(sourceContent, result); } I am not too …

Member Avatar for jwenting
0
134
Member Avatar for Alonso_1

Hey there. I'm trying to retrieve a date from an SQL table. The original formate of the date is as follows: 0000-00-00 00:00:00 I want to try and change the format into: Month Date, Year e.g. May 17, 2014 <?php $page_title = 'View the current users'; include('header.inc'); require_once('mysql_connect.php'); try{ $query …

Member Avatar for Alonso_1
0
209
Member Avatar for komal.sharif.5

I am new to php. I want to insert the value selected from dropdown list in mysql database. i have two tables named tbl_user and tbl_domain. how may i storea value in tbl_domain selected from dropdown list. can any1 help me pls? here is ma code. pls tell me whats …

Member Avatar for nadiam
0
364
Member Avatar for Almeister9

Hi all, I am very new to php and am slowly trying to get something together. I have a MySQL database with a table that has (among others) a field which is TINYINT called "field1". I have managed to be able to store a 1 or 0 in it from …

Member Avatar for baby007
0
2K
Member Avatar for Jsplinter

I have an mxn matrix, that is stored in memory in an array: matA = new float[m * n]; // ... Assign values matA[0] = 1; matB[1] = 2; // ... After I finish with this array, I then need to create very similar array to store a new mxn …

Member Avatar for Jsplinter
0
266
Member Avatar for Centorpe

I have a form which contains a datagridview and 2 textboxes. I have managed to populate the 2 textboxes as required by click of relevant row in datagridview. With the same click I also open another form which also contains 2 textboxes of the same name and these require the …

Member Avatar for Centorpe
0
198

The End.