199,124 Archived Topics
Remove Filter ![]() | |
hi guys, i m displaying news titles & it's contents using repeater control. pictorial representation: news Title 1 news Title 2 news Title 3 news Title 4 now, when i click on news Title 1,it's content should appear from my database in between news title 1 and news title 2.same … | |
hi, I'v built a c# application in visual studio 2010 premium with SQL server 2008 database using crystal reports. my project is not a web project. i want to install my application on another computer and i dont know what i need to do. my project has my computer connection … | |
hi all, I am working with vb.net 2010 SQL express 2008 and ReportViewer. I have created a form that a user can add, edit and delete data which is all stored in an SQL db. I am printing out reports for the user with ReportViewer. The issue I am encountering … | |
Hey,i am working on a module in vb 10..i have to retrive data from the database between two dates...i have used the following code but not able to get ny output,,nt even an error [code] Imports System.Data.OleDb Public Class Form4 Dim con As OleDbConnection Dim cmd As OleDbCommand Dim dr … | |
[ICODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Page Timed Reload !</title> <script type="text/javascript"> var counter = 1, nor = 0; function startCounter(){ document.myForm.myText.value = counter++; if (counter == 15) { document.location.reload(); nor++; document.write("The page has been reloaded ") + nor + document.write(" times !") } … | |
Hi, Contact form submit not working in some systems, could you please tell me how to solve this. Please check this url: [url]http://www.raaida.com/dev/contactus.php[/url] | |
Onchange of the dropdown list, the textfield should display either "testing 3" or "testing 4" but nothing is happening. [code] <form action='submit.php' method='POST' name='form'> <select name='preset' onchange='preset(this);'> <option value='test1'>testing 1</option> <option value=test2'>testing 2</option> </select> <input type='text' name='big[]' value='' /> </form> [/code] [code] function preset(ele) { if(ele=="test1") { var action1 = … | |
I want the query to retrieve topics but if the topic repeats I only want one result to show up, no duplicates. I also want it to return username and timestamp. Here is what i have now but I get an error. [mysql_fetch_array() expects parameter 1 to be resource]. Anybody … | |
Currently i m working on Google map V3.. i got a task to show multiple markers n n their corresponding info windows at the same time.. i m able to show the multiple markers but unable to show multiple info windows at the same time.. plz help me.. is this … | |
I'm having issues with a rather simple program that prints a string. I have two .cpp files, main and login, with login.h header file. The problem at hand is that when I want to print the string in main.cpp that was entered from login.cpp - nothing is shown in which … | |
Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. Require second question answer.... | |
I wrote this code and when I run the page I get the parse error :- [CODE]Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\view.php on line 30[/CODE] my code is :- i checked my whole code, i was unable to find the error [CODE]<?php $page_title="View Users"; include("header.html"); include("nav.html"); ?> <div … | |
I am having problems with PHP I had to reinstall apache and php and MySQL and this code worked great but now that I reinstalled its giving me this error Notice: Undefined variable: out in G:\file server\SERVER\server\admin\index.php on line 51 [CODE] $title = $_POST['title']; $post = addslashes($_POST['text']); function nl2p($str) { … | |
Hi everyone. I'm making a shopping cart and I found out that I have a small problem. The currency that I want to use (BGN) is not supported by PayPal. I can use euro but the BGN is almost twice less than the euro. What can I do? This is … | |
So i haven't figured out what the point of constructors are i am just learning C++ and am seriously having trouble with it, i do not get why...well i kind of get default constructors because it initializes the variables but what about a constructor with arguments and the member function | |
Hey guys i am new to c++ and i was practicing read/write specific line from an ini file. My File [CODE] // browser ini file // options resolution 100 300 fullscreen 1 account "silentcoder" [/CODE] My Code [Prints out the whole configuration file since my code said to do so] … | |
where can i participate in C projects ?? | |
Is there a PHP variable that holds the page title? I would like to get a hold of the title of the page that I at,(The text at the top of the browser) for later storage. Thanks! | |
What are window.onblur/window.onfocus used for ???? Please help ! Thanx ![]() | |
I have to accept three numbers from the user using cin into 3 variables. If the user enters non integers,I must reject it and ask for a new one instead of that. So,here is my attempt: [CODE]int a,b,c; do{ cin.clear(); while(cin.get()!='\n');//remove failure bits,clear stream if wrong input cin>>a; } while(!cin);//while … | |
Hey all, I'm looking to upgrade my compiler and I was wondering if there is a compiler that is fully c++0x supported yet. If not is there one that is mostly supported? I am currently using MSVC++ 2005 express. I would like to stay in the MSVC++ family since I … | |
a browse and submit button when pick the image and submit , the image name goes to my SQL table and the image it self that the customer pick it copied to my "upload" folder :( my problem is that i only see the image name , so my issue … ![]() | |
Like the title says, I have about 10-15 rows in a local dataset. I need to take any one row, and make it the "default" (on a button click), meaning to take that row and stick it right at the top so it comes up first. I've been up and … | |
Hey, is there a function/call in c in windows to find the place from where your C-Development Environment is running. For example, (in case of Turbo-c), MOSTLY it is C:\TC\bin. Can i find this from within the program and output to a string or something ??? | |
Hello, I am searching for codes that could find the min and max(or first and last values) from a column in a datatable. I have stored the datatable with four column values i want to find the min and max values from the third column(index 2) and display it to … | |
[code]"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")"); [/code] SNO NOT NULL NUMBER(38) ENTRYDATE DATE INVOICEDATE DATE COMPANYNAME VARCHAR2(50) PARTY VARCHAR2(50) STATION VARCHAR2(50) PURCHASE NUMBER(10,2) AVAIL NUMBER(1) SALE NUMBER(10,2) Whats wrong in this query.... I am getting sqlException .... | |
Hello. I've started to learn assembly this week, and I found a example that I couldn't understand, so, if anyone could explain it to me, I would appreciate. [CODE]int increment(int x) { x = x + 1; return(x); } [/CODE] and this got translated to: [CODE]pushl %ebp movl %esp, %ebp … | |
hello, Am new to Java and i just installed jdk, but i failed to set the paths correctly since am missing some paths am supposed to edit as the procedure says, any one having an idea pliz help me, thanx | |
[CODE]// Find prime numbers between 2 and 100. using System; class Prime { static void Main() { int i, j; bool isprime; for(i=2; i < 100; i++) { isprime = true; // See if the number is evenly divisible. for(j=2; j <= i/j; j++) // If i is evenly divisible, … | |
Hello everbody Simply put; [I]rand() is driving me nuts[/I]. I've been trying to get my teeth into Dev c++ (v. 4.9.9.2) for the first time and couldn't find anything anywhere which helped me anymore. Nearly all this code is IDE generated or copied from examples - I'm just trying to … | |
Hi please find this simple program, not sure why realloc is not working and its causing memory leak. But if calloc and malloc is used with little changes it works fine. [CODE]#include "string.h" #include "stdio.h" #include "stdlib.h" char *mystrcat(char*, char*); void main(void){ char str1[] = "quick brown fox"; char str2[] … | |
I wrote this code called delete.php, i have another script called view.php which displays all the users in the database and displays a link to delete that particular record using the get method. In the delete.php file it retrieves the id through get method from the view.php file and deletes … | |
In a flow chart ,what does both <> marks together mean? <>600 ? that <>600 is in a decision box | |
A [B][I][U]concept[/U][/I][/B]:icon_rolleyes: has grown, may be it as wrong or right, that in Java [COLOR="Green"]if we do not take the help of [I]thread class[/I] or [I]runnable interface[/I] at all then also several threads get executed there[/COLOR]; If so how it happens with other languages where there is no concept of … | |
I was going through a tut on the internet about Cookies in JS. So, they told to use this function "getCookie" ! I used that ..... but I cannot understand the use of regular expressions ie using document.cookie.split !! 'cause as far as I know a cookie is just a … | |
[code]#include <iostream> #include <cassert>//what is the use of this??? #include <algorithm>//how to convert in turbo c++ and what is the use this??? #include <vector>//is this array in turbo c++??? using namespace std; int main() { bool result;// what is the use of this?? string s("abcde"); string s2("aeiou"); vector<char> vector1(s.begin(), s.end());// … | |
Hi i'm new here and with php and I want to ask for some help regarding my order form. Here is my existing code. [img]http://i52.tinypic.com/25k4wbc.jpg[/img] Basically what it does in the form is you fill the item(text field) with the number of orders you want (1,2,3 etc.) What I wanted … ![]() | |
Hi, I have created a program to play videos in VB6. But it cant play FLV files. Can anyone please suggest how to play FLV files in VB6. | |
I am learning Javascript, I wrote this JS code and it isn't working as it should be, it is meant to reposition the element square. Here's the code :- [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="test.js"> … | |
Hello All, I am very new to Android. I installed only "SDK Platform Android 3.1, API12, Revision 2" and related to their stuffs. I am getting this error after creating new project: [CODE][2011-06-26 14:43:38 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first [2011-06-26 14:43:38 - … | |
i want to write a program that will prompt the user for the type of conversion he wants: “binary to decimal” or “decimal to binary” -If he chooses “binary to decimal”, the program should prompt the user for 8 bits (values only 0 or 1) and then display the number … | |
hello every one , i am working on this code for a week , but i have a problem that every time i try to debug it i receive many errors i can't understand them here is my code [CODE]/* Simple program to compute the two possible roots of a … | |
hi guys a)I'm working on this project in asp.net and sql server.I would like to host the site im my local iis server for testing purposes b4 i publish.when i import the site to iis it poses some 404 complaining about the web.config file. what i'm i not doing ryt. … | |
My online chat uses a php script. There`s the part I need to correct [CODE][COLOR="Red"][COLOR="red"]if(isset($_SESSION['name']) && $_POST['text'] != ""){ $search = ""; $aname = $_SESSION['name']; function find_value($input) { $handle = fopen("online.html", "r"); if ($handle) { while (!feof($handle)) { $entry_array = explode(" ",fgets($handle)); if ($entry_array[0] == $input) { $search = $entry_array[0]; … | |
Is it possible? I have a php file (and iframe) wich recives a variable from it's main page, then it makes some conversions to this variable to create an URL that should be included in a flv player, I must use html to include the player but I don't know … | |
I am trying to read a custom file extension When reading a string from the file it output the correct string, however when I attempt to read an int it does not output the correct int. Here is my code: [CODE] import java.awt.event.*; import java.awt.*; import java.io.BufferedReader; import java.io.FileInputStream; import … | |
I am trying to write a few functions that work when compiling for windows AND linux, and I can't seem to find the linux equivilent of a few windows functions. If it's of any relavance I intend to use GCC to compile for linux and VC++ to compile for Windows. … | |
When is it the best time to close a database connect? Is it good to close it on every scripting page i do that uses it? | |
Hello everybody, am working on a small php project and in some pages i have dynamic table to read date from another table in MySql database and i added into same table a javascript code for inserting new row. the fields in the table is: Value (input type="text") time (generated) … | |
Hello there, I installed [URL="http://www.activestate.com/activeperl"]ActivePerl[/URL] (I kept all default settings) and also downloaded [URL="http://search.cpan.org/~srezic/Tk-804.028/"]Tk 804.028[/URL] and extracted it to C:\Tk-804.029. I'm wondering why I keep on receiving this error whenever I run this simple script on my command prompt window (I'm using Windows XP Pro). [QUOTE]Can’t locate Tk.pm in @INC … ![]() |
The End.