199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ariffin246

Hi I am php coder and new to asp. I am trying to build a simple login page using asp and the db connection works fine. When the user submit the form and at the sql query section i am getting the following error "Microsoft OLE DB Provider for ODBC …

Member Avatar for jfarrugia
0
351
Member Avatar for manu555

[CODE] <html> <form> <table> <tr> <td width="172" class="label" >&nbsp;</td> <td class="content" colspan="3" > Grwt <input name="grWeight" type="text" class="box" id="grWeight" size="20" maxlength="255" /> ntwt <input name="netWeight" type="text" class="box" id="netWeight" size="20" maxlength="255" /> crwt <input name="crWeight" type="text" class="box" id="crWeight" size="20" maxlength="255" /></td> </tr> </table> </form> </html> [/CODE] In above code i want …

Member Avatar for manu555
0
1K
Member Avatar for karthik.net87

I have a numeric format issue export gridview to excel My issue is in gridview the time format display 28:30 but when it export to excel it shows 28:30:00 and i need the raw data i.e(28:30) Help me

Member Avatar for karthik.net87
0
80
Member Avatar for Nybuler

Hi all, i'm a student. My Final Year Project supervisor want me to develop a software for wholesale industry, and he want the software can update the data from time to time Example: A company having 2 Branch in B and C place While B place made a sale! the …

Member Avatar for winkler
0
123
Member Avatar for vr2viv

Dear All, I am new to VB2010 and writing a MDI child form to open another form as dialogbox, then pass a value back to the MDI child form, the value is successfully passed back to the MDI child form but it can't be shown on a text box, my …

Member Avatar for vishalrane
0
1K
Member Avatar for Bhargo

hi, I am trying to start a new cmd from a java program.... I have been able to do it successfullt but I alse want to write to that new cmd from that very java program.. is it posible????

Member Avatar for Bhargo
0
44
Member Avatar for geekme

Hello, I'm working on ubuntu 10.10, have apache2 and php5 installed.But just to check that they are working fine, when I try to access my IP server address page, it asks for a username and password.The log-in username and password do not work.Please help Regards.

Member Avatar for diafol
0
155
Member Avatar for newbie14

Dear All, I am trying to apply transaction into my codes. Below is what I have done. It works fine. I would just like to know incase is there something wrong or missing in my way ? Thank you. What is different between mysql and mysqli ? [CODE]$rollbackStatus=False; $link = …

Member Avatar for diafol
0
113
Member Avatar for siddiqui_1985

[code]#include<stdio.h> #include<conio.h> void main() { char gender,Mar_stat; int age; clrscr(); printf("Enter your Marital Status "ma" or "um":\n"); scanf("%c",&Mar_stat); if (Mar_stat == 'ma') { printf("Enter your Gender And Age :\n"); scanf("%c %d",&gender,&age); if (gender=='M' && age >= 30) { printf("You are Insured"); } else { printf("Sorry"); } getch(); } } [/code] …

Member Avatar for bajishareef
0
181
Member Avatar for 7sisters

Hi, I am really new to Python and I am having real trouble with this new language. This is what I want to do: I have two sets of .txt files that contain numbers. They look like this: FILE1 1028.085 283.795 2056.13 295.254 121912.4 11.346 0.004 147.932 780.677 966.771 289.326 …

Member Avatar for 7sisters
0
163
Member Avatar for pardhu463

