355 Topics
|
|
Greetings, i am doing a school project which basically deals with forms and an access database.I have various textboxes in a form.I want some textboxes to be filled automatically with a value when another textbox has been filled. For e.g , if the user fills in the 'Cost' textbox , … |
|
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 … |
|
Hi all ! I have a code which search registry key value in specific key path, not all registry. In registry key `SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}` find all keys with `0000 , 0001 , 0002 , 0003` and so on at the end of registry key. `{4D36E972-E325-11CE-BFC1-08002BE10318}` . In each key ( for … |
|
I'm trying to compare the element pointed by an iterator to an integer, but so far i haven't had any luck in doing so. please correct whatever i'm doing wrong. Thank you. vector<int>::iterator y; for (int i = 0;i<n2;i++) { cin>>temp; cnt = 0; y = lower_bound(a.begin(),a.end(),temp); if (*y == … |
|
In datasource i have 5 columns and i want 3 columns data in particular dropdownlist having a distinct value... plz help |
|
Hey Guys, Got a question on storing a value from protcted method to a public variable then using that public variable(with value from protcted method) in another protcted method.. My explaination, so I'll show my code. I'm new to coding so pls be easy on me.. You help is appreciate … |
|
I have a hashmap with key as unique word in string and value as count of duplicates word in string. I want to arrange the output by value. ex: String is "my name is my name and is my my". Output as: my 4 name 2 is 2 and 1 … |
|
Hi, I have 7 variables...each vriable is having either of two values "0" or "1" e.g. a=0, b=1, c=1, d=1, e=0, f=1, g=0 Now I need the total of all these 7 variables but only which are having value "1" (in the above case b+c+d+f) My problem that it's dynamic...i.e … |
|
I need to fetch questions with 4 optional answers from dtabase.... tables are questions | options...html code is below... <table width="536" height="54"> <tr> <td class="deco">Q<?php echo $index.") ".$questions; ?> </td> <td width="15"></td> </tr> <?php while($row_wrong_ans = mysql_fetch_array($res_wrong_ans)){ $op_index = $row_wrong_ans['fbo_index']; $op = $row_wrong_ans['fbo_ans']; ?> <tr> <td width="473"><input type="radio" name="radio[<?php $index;?>]" … |
|
Hi guys... I need some help from you all.. **Actual Scenario is :** This is Module to Update today's price of products and these TextBoxes below is created in loop with <input type="text" id="<?="rate2".$i?>" name="<?="rate2".$i?>" size="5" /> ($i is increment variable of loop) also I already got abc rate (Standard … |
|
Is it possible to reuse an identity field value after deleting rows in SQL Server 2005? Here is an example. Suppose I have a table with an Id field as a primary key (identity). If I add five rows, I will have these 5 Ids: 1, 2, 3, 4, 5. … |
|
HELP ME plzzz! I try to make my datagridview rows change colour depending on value on a row cell. I ve tryed everything i found on the web but nothing.. plz help Last I tryed this one: http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellformatting.aspx but stil nothing :( |
|
Hello all! I am using a little piece of code in a report I'm generating (LogiXML). It is a "back" button that takes the user back to the previous page.. It does not however, use any form of a history, back, location javascript code. It just uses a plain old … |
|
Hello Friends, One help needed.... I have a product database....in which I have productid,prodname,inventoryvalue,reordervalue I have to design a email system that as soon as the product reaches the reorder level it shud generate an email.... but the condition is there will be many products in the database....and on one … |
|
Good day! I need help.. I have to check if the textbox value is in the dropdownlist items, and I don't know how to get this in javascript. I wanted to validate it in such a way that if the textbox value is in the dropdownlist item values, then the … |
|
|
I would like to write a page which accepts Value of textbox / input-field using javascript. As you get values from this: <script type="text/javascript"> var cheese=1 document.write(cheese) </script> Maybe the value `cheese` could be taken from text which the user has to enter....how? |
Hi, below is my code for an android app I am developing, I was wondering how I can pass the value of pos from the array adapter to another activity through intent? What I would like is for the code in the next activity to be performed based on the … |
|
|
Hi I have a question. I haven't try this yet but rather have someone tell me that it will work or not. For example I have this let's call this **1.php** file **1.php** has these two categories SKU: <?php echo stripslashes($row1['sku']);?> Item ID: <?php echo stripslashes($row1['itid']);?> I want to submit … |
|
import java.util.*; import java.io.IOException; import java.util.Scanner; import java.util.Random; public class LinkedListProgram { public static void main(String[] args) throws IOException { int i,number, ran; Scanner sc = new Scanner(System.in); LinkedList<Integer> list = new LinkedList<Integer>(); ListIterator li; String line; Random random = new Random(); int pick = random.nextInt(150); System.out.println("Enter # of nodes"); … |
|
hello everyone. I can't figure out how to create a random int that gets placed into a linked list. import java.util.*; import java.io.IOException; import java.util.Scanner; import java.util.Random; public class LinkedListProgram { public static void main(String[] args) throws IOException { int i,number, ran; Scanner sc = new Scanner(System.in); LinkedList<String> list = … |
I am trying to display value. The code below displays value but it uses alert to show value. But I need to show value in a textbox. Anyone there to help me??? $('#show').click(function() { var $cars = ''; $('#selected_cars .innertxt2').each(function() { var $car_value = $(this).attr('carvalue'); if ($cars == '') $cars … |
|
Hello! What I am trying to do is assign the values from a mysql query and store them in an array. I have some code that queries the DB by using SHOW COLUMNS. I then loop through dynamically assigning the name of the DB field to input fields of a … |
|
I wana know how can i use a value from a sql table that i added from another form? It basically supposed to validate that whatever was the last recorded added in the other form(eg formA) , i must then use those same values from the sql , into another … |
|
How would I find all occurances of the letter 'e' for example in a list of the split word elephant? I've tried using letterlist.index('e') for example but index only returns the first occurance of e. This is to be used in a hangman game, and the game needs to display … |
The End.