199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jellybeannn

Hi everyone, I've got a DropDownList in Product.aspx when the add to cart button is pressed the value selected is passed onto a stored procedure. What I need help with is in ShoppingCart.aspx I want the selected value on the previous page to be the index on this pages DropDownList. …

Member Avatar for Ramesh S
0
119
Member Avatar for srsackman

Hi, everyone. I am having difficulty with the following: I have a form with several RequiredFieldValidator controls on it. My user can take path 'A', down which all of these apply, or path 'B', down which only [I]some [/I]of them apply. How can I 'disable' some of my validators (not …

Member Avatar for Ramesh S
0
85
Member Avatar for beforetheyknew

Hi guys i've written a hash table as a collection for a program the key is a string, show below: [CODE]private Hashtable<String, Planes> planesFlying = new Hashtable<String, Planes>();[/CODE] How can i write a comparator to sort this into alphabetical order? i've tried a lot. Do you need to overide equals …

Member Avatar for gangsta1903
0
428
Member Avatar for safia qurban

i want to give a presention on functions use in code and want to give a comparision by function call by value and by reference with different cods can any one help me ,as give me these codes?

Member Avatar for Ancient Dragon
0
275
Member Avatar for emilo35

So, a while ago I wrote a SerializableImage class in order to easily bundle several images together into a single file. The class worked fine, both serializing, file I/O and drawing. In another project I'm working on I successfully used a copy of this SerializableImage class, until recently. I had …

Member Avatar for emilo35
0
185
Member Avatar for johnnybgoode
Member Avatar for vegaseat
0
767
Member Avatar for parisa_bala

I am a C programmer. I am working on a C++ code and translating it into C. I got stuck in a point where I do not understand what is going on. I would kindly ask if you would mine help me to understand these problems. I have three problems: …

Member Avatar for Narue
0
205
Member Avatar for MrPapas1991
Member Avatar for stardustmeri

I have to be honest. I am about to quit college and I just recently started. I have no clue about this assignment. I need help...badly. [COLOR="Red"] For the lab this week, you will need to connect to data via JDBC and run a query such that the result is …

Member Avatar for darkagn
0
115
Member Avatar for solomon_13000

I would like to find out do we declare a class as persistent only when it represents the data in the database. In other words when we create a persistent object then we can store the state of the object into the database.

Member Avatar for solomon_13000
0
52
Member Avatar for wonderland

Hi, Hello, Few hours back I implemented [URL="http://developerkarma.com/projects/phpformmail/readme-all-one-version"]phpFormMail[/URL] with simple form, and everything is working fine except after I submit form I get redirected to this page: The following information has been submitted: Name: Ultra e-mail: [email]email@email.com[/email] Comment: test email: [email]email@example.com[/email] I wanted to know why do I get email: …

Member Avatar for wonderland
0
252
Member Avatar for Benjip

I'm hoping to get some help with sorting database results based on the results themselves. I have two tables in this example, one being 'product_category_lookup.table' and the other 'products.table'. The 'product_category_lookup.table' holds data which tells the website which products are associated with which categories. The reason I have a lookup …

Member Avatar for as.bhanuprakash
0
114
Member Avatar for eddan

Yeah I was stupid and pressed (X) on all of the bars to the left you know the "Solution Explorer" I think and alot of more, how do I re-enable them?

Member Avatar for mitrmkar
0
92
Member Avatar for dippy78

Hi, Please guide on whats the best practice to return multiple rows in JWS to the consuming client application. Currently i'm using Netbeans 6.7. Thanks.

Member Avatar for peter_budo
0
145
Member Avatar for app_path

Hi I would like to know which of the following is correct uni-directional association between class A and class B.(A->B) 1. [CODE] class A { int num; B obj_B; A(){ //constructor code; } } class B { int num; B(){ //constructor code; } } [/CODE] 2. [CODE]class A { int …

Member Avatar for javaAddict
0
109
Member Avatar for eliile5

hello everyone! i have a problem, i have a written code that i have changed a little bit, its a droughts game. the problem is that i want to make a game when player plays ageinst player and for that i have to put out the cpu code. obviously it …

Member Avatar for eliile5
0
92
Member Avatar for eddan

Hello!! I have started learning c++ and it has been a real sucess until now. My codes that worked before and those that im trying to use now, doesn't work.. I get a compiler error... Here is the code and the error: // tutorialearning.cpp : Defines the entry point for …

Member Avatar for gangsta1903
0
900
Member Avatar for lamphan

I have debugged and dec2bin function outputs "bin" value is right, but cout function somehow prints out wrong value. How to fix it? Thanks! [CODE] #include <iostream> #define bit 5 void dec2bin (int, int *); int main (void) { int bin[bit]; int num = 24; // example dec2bin(num, bin); for …

Member Avatar for Nick Evan
0
153
Member Avatar for ryan311

in my previous question i only ask how can i delete a data using checkbox i forgot to put multiple check. here's my code [CODE]<form id="form1" name="form1" method="post" action=""> <table border='1' cellspacing='0' width='612'> <tr> <th bgcolor='green'><font color='white'> <input type='checkbox' name='checkall' onclick='checkedAll();' /> </font></th> <th bgcolor='green'><font color="white">ID</font></th> <th bgcolor='green'><font color='white'>Check In</font></th> …

Member Avatar for ryan311
0
842
Member Avatar for student02

Guys. can you help me with my project again? hehe.. sorry for flooding forum with my threads.. I have a table that have a field name Amount_Paid, Date, and Transaction_Number.. i want to add all the data that has been saved on Amount_Paid that has same that, for example, today …

Member Avatar for kinwang2009
0
109
Member Avatar for iNach

Hey, I have another problem... I am using a FOR loop which is making a lot of lines. The problem is that the new lines "runs over" the first lines because there is no room for the new ones. In shortly, when a new line comes and have no room, …

Member Avatar for mitrmkar
0
151
Member Avatar for DifficultUsrnme

Hello people, I'm completely new to Python, and I mean new. I've had some experience with programming in Java and C++. Although, the truth remains that I haven't had any experiments with GUI. But that I will do.... Also, now the time for the doubts, 1.Is Python entirely OOP? 2.If, …

Member Avatar for DifficultUsrnme
0
167
Member Avatar for cane23

can anyone offer some help here i have a string that contains course codes. i separate the string into the individual course codes using the explode function. however i want to run a query on each of the course codes that was present in the string and store the result …

Member Avatar for pritaeas
0
129
Member Avatar for ruwanaru

Helloo Im new in Databases. I want to create a simple shopping cart i have a table called product [CODE] CREATE TABLE `products` ( `id` int(11) NOT NULL AUTO_INCREMENT, `category` varchar(150) NOT NULL, `name` varchar(100) NOT NULL, `author` varchar(100) NOT NULL, `details` varchar(10000) NOT NULL, `price` int(11) NOT NULL, `imgpath` …

Member Avatar for Benjip
0
198
Member Avatar for all star

Hi. I m having trouble with a small method I wrote. Would be nice f someone can help me. this is my method:- [code] public IQueryable getCustomerOrderList(DateTime dt) { var customerList = from p in dc.CustomerOrders where p.OrderDate == dt && p.OrderStatus == true select new {p.aspnet_Membership.aspnet_User.UserName,p.OrderNo,p.OrderDate,p.Note,p.DeliveryStatus,p.DeliveryTime }; return customerList; …

Member Avatar for all star
0
82
Member Avatar for drakkar

hello everyone... i`m totally new to vb actually.now using vb express 2008.i`m currently trying to create log in function.basically, i`m already create database (database in vb 2008 itself) for login,which the login table contain 3 columns, Username, Password and Designation.example : [B][U]Username[/U][/B] -- [B][U]Password[/U][/B] -- [B][U]Designation[/U][/B] jack -- 123abc -- …

Member Avatar for drakkar
0
94
Member Avatar for needpythonhelp

let's say i have a list of things, like: [bread, cookies, cake, chocolate, bread] how can I make loop that will, in each iteration, create a variable with the name of the item in the list? basically, i want to be able to count the times each item appears in …

Member Avatar for snippsat
0
168
Member Avatar for rena0514

[CODE]//PizzaPanel.java Author: Carien Anderson import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.JOptionPane; import java.awt.event.*; public class PizzaPanel extends JPanel { public PizzaPanel() { setLayout(new BorderLayout()); setBackground (Color.white); setPreferredSize (new Dimension(700,280)); //North panel JPanel ppan1 = new JPanel(); JLabel l1 = new JLabel("Lets Eat!"); ppan1.add(l1); ppan1.setBackground(Color.green); add(ppan1, BorderLayout.NORTH); //West panel JPanel …

Member Avatar for stultuske
0
138
Member Avatar for yorro

Can anyone tell my why the code... [CODE=vb] Form1.Controls.Remove(myCustomControl) [/CODE] ...does not remove the control. Because whenever I remove a control and add it again, it does not Load but rather just changes its visibility from false to true and all the variables are not reloaded. I tried to use …

Member Avatar for yorro
0
277
Member Avatar for Stefano Mtangoo

Hi guys, I have two bushes to clear up. I have doe SQL fro some time now but I have never done blob. I think the next project will require it. So here are my Question: 1. How blob differ from any other type like text? 2. How to create …

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for MyRedz

help i need to search and delete a node from a link list but i am not sure of the algorithm can someone please help me with the algorithm and concept need example thanks..

Member Avatar for lotrsimp12345
0
112
Member Avatar for MDanz

[CODE]$thenumber = 0; $thenumber++; [/CODE] i've tried putting this inside the brackets for the for loop and it isn't working. the number stays as 1. theres alot of code so i can't post the whole for loop.

Member Avatar for Arianna
0
69
Member Avatar for Artxep

[b] Split from - [url]http://www.daniweb.com/forums/post1150948.html[/url] [/b] I am having the same error [QUOTE=lqdo;874605] The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. [/QUOTE] Could you please give more information how to solve this problem. [QUOTE=lqdo;874605] I have figured it out. I was running the webpage …

Member Avatar for kvprajapati
0
641
Member Avatar for PDB1982

I have created an error for letting the user know when they have missed putting input into a text box. When I go to use my clear button, I can't get past the message that says I (the user) need to input information. Is there a way to ignore a …

Member Avatar for kvprajapati
0
73
Member Avatar for C++new

This code is a tutorial, from internet, I can make it to compile, error to advance for me, (+) use is a ???? for me, using MV C++. Is a class tutorial..... [code] #include<iostream> #include<iomanip> #include<string> using namespace std; class Food { private: //instance variable.Every object wiil have this variables..... …

Member Avatar for lotrsimp12345
0
152
Member Avatar for leroi green

hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using …

Member Avatar for memaddy
0
683
Member Avatar for pato wlmc

Well, i'm developing a program, ( API ) and i'd like to use a [url=http://www.snap2objects.com/wp-content/uploads/2009/10/6.jpg]non standar font,[/url] for some section of my program. My question is, how can i do this, i mean, i supose i have to install the font on the user pc, but how do i do …

Member Avatar for pato wlmc
0
207
Member Avatar for maria_mj

I am developing a project in ASP.Net. How to retrieve data using C# from certain table (SQL database) based on user_id after user log in. And how to display the data into text box and label after user click Show button?

Member Avatar for kvprajapati
0
122
Member Avatar for ybkumar77

Hi, I am writing a simple program, trying to learn the usage of map. Following is the data, I will be storing in a map and I get a core dump when line No: 54 is being executed. Please let me know if something is wrong in my code. I …

Member Avatar for ybkumar77
0
1K
Member Avatar for donelliewhyte

I these contents below written to a file.I want to user to input a number and i will then scan the file to see if it matches my registration number. But in doing this i just want to get the 1001 from the first line. REGISTRATION: 1001 NAME Donellie Whyte …

Member Avatar for Adak
0
117
Member Avatar for chixm8_49

Hello! I would like to ask on how to create a node using GUI (pseudo code will really help) . It seems that my code does not create a node. I used JLabels and ActionListener to retrieve the data from the JLabels. My plan is to input all the necessary …

Member Avatar for chixm8_49
0
92
Member Avatar for Leigh Reed

I am a uni student just starting out with java and getting more confused by the day. Can someone tell me what I have done wrong? It should input all of the strings and place them in the appropriate place in the bottom sentence. [code]import java.util.Scanner; // Needed for the …

Member Avatar for sealxlion
0
148
Member Avatar for roc a

I am having a hard time getting started on this array. I am in a C++ class but I have no refrence material to go off of This is what i have so far, The purpose of the code is to find out how many wait staff is needed if …

Member Avatar for Stefano Mtangoo
0
200
Member Avatar for iliali16

Guys I am not a good C programmer. I ahve experience with object oriented paradigms such as Java and C# but I never programmed in C or Pascal. I have done some tutorials in C and I seem to grasp some of the ideas of the language but as I …

Member Avatar for jephthah
0
289
Member Avatar for wolfkrug

I am converting a console IO program to a file IO program. The program worked perfectly as a console IO. I thought I made the appropriate changes to the program. It compiles, and when I run it output does go to my output text file, but the output is the …

Member Avatar for WaltP
0
183
Member Avatar for spursfan2110

Hi everyone, I'm kind of stuck, is this the correct notation to compare a char to double quotes? variable == "\""

Member Avatar for spursfan2110
0
155
Member Avatar for iammirko

Hi, I have used the following code (this is from HeadFirst Java Book) [CODE] import java.awt.*; import javax.swing.*; import javax.sound.midi.*; import java.util.*; import java.awt.event.*; public class BeatBox { JPanel mainPanel; ArrayList<JCheckBox> checkboxList; Sequence sequence; Sequencer sequencer; Track track; JFrame theFrame; String[] instrumentNames = {"Bass Drum", "Closed Hi-Hat", "Open Hi-Hat", "Acoustic …

Member Avatar for gangsta1903
0
152
Member Avatar for teh_m

I am developing a project in ASP.Net using C#. I don’t know how to take data from other table (SQL database) in the same project and save the data into another table using C#. Let say that I have two table that is registration and user. In the registration table, …

Member Avatar for teh_m
0
114
Member Avatar for Bubbleboy

I have a problem. I have an image set to the background, this method is working for fire fox, here is how i got a background image. [CODE]<img src="docs/Plasma.gif" id="background"/> <div id="content">[/CODE] Right after the body tag and [CODE]img#background { position:fixed; top:0; left:0; width:100%; height:100%; } #content { position:relative; z-index:1; …

Member Avatar for Bubbleboy
0
153
Member Avatar for squarey

Hi guys I use the following code to check if a user has specified a certain argument: [CODE]if (strcmp(argv[i], "-i") == 0) { // do something }[/CODE] I use the following code to check whether any arguments have been specified (e.g. -i test1) but it gives me a segemtation fault …

Member Avatar for strmstn
0
69

The End.