199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mshravs

i am working on the gridview, the problem, it that when i am executing the form containing the gridview, the problem is that it is not showing the gridview in the webpage. even though i have set the visible property true in the properties, it is not working.plz help me …

Member Avatar for mshravs
0
267
Member Avatar for eimmu

i have made 2 pages....1 for login n next to show after successful login.... on login page i have created a button....in its handler i have created session.... on the load event of next page i m checking for the availibity of the session variable n its value.... its workin …

Member Avatar for kvprajapati
0
107
Member Avatar for ttchiwandire

Guys how can I set up my environment so that I can write, compile and run my java console applications. Please If u can take me from the baics help me out..

Member Avatar for jbennet
0
101
Member Avatar for meenakshi chorg

hey people, I am looking for a tool which can parse english like test and generate output as test cases..please take this into consideration and help me with your suggestion... thanking you, meenakshi.

Member Avatar for P00dle
0
67
Member Avatar for bpt0004

Hi everyone, I'm having problems on my current project. The project consists of optimizing a given function using either the Hill Climber or Genetic Algorithm. The functions I'm going to be optimizing are the Schwefel, Rosenbrock, and Griewangk problems defined here [URL="http://www.cs.cmu.edu/afs/cs/project/jair/pub/volume24/ortizboyer05a-html/node6.html"]http://www.cs.cmu.edu/afs/cs/project/jair/pub/volume24/ortizboyer05a-html/node6.html[/URL] My code for each of the three function …

Member Avatar for StuXYZ
0
1K
Member Avatar for azapovjednik

Hello, Is it possible to insert the data from dbgrid component into an SQL SERVER database table. The data that is in the grid is imported from Excel worksheet. It may look silly but I need to insert that data into a table. Any help is appreciated, thank you

Member Avatar for cao
0
2K
Member Avatar for piapeti

i have an idea to create new pages in asp.net but how to implement it recently i have done file upload task in this . For file upload thw web control is available. i just want is that possible to do if my screen consist of 1 text area and …

Member Avatar for piapeti
0
120
Member Avatar for Freezeskier

Ok so i have to write code to construct matrices and vectors then compute some linear algebra problems like the dot product and so on. so I have written the code to construct the matrix and the vectors and so the functions, it works and does class operations however what …

Member Avatar for Freezeskier
0
127
Member Avatar for Ryujin89

I have nearly all of the code figured out, but the instructions make getting the output and variables to match up. If anyone can assist in seeing what the instructor intends for us to do, I would greatly appreciate it. This is a multi-class program where an abstract class implements …

Member Avatar for Ryujin89
0
13K
Member Avatar for yara.008

hi i use asp.net with vb.net i do search form i put result in placeholder how i can create dynamic page such that : each page include 4 results only

Member Avatar for srikanthkadem
0
134
Member Avatar for levsha

I tripped on this one. I have an HTML form that has all kinds of input elements - text, textarea, radio buttons and checkboxes. I have no problem inserting or updating data in MySQL DB from the HTML form. But when I want to display what is already in the …

Member Avatar for venkat0904
0
181
Member Avatar for fopah

i need the user to input a todolist type thing it uses strings to save the items. what i need to know is how to have the user input a string with the getline function any help would be much appreciated

Member Avatar for arshaad
0
168
Member Avatar for twilitegxa

How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code: [code] <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" runat="server"> <asp:ListItem>Go swimming</asp:ListItem> <asp:ListItem>Play sudoku</asp:ListItem> <asp:ListItem>Practice piano</asp:ListItem> <asp:ListItem>Play solitaire</asp:ListItem> </asp:DropDownList> <br /> <br /> <asp:Button …

Member Avatar for srikanthkadem
0
123
Member Avatar for vsanandan

Hi, I am learning JSP now. The following program doesn't work in my Linux system's Mozilla firefox. Any help to fix this problem is appreciated. [code=JSP]<html> <title>Using JSP EL Operators</title> <body> <h2> Using JSP EL Operators</h2> <table border ="2"> <tr> <td> 13 + 2 = ${13 + 2} </td> </tr> …

