199,114 Archived Topics
Remove Filter ![]() | |
plz tell me .....how can i put the textboxes values of form 1...itni form2 textboxes at load time.....? | |
hi there, i have a datagrid view in C#. in it it have to combo box columns and three text box columns, what i want is when i select a value fron the datagridview combobox column i want to get the data from the database and display it in the … | |
I have read other threads on this topic, but I haven't found anything that works for me. I have a table that stores comments for orders. There are many notes for each order and I want to select the newest comment for each order so I can have a list … | |
Am using a JSP code to upload multiple files. It is running properly in Developement system, but in the production system it is giving error : HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. … | |
Hi friends, How is assigning the value to text box which is selected in the list.and then in .NET or VB have crystal report and grid view for showing report from. like this any other option in php? Only using table wil we show the report? ![]() | |
I'm trying to return a dataset from another function to be used in another function, but i am running to trouble. So i have this Binddata function which populates the dataset and then returns it, that goes thru the debugger and runs fine at my ASP.NET page. But when i … | |
hey !! i am working on a project for development of dynamic crawler .. can anyone help me out ?? suggest me some code for implementing it and ebooks.. | |
Hi guys, I'm having a few problems with my code. I run the program and input 10 users for my account system, but when I try to recall the values for any account, I can only call the first balance I entered. I've been looking at the code, trying to … | |
how do i do a table pyramid? e.g. 1st column(1 row), 2nd column(2rows), 3rd column(3rows) ![]() | |
Hey Ive been searching all over for an example but cant seem to find anything to close to what im after, Im really new to javascript so dont know how to start coding it myself. Ive got a form with 3 text fields, one for first name, last name and … | |
hello.. i have this url.. [CODE]http://localhost/flowerstore/flowerdep.php?cat=ROSE[/CODE] how to rewrite like this. [CODE]http://localhost/flowerstore/ROSE[/CODE] i am trying lot...but no use...any body help | |
OK, how do I make this program allow the user to modify the price of items and save and load the modified catalog? i've spent ages trying and failing. pls help! [CODE]'''maintain a catalog''' def main(): global catalog loadCatalog() while True: pick = showMenu() if pick == 0: break elif … | |
My program should display '*' when entering a password to a text box by a user. How to do that? | |
Hi, I have the following code in my form. I would like to retrieve data from the MS Access database to ListView1. What will be the code? [CODE]Public Class frmContacts Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
Hello all, I am new to the webhosting...and now i am in a position to configure my Server(WAMP) into https...I tried by following a step by step procedure which is published in a web page....I created the Certificate and the Key and if i type "https://localhost", i can go to … ![]() | |
![]() | Helllooooooooooo There..I'm new here..and there's something i want to ask ..Please help me if you don't mind..^^ Is it possible for me to restrict my desktop application only for 1 computer..can anyone teach me how to do that?or maybe gimme some references or ebooks for it ..thanks a lot .. … |
<td> <select name="sourceitems"> <?php $Qry1->text = "SELECT * FROM sourceitems"; $Qry1->openSQL(); $Qry1->first(); while(!$Qry1->eof){ $SourceID=$Qry1->fieldByName("SourceID"); $ItemName=$Qry1->fieldByName("ItemName"); $selected=""; if ($SourceID == $_POST['SourceID'] ) $selected="selected"; print "<option value=\"$SourceID\" $selected> $ItemName </option>"; $Qry1->next(); } ?> </select> </td> Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in D:\Webroot\TM\editData.php on line 179 … ![]() | |
hi all, i am having a page. where we can see list of files in a table and in every row download link is there.we can download that file by clicking on download link, so now i need a delete link also which deletes the selected file by using its … | |
Hello all, I have to design an ERD Diagram and a data flow model for a project assignment. I just want to know if I am on the right track. The question is as follows: "The short course institute runs computing courses for members of the public and IT professionals. … | |
Hai there, Now im doing to display data in XML file to many textbox.. Can anyone show me how to do that..Thanks Here i give u the sample XML file: [CODE=xml]<ClearanceLogItem> <RecordID>C73B5191-C426-4306-8FDE-26D41773C895</RecordID> <TxnTimestamp>20100324154140</TxnTimestamp> <SiteID>1708</SiteID> <ClientID>MAG02</ClientID> <MoveType>1</MoveType> <TxnStatus>0</TxnStatus> <FailureType>4</FailureType> <WLStatus>0</WLStatus> <DocType /> <DocNo /> <BearerName /> <DOB /> <DOE /> <Nationality … | |
i'm using VB.NET AND SQL SERVER AND HAD PROBLEM TO RESTORE PREVIOUSLY BACKUP TEXT FILE. | |
The queue class needs to inherit protectedly from the list class My code won't compile because of this line towards the bottom listPtr = &myqueue; if i comment out this line, it compiles and runs, but without this line i can't do what i want. I need this line to … | |
My Question: I have created a text file named it kashif.txt and i have placed this file in the same folder where .exe and .ccp of this program is placed but file is not opening. My code is as under. #include <fstream.h> #include<iostream.h> main() { char name[100]; char sal[100]; char … | |
[I]EDIT: For a console application, not sure if someone can add that to the end of the title?[/I] I could only think of it as a function, as I'm not too heavily into C# just yet. What I'm doing is creating a MUD-style game as a console application, so players … | |
Hi all, I'm really need your help regarding how to insert image into blob field in Firebird/Interbase 6.0....I'm using connection trough ODBC ( "DRIVER=Firebird/InterBase(r) driver;UID=SYSDBA;PWD=masterkey;DBNAME=c:\ibss\database\ibssdemo.gdb " I can manage to pull into SQL Server 2008..but not for Interbase....can anyone help me...here my code that giving error...(SQL -104) [CODE] If Not … | |
hi this is a program to perform insertions and deletion in doubly link list... | |
hi everyone, you know the same way you can set the label.text to have the same text as the one you fill in the textbox; mylabel.text=textbox1.text. i realized that that happens only when both the label and the textbox are in the same form. is there a way that a … | |
hi, i have this function.. [CODE] Sub DrawScreen(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint Dim myPen As Pen myPen = New Pen(Color.Blue, 2) Dim gr As System.Drawing.Graphics = e.Graphics gr.DrawRectangle(myPen, 1 + x + (i * 4), y + (j * 4), 1 + x + (i … | |
No matter what I try, I keep getting Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in ___ I tried array also, but here's the code for the login page. About 23 lines down. Also, I'm new to PHP, as in, today new. [ICODE] /* Start session … ![]() | |
i am currently new to c++ coding and i have been working on this code for a class, i am suppose to get emails from a .txt file and the program reads each line of the file analyzing each and every char of every line to see if it is … ![]() | |
Hello all, First off I am using VB.net I have a dropdown list in the Item template. I would like the user to select a value and update the database without clicking an update button. Here is the Code for the DDL [CODE]<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2" DataTextField="provider" DataValueField="provider" AutoPostBack="True" AppendDataboundItems="true" … | |
hi there, i am building a firefox extension for my final project. i am stuck at the last leg. i need a javascript command that gets two words before, and two words after a highlighted word (a window of 5 words) into my program. i can get the highlighted word, … ![]() | |
Hey, im getting the following error unreported exception Exceptions.IllegalValue; must be caught or declared to be thrown this is my method where im getting the error and i want to know why im getting this error because i declared that the exception was to be thrown. is it something to … | |
Hi friends, I have a checkedlistbox control on my windows form. Now when Application runs, every item is unchecked and user checks the items as per his choice. I want that - next time when user runs the application - checkedlistbox should be loaded with the same items checked. Meaning … | |
Hi there, I am still experiencing problems to populate the dropdown menu in my form (mysettings.php) with the correct contents from the database. Herewith is what I have. <?php /********************** MYSETTINGS.PHP*************** *********** This updates user settings and password **************************** ********************** **********/ include 'dbc.php'; page_protect(); $rs_settings = mysql_query ("select * from … ![]() | |
Hey Guys, i am supposed to write an implementation of The PriorityQueue interface in this user defined package, this is the first time im using iterator and so im having trouble. at the moment im getting the following error message [CODE]PriorityQueueLinked.java:11: PriorityQueueLinked is not abstract and does not override abstract … | |
Can anyone tell me the difference in JDK & SDK? I believed till now that both term are same. ...but SunMicrosystem tell both are different. (You can find it at Sun's website) So what is the difference in these two terms? | |
:?: Hi all I'm trying to import data from an exel sheet to a data grid but I keep on getting the following error "The Microsoft Jet database engine could not find the object" Here is my code Thanks [CODE]Imports System Imports System.Data Imports System.Data.OleDb Public Class ExellFrm Private Sub … | |
hi i have done a page which contains username and password,there i have to check my username and password string and authenticate that page. here is my code. [code] <%@ page language="java" %> <html> <head> <title> WELCOME </title> <script language = "Javascript"> function ValidateEmail(){ var emailID=document.frm.t1; var emailID1=document.frm.t2; if ((emailID.value==null)||(emailID.value=="")) … ![]() | |
Mucking about (should say practising what I've learn't), and made my version of the rabbits practice program. It's not totally finished but it's my first draft and it's working. Before continueing, I'd like a code review please to tell me whats not correctly done or how I could improve my … | |
I have the following code, [code] import csv w=csv.writer(file('newfile.csv','wb'),dialect='excel') some_values=[[1,2,3],['A','B','C'],[4,'"5"','ab,c']] w.writerows(some_values) [/code] When I run it on my computer (a mac), newfile.csv is created. However, when I open newfile.csv, it is empty. Any ideas why? | |
I have my class in 2 different files(header and source-file) and i have 2 variables which is a const but the only way to give the const variable a value is to do it trough an constructor initializer. But how do i implement an constructor initializer in my class ? … | |
![]() | [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call Open_database() XSQL = "Select stock from item where itemcode like '" & Trim(TextBox2.Text) & "'" CMD = New OleDb.OleDbCommand(XSQL, CONN) CMD.ExecuteReader() If [COLOR="Red"]Missing Code Here[/COLOR] MsgBox("Alert") Else XSQL = "Update item set Stock = Stock - … |
Im trying to customise search fields and then display in a pdf but the code just doesnt work. can someone take a look and see why exactly this is not working? if u see any mistakes? [CODE]<?php //access incoming name, id or radio button values $cs = $_GET['cs']; $name=$_GET['name']; $uni=$_GET['uni']; … | |
Hi , I am trying to insert the arraylist to database using sql .I have my code below.Can anyone help me with .My issue is that my insert statement doesnt work. Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … | |
hi i want to give my sprites some weapons- one a gun and the other a sword but i have no idea what i am doing, can anyone help me do this please? i've included my main.cpp, player.cpp and player.h if it helps.. im using visual c++ and SDL and … | |
i have *.exe file which is written in C.....when i run this exe file, console window opens even though i have not given any thing to print on console...the .exe file performs file reading and writing operations....now how to i close the console window automatically....i dont want to hide....i am … | |
I have tried to start this program but I am so confused with dealing with strings. If any one could take a look and tell me if im on the right path it would be greatly appreciated. Heres the problem and what I have so far: An organization wants to … | |
hello can you please help me and please correct my code if this is wrong. please also check my cursor type if it is correct..hoping for your positive responds... [CODE] Option Explicit Public con As ADODB.Connection Public user_rs As ADODB.Recordset Public cmd As ADODB.Command Public m_user As String Public m_pass … |
The End.