199,114 Archived Topics
Remove Filter ![]() | |
I need help with using a DATEDIFF() function in sql query cn i get an example of hw 2 do it...pls help..thnx in advance | |
I have this 2d array that sorts the rows but i can't sort the column.. i can't figure it out for the life of me. PLEASE HELP Please enter size of row between 1 - 20: 5 Please enter size of column between 1 - 20: 5 Your matrix is … | |
What is the problem with the following login code? [code] Dim conn As SqlCommand = New SqlCommand("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts;Integrated Security=True") conn.Prepare() Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("select", conn.Connection) command.Parameters(1).Value = txtusername.Text command.Parameters(2).Value = txtpass.Text Dim i As Integer = command.ExecuteNonQuery conn.BeginExecuteNonQuery() If Page.IsValid Then Response.Redirect("~/salesbill.aspx") Else Lblerror.Text = "Username … | |
Hi i'm a new student in java and would appreciate anyone helping me get through. I do not want you to do my work because that won't help me get through the next and next assignments however I would appreciate your help putting me on the right track such as … | |
ALl i need to find is the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6).I have coded with some logic and i could able to find the sum til this part 12345=>1+2+3+4+5=15 but i couldn able to carry on after that plz … | |
hello... i am doing login verification. there is tabs in index page thats why i am choosen this. actually after entering the values of email and password how to check that values are in database or not using javascript. and i will show message in alert box. this is my … | |
Hi!!! I have made a window application with MS access database to analysis student performance in his class for each exam that he appeared for. I have a table named result with following fields: classname,sectionname,subjectname,exam type,rollno,studentname and marks. On one form I have taken crystal reportviewer and 5 comboboxes for … | |
Hi All, How to store the resultset value in a array? I have a field "prodvalue" in DB Table, now i want to store this "prodvalue" in array. Am able to print the values of "prodvale" in jsp, but not able to store in array. Pl. find below the code, … | |
![]() | Hey there. I am attempting to create an administrator option, which would be the following: When the administrator checks the checkbox, it would automatically save it to the db. Usually update it. [CODE] while($row = mysql_fetch_array( $retrieve )) { echo "<td><input type=\"checkbox\" name=\"noutate\" onClick=\"this.form.submit();"; if (isset($_POST['checkbox'])) { $update ="UPDATE content … |
All I want to know is that how is that L1.exe protected with that coding? What is that technology called? What is the software used for making this? How is the code generated? Note that MID & Site code will wary from system to system. This file cannot be run … | |
Am completing a website and can't get the final piece to work which is the search engine. Have tried implementing Google's OnTheFly script which works up pop up a new window but only puts out "The resource you have requested could not be found." each and everytime. This was the … | |
I have a brand new computer which was freshly loaded with Visual Basic 6.0. I have copied all the code from the previous computer to this new one. But loading a project produced the following error. Class MSGrid.Grid of control grdS101 was not a loaded control class. So I did … | |
hi all i have some confusion about actors in use case. im doing my final year project and now i have to write my thesis/documentation. of course for system design i need a use case. im developing a web based file encryption application with usage of TPM specification. TPM stand … | |
hei, im new around here, and i tried to display a image from sqlserver i didnt get error but the code dont display the image... thanks default.aspx [CODE] protected void Page_Load(object sender, EventArgs e) { string sql = string.Format("SELECT TOP 1 ItemId,Thumb FROM RubrikkImg.dbo.Attachment"); List<object[]> img = Db.GetData(sql); lblResult.Text = … | |
Hi guys, mysql noob here. :) So here's my problem. I have 2 tables, Order(order_id,product_id) and Product(product_id,product_name). For one order, I can have many products. So my question is how can I auto increment order_id? When I insert multiple products in the order table, it generates an order_id for each … | |
Hi Hi have the code below. When I run the javascript that I have comment it works, but when I try to run the vbscript, nothing happens. I just wounder what I have done wrong [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Attached are a C file, a .i file, and a Makefile that I thought could produce a Python-loadable binary. Also, I included a text file with the output I got showing the failure. It looks like I didn't include something vital but I don't know what. Can anyone help me … | |
I have an assignment where I'm supposed to "implement a class, Point that represents a point in a three-dimensional space." and im supposed to "carefully design the interface for this class and include functions that appear to be useful for operating on points." I'm not fully sure what this is … | |
Hi! I created a button and a textbox using javascript, now i want to make that when my button is pressed it gets the value from my textbox, and puts it in another textbox (got that sorted) only thing i cant find anywhere is how to make a button to … | |
I've completed my web app and it runs well when I test it on my pc. I have a ftp up and connected to server. Now what? What exactly do I upload? There a tutorial floating around for this? I'm using VS 2008 with ASP 3.5. | |
i want it to print out 4 is larger than 2 but it prints out 2 is larger than 2293572 [CODE] #include <stdio.h> #include <stdlib.h> void largest(int num1, int num2, int *larger) { if(num1 > num2) { *larger = num1; } else{ *larger = num2; } } int main() { … | |
I have to develop a code with visual basic to open a file then read each line of the text file one string at a time then output these strings to individual cells in excel. Can anyone help? | |
I have one web application in which I am calling one window application. When I call that win app, it runs in background means it shows only in task manager but does not show any window of that application. I have searched for this on MSDN support and do as … | |
Greetings Everyone, We have many forms in an Attendance application I am writing for a local school. The first form is called formBrowseAttendance and the other form is called formBrowseStudents. In formBrowseAttendance is a textbox called editBoxStudentID. Inside the double click event of a grid in the formBrowseStudents I am … | |
Hi Experts I m using vb .net & crystal report 11 , I m using 4 parameters in crystal report 1 st is "tcomp" , 2 nd is "tled_name", 3rd is "tdt_form", 4th is "tdt_to" , the problem is, when i use first 2 parameters it is working well but … | |
Hi guys, I am a complete newbie (but learning slowly). I am trying to make a script to check for proxies that are contained in a file using a regex. Fact is that I lack of knowledge and I do not know how to make it go. This is my … | |
I wrote a script that will take data and post it to a database no problem, but at the same time I need the data to be emailed to two different email addresses and I never get an email. My code looks pretty solid and I am not sure what … | |
Hello! I'm working on a project for class (Assembly Intel 8086) and am having trouble figuring out my problem with this program. The project is to set-up to find GCD of two numbers. However, I can't figure out why the division loop I have isn't working properly. I have the … ![]() | |
Hi, Could you please show me how to get 1.9 to show with two decimal places (1.90) you can use [CODE]Math.Round(1.99999999, 2)[/CODE] if you want to bring the decimal places down to two but how do you increase from zero or one decimal place up to two? Thanks Peter | |
i have 4 textboxes,i want to print textboxes' content at arbitrary coordinate on paper but i don't know.I use crystal report to print! Please help me! Thanks so much! | |
Hi, Are the following references required for VS 2008 users as well? Or only required for [B]VB 2005 Express Edition users[/B]? Please do help. | |
Ok so I am a rookie in php and working on populating drop down lists from a mysql database. I have a drop down list working that contains words, but my drop down list for my date refuses to work and I don't know what the difference between them should … | |
Hi, I'm trying to learn the in's and out's of using the send and recv functions of a socket in C and I've hit a bit of a road block! I'm trying to send an integer from one system to another, however one system is big endian (the client) and … | |
Hey Guys, I have a theoretical question, I can't really post my code. But I have four results from reads to a database using php. I then read from an xml file using javascript using a loop. I am basically creating a chart of four variables with several different values … | |
I am making a basic quiz show in Java and I have successfully made the first question. Now when I went ahead and made my second question I encountered this problem. When I run the program there are no errors with it, but it will not let me input a … | |
so i need some help. I'm trying to create a matrix that will do all these functions.. but im not so sure what im doing wrong since im an inexperienced at c++. Anyone? Gratzi! [CODE]#include <math.h> #include <iostream> #include <string> //#include <matrix.h> using namespace std; #define MAXNUM 9 class Matrix … | |
I have this code so far: //Carolina Dominguez //Assignment 7 public class Student { private String fname; private String lname; private String studentId; private double gpa; public Student(String studentFname,String studentLname,String stuId,double studentGpa) { fname = studentFname; lname = studentLname; studentId = stuId; gpa = studentGpa; } public double getGpa() { … | |
here i dont understand what does this function do. any can explain it to me thanks beforehands [CODE]function query($qry) { if(!isset($this->database_link)) $this->connect(); $result = mysql_query($qry, $this->database_link) or die("Error: ". mysql_error()); $returnArray = array(); $i=0; while ($row = mysql_fetch_array($result, MYSQL_BOTH)) if ($row) $returnArray[$i++]=$row; mysql_free_result($result); return $returnArray; } } [/CODE] | |
I do have a problem with my connect four code ; it doesn't check whether there is a winner even though the function its okay :-/ Can anyone help me to solve my problem ??? [CODE=python] import random board = dict() rows,columns = 4,4 def game(): choose_player() #MAKE BOARD FUNCTION … | |
[QUOTE]Sometimes, storing an image is easier if you store the steps taken to draw the image rather than the image itself. In such a situation, a sequence of directed lines are concatenated, or attached to one another, to form the image. For example, a simple drawing program might allow eight … | |
hello everyone, Im a student having to write a C++ program and im running into an error that I have been unable to find the solution on my own. Im running into an error as I test run the program to make sure everything is still ok. The program isnt … | |
I have to make a function under class record that returns a pointer person class data type. I am assuming that this means setting a person object to equal to the returned pointer person class type but in order to do that It looks like i need to make an … | |
excuse me, im doing atomix game and there is something that i can do as an extra thing which is while the atom moves i see it moving no just disappearing and showing in the next position? thx :) | |
![]() | Hey guys I know there is a similar post on here but it didn't really give me any actual help on this topic: It seems that I have the correct regular expressions in this however it doesn't want to follow my freaking instructions can you guys maybe show me where … ![]() |
Hi everyone, I'm a relative beginner to writing UNIX scripts. In the past, I've been able to hack together simple scripts. Now I need a script which a little more complex than I'm used to, and I really need help. I'm up against a tight deadline and am growing desperate, … | |
hello people am new here.. and i started off coding.. i have few doubts. I want to roundoff a float value with no elements after the decimal point without using a lib function. For example 16.25 = 16.00 :) i tried printf("%.0f,16.25); and it prints 17.. If i know the … | |
Hi, I was asked to write a class that represents a Student The Student class has the following attributes: first name String // May be 2 words: Mary Ann last name String // May be 2 words: Smith Jones student ID number String gpa double // Range 0.0 to 4.0 … | |
Okay, so I have this php code that I've been working on and I seem to be getting an error on the very last line of my code which is the "?>". I'll post the code and the error below: Error: "Parse error: parse error in C:\wamp\www\Services\VIN.php on line 64" … | |
This problem came up in one thread and here is my finalised version to follow changes of files in list of paths given. | |
Hello Could someone tell me what derby requiers to make this conn? [code] public boolean createDatabase() throws FileNotFoundException, IOException { boolean createdDb = false; Connection conn = null; String dbURL = getDbURL(); String user = ModelUtils.getXMLResource("user"); String password = ModelUtils.getXMLResource("password"); System.out.println("in CreateDatabase:try:dbURL FROM XML properties: " + dbURL); System.out.println("in CreateDatabase:try:dbURL … |
The End.