Member Avatar for vsanandan
0
304
Member Avatar for EngneerNitemare

Hey guys I have a couple of questions. I am trying to build a program that will prompt for the user to enter the size of an array. I've searched the web and several C++ books for guidance on this but have not been able to find anything of significant …

Member Avatar for mrnutty
0
20K
Member Avatar for rbushlow

I have the following python code to access a MySQL database: [CODE] #!usr/bin/python # server_version.py - retrieve and display database server version import MySQLdb con = MySQLdb.connect (host = "localhost", user = "username", passwd = "password", db = "test") cursor = conn.cursor () cursor.execute ("SELECT VERSION()") row = cursor.fetchone () …

Member Avatar for rajasekhar1242
0
182
Member Avatar for drabsch

I need to get the icon from a drive and put it in a picbox. For example i have an icon on my usb/flash drive and i want to get the icon and put it in a picbox same for my c drive and DVD drive

Member Avatar for drabsch
0
115
Member Avatar for NinjaLink

Hello, I need help reversing elements in a queue using Recursion. My problem is that when I print out the reverse, it does not show the numbers on the screen. However my program compiles and runs. My question is...How come the numbers in reverse are not showing? Thanks for anyone …

Member Avatar for NinjaLink
0
804
Member Avatar for EngneerNitemare

Hey all! I am trying to write a program that allows for: 1.) The user to enter the SIZE of an array. 2.) Prints random element numbers. 3.) Saves the random element numbers printed in the array. 4.) Bubble sorts and then prints the randomly printed numbers. Here is what …

Member Avatar for mrnutty
0
170
Member Avatar for fragtech

I cant figure out why this message is popping up. This is a program that is calculates if it is a leap year. [CODE]#include <iostream> using namespace std; int main() { double year, mod4, mod100, mod400; bool leapYear; cout << "Enter a year from 1582 on.\n"; cin >> year; /* …

Member Avatar for fragtech
0
719
Member Avatar for StaticX

Hi,im having trouble with fstreams at the moment,here is my code [CODE]// read contents of file using fstream // using the ->get() function. // Ascii files only. #include <iostream> #include <fstream> using namespace std; main(){ fstream* file = new fstream( "myfile.txt", fstream::in); char aSingleCharacter; //this will read a single char …

Member Avatar for Ancient Dragon
0
121
Member Avatar for kele1

i don't know what i'm doing wrong in this program. i'm supposed to write a program that would encrypt and decrypts four-digit integers.it should encrypt it as follow: replace each digit by the remainder after the sum of that digit plus 7 is divided by 10. then swap the first …

Member Avatar for kele1
0
147
Member Avatar for AdventDeo

Hello! I'm trying to extract a php table to an excel file. There's only ONE bit of problem. My table has alternating colors for each row and, lets say once extracted my cells range from A1:G20 in Excel, but instead of just coloring A:G, the row colors went all the …

Member Avatar for chaines51
0
112
Member Avatar for futhonguy

Hi, Currently i have 3 Tables - A, B and C. All 3 tables have their unique IDs (which are auto increment) and Table B and C are a foreign keys to Table A. says: Table A = A_id, A_fname, B_id, C_id Table B = B_id, B_add, B_pcode Table C …

Member Avatar for futhonguy
0
190
Member Avatar for hanzi_ru

hi! i have created a form which contains two combo boxes. the first one can be used to select the location and the second to filter the floors belong to the selected location. i need to know the coding needed to filter the floors which only belongs to the selected …

Member Avatar for dzul73
0
307
Member Avatar for lara_

Hi, I have a VB.Net system that connect to SQL Server through ODBC. When I try to raiseerror from an IF...ELSE statement, it does not triggered the exception handling. I have done some raise error testing at my side. Below is my finding: 1. RaiseError did not triggered exception: [code] …

