199,114 Archived Topics
Remove Filter ![]() | |
[code]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="java.sql.*;" %> <%@ page import="java.io.*;" %>> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Database Page</title> </head> <body background="AC.jpg"> <a href="home.jsp"><font color="white"size="3"><b>Back to Home</b></font></a> <% try { String a=request.getParameter("Book_Id"); String b=request.getParameter("Book Name"); String c=request.getParameter("Author name"); String d=request.getParameter("Publisher name"); String e=request.getParameter("Department"); String f=request.getParameter("Edition"); String g=request.getParameter("no_of_copy"); Connection … | |
please can any one say the number of iterations for all sorting methods ...that is for bubble sort,selection sort,insertion sort,quick sort ,merge sort,heapsort .... please reply soon.... | |
please any professional out there can suggest me with project ideas . . for my final year project work . . plz. .plz. . | |
hi all, i am am working on a tax software that computes tax and gives the amount.since different goods have different tax percentages i would like when one customer buys goods with different tax percentage i can use the subtotal button to temporarily hold the tax value as he computes … | |
I'm new to java , i've tried to make simple jdbc application . I can store a value in database and also can retrieve it but only in console window. i've got the variable String name in package db, and what should i do to display the value of that … | |
I am getting the following errors when I try to compile this: thoughts? _______________________________________________________________________ BankAccount.java:11: <identifier> expected public BankAccount(String, double, double) ^ BankAccount.java:25: ')' expected public abstract void updateBalance(); ^ 2 errors ___________________________________________________________________ [CODE] protected abstract class BankAccount { public BankAccount(String, double, double) { String accountID; double balance; double interest; … | |
hey guys i have used jquery tabs in my website design. In one page i have 4 tabs and in each tab i have save and clear option . if i click on tab 3 and enter the contents and then save its returning back to tab1! I want it … | |
In the cose below I am fetching & displaying result set in a table format. This table also contains 2 buttons Udate & Delete. Following are the issues: 1. When user clicks update, I want to send E_ID to Update.jsp. I want to know, how to send Only E_ID without … | |
Hey, I'm a beginner in C++.. I know the basics.. I want to learn more about it.. Can u please tell me how to use 2d pointers in C++.. If possible just give me a simple program which can read & display a matrix.. :) | |
I am wanting to reference an object of type JTextField and convert it to JFormattedTextField. Is it possible to convert to a subclass? I tried coding something to the affect of [CODE]ClassA.object = new JFormattedTextField(); ClassA.object.setValue(new Integer(number)); [/CODE] But no success. Any suggestions? | |
So I'm looking to create a function that prompts the user to enter 'Y' for "Yes restart the program" and 'N' for No, do not restart. I know this should use the boolean operator, I'm just unsure as to how to implement it. I also know to encase the body … | |
I want to create an application for ad-hoc network. I have a little bit good knowledge of java But I cant decide from where to start. Please Help me to start | |
Hi, The following code is for traversing the linked list: [I]node[/I] is a [I]structure[/I] and [I]next[/I] is a pointer to next node declared in [I]node.[/I] [I]start[/I] is the pointer to the first node. [CODE] node* temp = start; while(temp != NULL) temp = temp->next; [/CODE] I dont understand the statement … | |
hi How to remove address from printout. and work with asp.net. how to remove address of the page. is any change setting in firefox? jack | |
Hi all, I want to create a required field on a registry form. I am using php nuke evolution and want the field "Game GUID" as a requirement. Where i am having the problems is i dont know where to put it in mysql and how to read it from … | |
Hi I Have a web method on the Server. Below Is My Web Method. ASP.NET Syntax (Toggle Plain Text) [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + … | |
<?php require("db-connect.php"); $slt ="SELECT * FROM assingment2 ORDER BY user_id asc"; $qry =mysql_query($slt); ?> <html> <head><title> </title> <script language="javascript" type="text/javascript"> function setcourse() { var index_name=document.frmselect.name.selectedIndex; document.frmselect.course.selectedIndex=index_name; } </script> </head> <body> <form name="frmselect" id="frmselect" action="" method="post"> <table align="center"> <tr> <td><b>NAME</b></td><td> <?php while($ftch =mysql_fetch_array($qry)) { echo'<select name="name" id='.$ftch['user_id'].' onChange="javascript:return setcourse();">'; echo '<option … | |
i am trying to draw a iamge in an mspaint control, and then put that image into a richtextbox but it will ask for save file and file has been saved i want to show image in richtextbox as soon as click on save file in dialog window. can anybody … | |
Hi everyone, I have a simple javascipt code, everything works great but checking the username's and email's avaibility takes too much time. Here is the code : [CODE] $('.send').click(function(){ $(".error").hide(); var hasError = false; var mail = $('#mail').val(); var user = $('#user').val(); var pass = $('#pass').val(); var phone = $('#phone').val(); … | |
How do I a add a copy and paste function in a Tkinter text widget? | |
i'm working on a voting system but im having problems in adding records... i have two a primary key, the idnumber and the address. the address is where I base if that certain address already voted. but the problem is everytime i try to add a record with the same … | |
i have this method , which returns true no matter what numbers i feed into it: [CODE] public boolean piecesCollision(ChessPiece[][]pieces,int rowStart,int columnStart ,int columnEnd,int rowEnd) { int j=columnStart; int i=rowStart; boolean valid5=false; boolean valid6=false; boolean valid7=false; boolean valid8=false; int b=0; int SpacesX=rowEnd-rowStart; int SpacesY=columnEnd-columnStart; if(SpacesY>0 & SpacesX==0){ // RIGHT SIDE … | |
I think this is probably a very simple question but I just couldn't find the solution! I have a procedure that handles sending emails. It currently only handles a single email recipient. I want to extend it to handle multiple recipients. I've worked out how you add email recipients to … | |
hi everybody, Could you tell me how to get data from other site to my website. If you have script like that, plz show to me. THANKS SO MUCH | |
Hi, i'm searching for a way to know the hostname of a machine connected to my twisted-server. I use to know the host the method self.transport.getPeer().host, and i have the IP in this way. But i need to know the hostname. I'm searching for a way like socket.gethostname(). Waiting your … | |
solve this problems in visual basic. 1. Write a program that prints the following diamond shape. You may use an output statement that prints a single asterisk (*). Maximize your use of repetition (with nested For/Next structures) and minimize the number of output statements. Print the diamond on the form. … | |
Hi, Thanks for help me advance. I have problem with Print which is in out by asp.net code. print has address on top right side what i want to remove. but it not remove. how can i remove address for print-out. please help. thanks Jack parsana. | |
I am hoping I can get some help from you guys, I am taking a computer security course and we need to write a Caesar Cipher program, where you can input the text and offset and get the the encrypted results back. I have run into a problem with it … | |
[b]Split from - [url]http://www.daniweb.com/forums/thread129561.html[/url] [/b] Hi friends, I am using the magtek Intellistripe 65 insert card reader and i want to connect the device thru my POS application developed in .NET. I have also tried the sample VB code provided by magtek. But i am not able to access the … | |
create a program do the ff: A room w/ 20 by 20 array of tiles. Inside the room is a mechanical turtle w/ a pen. The turtle accepts input in the ff. method: 1 = pen up 2 = pen down 3 = turn right 4 = turn left 5,no … | |
Is it possible to pass arrays into a function and/or return an array from a function? I think it's possible but I don't really know how to go about it. lets say I have a function that returns a bunch of field from a database ex: [CODE]function a($sql){ $result = … | |
This is the code for a fractions program that is to add and subtract(i know it does not subtract yet) I am having error messages that I dont understand. [CODE]// File Fraction.h #ifndef FRACTION_H #define hbg_cmpsc122 #include <iostream> using namespace std; namespace hbg_cmpsc122 { class Fraction { private: int num; … | |
I am going through my C++ class assignments and Iam trying to figure out what the programs I wrote can do. This is one about arrays. Please explain under what circumstances I can use this. Thanks. // arrays_accessing using for loops.cpp : Defines the entry point for the console application. … | |
please help me to install fonts in my website. can i put fontfile in my server and use in webpage. thanks in advance. jack | |
Hi.. I had used the following command to restore a mysql database on command line. mysql -u root -p admin test < D:\backup\test.sql here username-root,password-admin,database-test,backupfile located at-D:\backup\test.sql. It doesnot working..showing error messages..If anybody knows plz help me. Thanks | |
I'm having problems with a JavaScript function not firing and I can't figure out why not. I'm opening a pop-up window which needs to pass some variables back to the opening window. I've used this code elsewhere with no problems and I've copied it and changed some of the details … | |
I am trying to write a function that calculates the sine of a given angle. The code works fine if the angle in degrees is less than 100...once the angle becomes greater than 100..the result is a large value. I don't know what I am doing wrong. Can someone point … | |
How can i view files with a .00r file extension that cam from WorkBench document imaging software. | |
How to get time balance in DTPicker Ex - 2.30 Pm - 4.00 Pm = 2.5 dtpicker1.valuve - dtpicker2.valuve = 2.5 how to write vb6 code for this calculation Please Help me....... | |
So I have opened a file with the "open" command and I get a file descriptor. That means I have to use lseek rather than fseek, which is fine by me. But what if I want to know how long the file is or what if I want to know … | |
Hi, Please read this carefully before you reply. I have a content which is really big has more then 4000 lines into it. My client want to have pagination into it. So on first page it will show some content and on second page other content and so on. Any … | |
Hi all, I created a parser class to parse a string inputed by the user. The BankAccountParser class is a utility class that will be used to create a bank account object (one of a saving object, a checking object, and a money market object ----> All of these classes … | |
Having a problem here...not sure if it's something simple or not. I'll be honest, threading is new to me so I'm not quite sure what the problem is here. Let me explain the problem first and then I'll post some code. I have a method that runs in a wizard … | |
what I want to do is I have two txt files named as number.txt and numAndName.txt In number file it contains only one character and it is a number. IN numAndName file it contains both number and Names as follows 5 name5 4 name4 3 name3 2 name2 1 name1 … | |
I had the problem to reverse the digits and I searched and found the answer, but I was wondering as to what is the fuction of the "%" I was playing with it when changing values of 10 to 100 and 1, but is it a math formula or something … | |
[CODE]#include <iostream> #include <iomanip> using namespace std; void StartUp(void); void WrapUp(void); char ProgramName[] = "Assignment_3.cpp"; //Used to hold the program name void sentenceOne (); void wordOne (); void wordTwo (); void wordThree (); void wordFour (); void wordFive (); void wordSix (); void wordSeven (); void wordEight (); void sentenceTwo … | |
Receiving error when compiling invalid operands of types `double[100]' and `double[100]' to binary `operator*' The code looks like as follows. Trying to submit for homework this evening, and I'm stuck!!! #include <cstdlib> #include <iostream> #include <fstream> #include <iomanip> using namespace std; int main(int argc, char *argv[]) { double employeeSalaryRaises[100]; double … | |
I am doing this silly program as practice but am having problems with the condition in the if loop... Please help me. The condition after the color question goes directly to its condition without accepting an answer. [CODE]// Add directories #include <cstdlib> #include <iostream> #include <sstream> #include <fstream> #include <iomanip> … | |
Getting an error on line 302 (which is the one that starts: [I]If (Is_Object($GLOBALS[/I] ... ) Can anyone see the problem? [code=php] If (!Is_File($template_file)) $template_file = $this->get_default_template(); // Look whats the current post If (Is_Object($GLOBALS['post'])) $this->the_current_post = clone $GLOBALS['post']; // Use the template Ob_Start(); [/code] | |
Hello all, I am writing a toString() i know how to do the basics off this but what im looking to know is how to put a line break between each set of information to get this public String toString() { return "ball pos:" + this.ball + "keeper pos:" + … |
The End.