355 Topics

Member Avatar for
Member Avatar for Khav

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 , …

Member Avatar for Khav
0
862
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 ingus16

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 …

Member Avatar for ingus16
0
2K
Member Avatar for Ararat

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 == …

Member Avatar for Ararat
0
1K
Member Avatar for mitesh.24jain

In datasource i have 5 columns and i want 3 columns data in particular dropdownlist having a distinct value... plz help

Member Avatar for mitesh.24jain
0
205
Member Avatar for sofien.fkih

Hi, If I have a value inside the try{} how can I read it outside, is it possible try { int num=0; }

Member Avatar for JamesCherrill
0
78
Member Avatar for hubber92

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 …

Member Avatar for hubber92
0
155
Member Avatar for akashsinha123

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 …

Member Avatar for pritaeas
0
102
Member Avatar for phpHelp

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 …

Member Avatar for phpHelp
0
187
Member Avatar for phpHelp

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;?>]" …

Member Avatar for phpHelp
0
2K
Member Avatar for anu013

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 …

Member Avatar for anu013
0
304
Member Avatar for Sadia fatima

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. …

Member Avatar for cutepinkbunnies
0
752
Member Avatar for skran

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 :(

Member Avatar for poojavb
0
1K
Member Avatar for PhilEaton

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 …

Member Avatar for PhilEaton
0
2K
Member Avatar for poojavb

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 …

Member Avatar for poojavb
0
158
Member Avatar for jbutardo

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 …

Member Avatar for code739
0
190
Member Avatar for HTMLperson5

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?

Member Avatar for code739
0
15K
Member Avatar for Nickl246

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 …

Member Avatar for peter_budo
0
604
Member Avatar for LastMitch

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 …

Member Avatar for LastMitch
1
155
Member Avatar for sonicx2218

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"); …

Member Avatar for sonicx2218
0
3K
Member Avatar for sonicx2218

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 = …

Member Avatar for sonicx2218
0
2K
Member Avatar for layman114

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 …

Member Avatar for Airshow
0
237
Member Avatar for jpadgett230

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 …

Member Avatar for jpadgett230
1
217
Member Avatar for darthswift00

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 …

Member Avatar for Reverend Jim
0
3K
Member Avatar for White Eagle

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 …

Member Avatar for woooee
0
183

The End.