Member Avatar for lara_
0
183
Member Avatar for Rblalock

[B]I need help understand where to place (and how to create) [CODE]function calcPrice() { product = document.form1.prod; pindex = product.selectedIndex; product_price = product.options[pindex].value; quantity = document.form1.qty; qindex = quantity.selectedIndex; quantity_ordered = quantity.options[qindex].value; document.form1.price.value = product_price*quantity_ordered; }[/CODE]. I also need to know where to add the [CODE]onchange = "calcPrice()"[/CODE] event handler. …

Member Avatar for Rblalock
0
482
Member Avatar for Phil++

Hey there, I'm wondering if it is possible to read a PHP file (on the web) through C++? For example, I have a system that allows people to enter some information online (stored in a database) I then want that to be displayed through a console application. Is this thing …

Member Avatar for Phil++
0
78
Member Avatar for prawnoodle

Hi, Im a beginner & i need help on my assignment. [COLOR="green"]Learning outcomes addressed[/COLOR] 1. To explain the approaches available for systems development 2. To apply appropriate project initiation and requirement capture techniques [COLOR="green"]Background Information/ Topic[/COLOR] As a student of computing you have been talking to the owner of your …

Member Avatar for whichipodtouch
0
157
Member Avatar for tux4life

This is a [B]toupper[/B] and [B]tolower[/B] implementation for whole c-strings, without making use of the existing [B]toupper[/B] and [B]tolower[/B] functions for characters :) [U] example:[/U] [CODE=C]char s[]="Hello, beautiful world!"; stoupper(s); // s now contains: `HELLO, BEAUTIFUL WORLD!´ stolower(s); // s now contains: `hello, beautiful world!´[/CODE]

Member Avatar for William Hemsworth
0
3K
Member Avatar for Lukezzz

I am trying to do a string out of this line: Hello "Hello" Hello However this does not work and I beleive it has to do with "Hello". [code] String^ str = "Hello "Hello" Hello"; [/code]

Member Avatar for thines01
0
66
Member Avatar for DrDeadite

I'm trying to add a memory function, that when you hit the 'M' button, it stores whats in the display into a variable, and when you hit the 'R' button, it retrieves the variable value and displays it and can be used for calculations. Here's my code: [CODE]import javax.swing.*; import …

Member Avatar for DrDeadite
0
122
Member Avatar for Trekker182

If a constructor calls another class with another constructor and both constructors have methods that access the same class, which would be first? First constructor in a method separate from the class [CODE]{ Entry entry(" ", " ", " ", time.Hours(), time.Minutes()); return !(list.IsPresent(entry)); } [/CODE] Second constructor that it's …

Member Avatar for Trekker182
0
111
Member Avatar for matt547

Hiya, im new to this site but it seems like a very useful comunity :) Im new to java programming as well and i have to write a class file to deal with calculating the maximum, minimum, average(mean), population variance and sample variance from an array which is entered by …

Member Avatar for brownjohn
0
173
Member Avatar for beshoyatef