Hi to all... I am getting a warning, i am trying to avoid that but its not sorted out..Please suggest me to avoid that warning. my code is as follows.. [CODE] const char var[][2][5]={ {"1.95","3.70"}, {"2.40","4.60"}, {"2.70","5.70"}, {"6.60","13.40"}, . . . . }; void fun(int col,int row,char *str) { ... …

Member Avatar for pardhu463
0
268
Member Avatar for cutexxbaby

hihi i am a newbiest on c# and window form i am doing a web service, and use a form which contain a datagridview but meet quite alot of problem 1. how to validate user input with database, like example, when the user insert a username, however the database have …

Member Avatar for DaveAmour
0
380
Member Avatar for SkyCool

Hi, i am having this 'bug' when i tried to run my application using firefox browser. At my login page, the user will display a default value of '123' and password field will display a '*'. However, i did not even define a default value for both fields. I don't …

Member Avatar for mith_cool
0
80
Member Avatar for apanimesh061

This is javaScript based ASP.net web application. [CODE] <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="javascript" type="text/javascript"> function oddEve(){ var rand = Math.random(); rand = Math.ceil(6*rand); if(rand % 2 == 0){ document.write("Odd number: "); } else{ document.write("Even number: "); } document.write(rand); } </script> <html …

Member Avatar for AnujaCool
0
516
Member Avatar for PixelatedKarma

Hello everybody, So this might seem like a really simple thing to some of you more advanced people but it has me extremely stumped, currently I am trying to create a menu. What I have is a mySQL database with a row called page_name I have written the following code: …

Member Avatar for urtrivedi
0
110
Member Avatar for larrymtl

Hello guys, please could somebody help me...there is a problem with logic in my loop with pretty the same structure in methods: [B]public void isMember()[/B] and [B]public void deleteMember()[/B] Compilator ignores the scanner and directly goes to else statement and puts it in the loop 10 times... [CODE] import java.util.*; …

Member Avatar for larrymtl
0
245
Member Avatar for GuyClapperton

It's very interesting to read that the Playstation 3 [URL="http://news.bbc.co.uk/1/hi/technology/8478764.stm"]might at last have been hacked[/URL] by the same man who 'jailbroke' the iPhone for the first time. Interesting but not all that much use. I mean, who wants a hacked PS3 anyway? The report to which I've linked says there …

Member Avatar for skatamatic
0
348
Member Avatar for crazycat503

Hi, I have a table with 2 date fields startdate and enddate. A program have a start date and an end date like this 01/01/2011-25/03/2011 . Now I want to test any date and get the program it belongs to. Say for the above, 12/01/2011 would return the above program. …

Member Avatar for ChrisPadgham
0
138
Member Avatar for steve_Student

Hi I am a student needing help with my assignment. My assignment is a loan calculator that takes in a customer’s details such as name, address, occupation and the amount they wish to borrow. My assignment says the base interest rate is 9.7%, however: if the amount a customer enters …

Member Avatar for NormR1
0
290
Member Avatar for steve_Student

Hello, iam a student who is currently studying for an FD in IT, I need a bit of help with my java assignment and as it is a mortgage calculator i am developing, maths is not my strongest subject I have been trying to find out how to take in …

Member Avatar for Ezzaral
0
312
Member Avatar for bluehangook629

Hey guys, I was wondering if there is a way to group controls together without using any containers such as panel, group box, or container. Thanks

Member Avatar for Ezzaral
0
998
Member Avatar for babbu

Hi, I have a code that writes data to excel using setcontentype(application/vnd.ms-excel) Now I want one of the columns to be formatted to currency. I do not intend to use any additional jars(POI, etc). Is it possible to achieve the task. Thanks

Member Avatar for peter_budo
0
111
Member Avatar for leo1937ca

Attached is a visual representation of My Array that was used in my VB6 program the dimensions are: [CODE]Dim MyArray(5,30) Option Base 1[/CODE] I am using an ACCESS DataBase to populate the array. Using the For Next Loop I can access any position within the array such as a individual …

Member Avatar for skatamatic
0
192
Member Avatar for olsane

hey i have a little problem, how do i make this two triangle: O O O O O O O O O O O O O O O O O O O O i have to get input from user, that part i have done. but the problem is loops …

Member Avatar for NormR1
0
93
Member Avatar for milas

i have a page which dynanically create a link when it load, after i click on the link it should loop in the database fetch all the record and display another set of link , then when i click on these link it should give me all information about this …

Member Avatar for adam_k
0
117
Member Avatar for coding101

Hello, so my question is this..lets say you have a file like this. Computer Science 01 //course number 30 //number of students that can enroll 4 //number of students currently enrolled Math 02 //course number 20 //number of students that can enroll 12 //number of students currently enrolled And i …

Member Avatar for NormR1
0
130
Member Avatar for Lee21

Hi Everyone, I'm having a hard time on using Transaction then after that I need to use sqldataadapter. When I tried the code below I'm having an error "[COLOR="Red"]ExecuteReader requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The …

Member Avatar for adam_k
0
598
Member Avatar for STP_Captain_Slo

Hi I have been looking all day trying to find a way to do this. I need to run a Batch file which is held on a server, the file path begins with a IP Address which DOS doesn't like. So i found the pushd command which assigns a temp …

Member Avatar for adam_k
0
286
Member Avatar for zepi

hi all, please help me on this... Is there a way to get the SQl View's String Command used to create said View? For Example, I have a View named tryView, now I want to get the string command used to create tryView like this one... [QUOTE] CREATE VIEW tryView …

Member Avatar for adam_k
0
117
Member Avatar for winecoding

I have a string, which is read from a database. The string can be just "null". I need to decide whether it is null or not? Among the following ones, what is the appropriate way to do it? [CODE]String a = …; If (a == null) If ( a.length == …

Member Avatar for mKorbel
0
159
Member Avatar for bufospro

Hi, I am trying to make a timer applet when I click stop button to stop counting, disappear stop and appears continue button and when I click continue to continue the counting. My code is : [CODE] import java.applet.*; import java.awt.*; import javax.swing.*; public class Timer extends Applet implements Runnable …

Member Avatar for mKorbel
0
99
Member Avatar for happy8899

[CODE] set a = 3 set type = a echo $($type) [/CODE] How for me to get value of 3 from variable $type which is a. I can't get value 3 from what i do above? please help thanks!

Member Avatar for IIM
0
161
Member Avatar for gonidelux

Order Confirmation Thank you for your order! 84,46,62,84 Your Credit Card informations: Credit Card type: 0 Credit Card number: 2147483647 Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\baby\checkout.php on line 16 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\baby\checkout.php …

Member Avatar for IIM
0
540
Member Avatar for gingank

Could anyone tell me the different between this two? I try to learn the C++ and i'm a newbie on it? Any recommended books or website to learn C++? Thanks in advance...

Member Avatar for yoni0505
0
193
Member Avatar for coroll

Hi!, I have a formProd and a dataGridView in it. I want to access the dataGridview of formProd from formMain. [CODE] foreach (Form form in Application.OpenForms) { formProd prd = (formProd)form; if (prd is formProd) prd.itemsGridView.DataSource = DS.Tables["product_Header"]; }[/CODE] this gives me InvalidCastException. can any one tell me how to …

Member Avatar for coroll
0
149
Member Avatar for coroll

Hi, im new to c#.When i execute the following code i get "vshost.exe has stopped working" message. Firstly i insert some data to a table in sql server 2008.then i want to retrieve the MAX(Mem_ID). My insertion is working properly. But when im trying to retrive MAX(Mem_ID). It gives above …

Member Avatar for coroll
0
2K
Member Avatar for feedz87

- I'm using ms sql and then i export the database and then i save that export DB at desktop.After that i delete the database in ms sql because i want to learn how to import the DB.My problem is cannot import the DB that i export before.Anyone can help …

Member Avatar for BitBlt
0
202
Member Avatar for harius

Hi.Im working on an ASP.NET website.In this application there are some local functions and a call to an external C# exe.Every thing works fine if I use a msgbox control before this form redirects to the output page.If I dont use this msgbox before redirecting, the output is different than …

Member Avatar for harius
0
159
Member Avatar for skitch

hi, i'm making a website for a company, with backoffice. when i want to add a new employee, i must specify the monthly fee and i created two inputs, one for the dollar part and the other for the cents parts. i wanted to concatenate the two parts with a …

Member Avatar for almostbob
0
121
Member Avatar for panhwer

Hello friends... I have one question that why session variable are stored on server side, what is reason behind this. If it is stored on client side what will be disadvantage.

Member Avatar for nonshatter
0
109
Member Avatar for AnkitKumar

class Foo { public static void classMethod() { System.out.println("classMethod() in Foo"); } public void instanceMethod() { System.out.println("instanceMethod() in Foo"); } } class Bar extends Foo { public static void classMethod() { System.out.println("classMethod() in Bar"); } public void instanceMethod() { System.out.println("instanceMethod() in Bar"); } } class Test { public static void …

Member Avatar for JamesCherrill
0
120
Member Avatar for debasishgang7

So guys here is my situation. There is text file.Which contains some strings.They are all comma separated. What i wanna do is just read the text file and print individually those strings which are comma separated. Suppose the text file contains: dog,cat,bird,good,bad,blah,blah,blah etc.... The python script should print dog cat …

Member Avatar for vegaseat
0
157
Member Avatar for KAY111

Hey, I just discovered a very interesting phenomenon. I have 2 programs. m.cpp [CODE] #include <iostream> #include<time.h> using namespace std; int main() { int a=34,b=40; while(1) { usleep(400000); cout<<a<<" "<<b<<"\n"; } } [/CODE] and n.cpp [CODE] #include<iostream> #include<stdlib.h> using namespace std; int main() { int a,b; while(1) { cin>>a>>b; cout<<a<<b; …

Member Avatar for L7Sqr
0
173
Member Avatar for ToniSoft

hi Dears, i am very very new in programming and i have a problem with inserting something into table, this is when i connect it with database iam able to read everything in database, private OleDbConnection myCon; public Form1() { InitializeComponent(); myCon = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Aidi\Desktop\AccessDBase\WindowsFormsApplication1\WindowsFormsApplication1\Students.mdb"); } i have create …

Member Avatar for ToniSoft
0
136
Member Avatar for aPPmaSTer

Hey all, I'm looking for a way to insert values from one table from another in a pretty straightforward way, I just can't get the syntax... If table 1 has fields A,B, and C, and table 2 has 20 fields... I want to insert into: A a value that I …

Member Avatar for aPPmaSTer
0
4K
Member Avatar for shyam2011

[CODE]-- phpMyAdmin SQL Dump -- version 3.2.4 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 22, 2011 at 08:44 AM -- Server version: 5.1.41 -- PHP Version: 5.3.1 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- …

Member Avatar for smantscheff
0
1K
Member Avatar for Stangaciu

HI , i have a little problemn. I have to tables codMP and Content.Display like this. codMP name In 1 x ? - 20 - here i want to sum the column from the second table where codMP = with what is in the column codMP. The same for the …

Member Avatar for Stangaciu
0
133
Member Avatar for vuyiswamb

hi all I am using a third party gateway. The third party gateway does not support query-string , so i will need to post the form to pass the values to the given URL and another thing is that they don't expose the web-services so we need to use their …

Member Avatar for vuyiswamb
0
900
Member Avatar for xanawa

i have a register page which contains validation error checking (error providers) now i have a cancel button that leads to the home page. I need that this button is not stopped by the error messages. How can i remove the error messages on button click?

Member Avatar for matricol
0
88
Member Avatar for hszforu

i am using python idle in windows7 to run my program. whenever i try to run the program i get an syntax error as unexpected indent. the code i am trying to run is as follows: [CODE]def print_lol(movies): for each in movies: if isinstance(each,list): print_lol(each) else: print(each)[/CODE]

Member Avatar for Gribouillis
0
928

The End.