Hi to all, ------------- Here there is array of ten position and array contain ten integers . I want to put the array of ten integers randomly on the array of ten position ... Here is my code : ---------------------- [CODE]import java.util.Random; public class TestArray { public static void main(String[] …

Member Avatar for beshoyatef
0
106
Member Avatar for nouvaki

My windows Application has a menu which opens an OpenFileDialog. When the button OK is pressed, I want to place the main form background and show a new Form (with two radiobuttons, one button). From the New Form I must take information (which radiobutton was checked) and pass this information …

Member Avatar for TomW
0
96
Member Avatar for Phil++

That I can get the street name from a post code in PHP? For example, someone enters their post code and it comes up with the street name rather than them having to type the whole thing out? Please help

Member Avatar for almostbob
0
154
Member Avatar for want_to_code

the header file: [code] #include<stdio.h> struct IntArray { int schedule[30000]; int nSize; }; struct IntArray getSchedule(int browsingTime[], int noOfPersons, int timeSlot); [/code] the implementation file: [code] #include"leastremainingtime.h" void sort(int *a,int n) { int i=0,j=0,temp=0; for(i=0; i<n;i++) { for(j=0;j<n-1;j++) { if(a[j] > a[j+1]) { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } } …

Member Avatar for want_to_code
0
116
Member Avatar for Ryujin89

I have, with the vast assistance of Bazzy on cplusplus as well as a few other programmers, made the code to input a file into a vector. Even after looking over the tutorials on algorithms, I still can't figure out how to sort the data. It's due in [U]4 hours …

0
79
Member Avatar for GSEninja

Hello all, i am looking for a little help but PLEASE do not solve the problem for me, i need to learn the stuff. Below are a list of problems i am having, followed by my code and then the output i currently have my problems: 1) the style in …

Member Avatar for mrnutty
0
117
Member Avatar for ttchiwandire

Hie guys Iam looking for a java console application that accepts a string of 80 characters from a user and determine the number of words in the string taking care that there may be more than one spaces between words. The program should check that there is more than one …

Member Avatar for thines01
0
87
Member Avatar for kjiu

Hello, I have a problem :icon_confused: which is: [CODE]public void caseUpper() { QTextCursor cursor(textCursor()); String selTxt(cursor.selectedText()); if(selTxt.isEmpty()) { return; } String txt = selTxt.toUpperCase(); insertPlainText(txt); } public void caseLower() { QTextCursor cursor(textCursor()); String selTxt(cursor.selectedText()); if(selTxt.isEmpty()) { return; } String txt = selTxt.toLowerCase(); insertPlainText(txt); }[/CODE] I think the problem is that …

0
80
Member Avatar for laki4546

Hello I am using Delphi 3. I have 30 edit fields named e0, e1, e2, ..., e29. The thing is, that I want to put something into these edit fields, to be specific: I want to put variable a[0] into e0, a[1] into e1 and so on. i could of …

Member Avatar for laki4546
0
989
Member Avatar for the_Famous

I need to write a program that reads a text file that contains groups of integers that start with the word "next". For each group, the program computes and writes out the sum of the integers in that group and the average. thare may be any number of groups. here …

Member Avatar for KirkPatrick
0
103
Member Avatar for moofox6

Hey guys, First time poster here, although I've been trolling for a little while now. I'm in a Java 2 class and having trouble completing a practice program. It's supposed to search files that are given by the user at a command prompt for a specific word also given. Here …

Member Avatar for thines01
0
238
Member Avatar for NinjaLink

I need help with my print function, so I can print the elements in a queue. The print function, that I have now is the last function in my header file. I tried to do a small simple program to see if it works, but it prints nothing to the …

Member Avatar for NinjaLink
0
120
Member Avatar for sidd.

hi, i have two values in each line seperated by space in notepad. what i have to do is to store the first value in one variable and the other in another variable. so, wat should i do??

Member Avatar for Geekitygeek
0
93
Member Avatar for Arianna

Just so you know, I'm a PHP beginner, so I won't understand complicated stuff or anything of the like. xP I've started to make a part of my website (may I link to it, or should I just post the code) and I'm pretty happy with it. A user can …

Member Avatar for Arianna
0
286
Member Avatar for samsons17

i tried to do something like this in one of the program i made.... if the user entered something that is not the same with the number and the word that are available in the program,it will ask the user to enter the input again.. But the problem is that …

Member Avatar for Ancient Dragon
0
117
Member Avatar for jennwenn25

Hello, I am very new to all of this and I need a little help. I am supposed to create a simple calculator and here is what I have: [CODE]/* Specification: This program is a simple calculator */ #include "stdafx.h" #include <iostream> using namespace std; namespace calculation{ enum menuOptions {Add, …

Member Avatar for jennwenn25
0
141

The End.