199,114 Archived Topics
Remove Filter ![]() | |
hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = … | |
So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers … | |
To create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, then simulates a toss of a coin and then tells the user whether they have guessed correctly. DISPLAY a title for the program Issue the statement that stops … | |
I really need help with the below error. I dont get this when i run my asp.net c# application in VS@005, but when i make virtual directory on my office Windows server I get this error. Tell me what changes need to be done in C# code or crystal report … | |
Hi, I need a to create a java file dynamically .This file contains myown methods,variables and constructors.Any one please help me.. | |
So I have to write a program which writes all even numbers between 0 and 50 INTO AN ARRAY and then display them on the screen.... My problem is how i am going to put it into an array I only did part of it but I can't continue doing … | |
Helloo iam building vb chat application using winsock, work on LAN but problem that face me that iam tring to connect to a computer in a network this computer in a network of three computers "192.168.2.1" and "192.168.2.2" and "192.168.2.3" local Ip's and with only one internet IP, so the … | |
Hi. I'm trying to learn how to make my own web app and following those tutorials: [url]http://www.netbeans.org/kb/docs/java/gui-db.html[/url] [url]http://www.netbeans.org/kb/61/web/applets.html[/url] I created a desktop application like showed in the first guide. Then tried to integrate it into the Web Applet. But for some reason after right clicking my desktopapp's java file and … | |
Hi, I have a file system tree. I need to select a file and highlight it without selection. I am not able to build the TreePath for this. Plz let me know how to build the treepath. Thanks in advacne, Sagar | |
Hi, I have two combo boxes in an aspx page. [code] <asp:DropDownList ID="drpCategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" AutoPostBack="True" OnSelectedIndexChanged="drpCategory_SelectedIndexChanged" OnTextChanged="drpCategory_SelectedIndexChanged"> </asp:DropDownList> <asp:DropDownList ID="drpSubcategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" > </asp:DropDownList> [/code] I need to populate the drpSubcategory depending on the value chosen from drpCategory. As you can see i've added drpCategory_SelectedIndexChanged … | |
I have the control id name in string, and try to find it in the event handler: 1 protected void btnGo_OnClick(object sender, EventArgs e) 2 { 3 ((TextBox)Page.FindControl("txb" + strColumn)).Text 4 } but that throws an object reference not set to an instance of an object. It seems as if … | |
I have an .aspx file and i try to align the table to the center. But when i do this [code] <table style="text-align:center"> [/code] it does not work. It shows the table always at the left side of the page. | |
<asp:datagrid id=DataGrid1 style="Z-INDEX: 104; LEFT: 304px; POSITION: absolute; TOP: 104px" runat="server" CssClass="grid" AutoGenerateColumns="False"> <Columns> <asp:EditCommandColumn EditText="Edit" CancelText="Cancel" UpdateText="Update" /> <asp:BoundColumn DataField="Message Id" ReadOnly="False" HeaderText="Message Id" /> <asp:TemplateColumn HeaderText="Opcode"> <ItemTemplate> <%#Container.DataItem("Opcode")%> </ItemTemplate> <EditItemTemplate> <asp:DropDownList AutoPostBack = false id="ddl_Opcode" runat="server" DataValueField="Opcode" DataTextField ="Opcode" DataSource ="<%#TempDataView%>" > </asp:DropDownList> </EditItemTemplate> </asp:TemplateColumn> <asp:BoundColumn DataField="Message Status" … | |
First, I searched the forums and couldn't find a thread that matched my problem. I also searched Google for my error message (in quotes) and received 9 results. If you know of a post/article that deals with my specific problem, I'd love to read it. I have a TemplateField in … | |
I am in need of a script that reads a log file, takes some data from the file and saves it in a .csv (coma separated value) format. The example log is below: log.txt: Date: 3/14/09 Device #: 1 Test: Cont: pass Test: Leakage: pass Test: INL: 0.88 Test: DNL: … | |
I have these two tables.. [B]Product[/B] ============================= ID Title Description ============================= 1 My first product First description 2 My second product Second description … … … …. …. …. [B]META[/B] ============================= ID PRODID KEY VALUE ============================= 1 1 StartDate 22-MAR-2009 2 1 EndDate 23-MAR-2009 3 2 StartDate 28-MAR-2009 4 2 … | |
Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio … | |
I have as ASP.Net 2.0 website with SQL Server as database and C# 2005 as the programming language. The website is almost complete and all the links are working fine. But I want to prevent normal users from opening a couple of pages. When any user clicks on those specific … | |
I am just breaking my head and trying to figure out how double pointers are represented in box and circle diagrams and how they might change by changing the values. Can anyone help? | |
Hello, Python newbie here. I have been using various templates to play around with wxPython and see what I can do and am stuck at the following bit - I have a MyPage panel. This panel has wxTextCtrl boxes and when the button the panel has is clicked I want … | |
Hello. My task is import data from a text file into an array, and then sort the array and print out the sorted array. Each element of the array represents a clothing item and has name,category,quantity, and price values. I have an Item class to represent a single clothing item, … | |
If I click a button how my computer will be open? I want I click a button then my computer will be open. help me with my computer, control panel | |
I can't understand why there's a memory leak. Can someone please enlighten me ? [CODE=cpp]#include <fstream> #include <string> #include <iostream> #include <sstream> #include <stdlib.h> #include <math.h> using namespace std; class ChocBar{ public: ChocBar(string name = "Barone",double price =1.20){ name_ = name; price_ = price; } string getName(){ return name_; } … | |
I'm trying to write a a program that simulates a multi queues, multi server such as a grocery line at the grocery store. The user will enter the desired number of queue/server pair. how would i write this? I mean, I can have 3 - 4 different queue stacks as … | |
Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error … | |
Reverse the case of all alphabetic characters in the string. That is, all upper case characters become lower case and all lower case become upper case. Hello World becomes hELLO wORLD. So I figured I need to use the toupper and tolower commands. I'm just not to sure how to … | |
[code]<?php/** *.Hack Name: Shop Hack * Version: 3.0 Beta2 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at … | |
I know I am missing somethings in my code not sure what I am supposed to put in. Here is what I have so far. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber;//first number … | |
[B]Convert Case To Random In Vb6[/B] I've only 1 Textbox & 1 Button... can anyone help my? Thanks | |
I am writing a dice rolling simulation and i need help redefining a variable inside a loop. | |
Is it possible to send mail through my web application without having SMTP server? For example, the mail will be send through my existing hotmail account or yahoo account to ppl who registered in my web application. If it is viable, please provide me some resources on the method...Thanks in … | |
I have an discrete maths exhibition, and i wanted to illustrate the influence of discrete maths in computer science. so i need some softwares to illustrate. A few examples like set theory for computer networking. graph theory and big O for analysis of algoritms. please can some of you suggest … | |
I've just started c# having done VB and a bit of c++. I think c# is probably a more viable option than ++, thus here I am. I've had this problem in a few languages. How do you create an array in code that is linked to an array of … | |
Hello, i have a question for my C++ program. void GasPump::setHighGal(int gallons){ gallons = 0; } void GasPump::setMedGal(int gallons){ gallons = 0; } void GasPump::setLow(int gallons){ gallons = 0; } Those functions will sets the quantity of gas in the indicated tank to parameter value,resets total cash for that type … | |
I wrote a console application that shows a survey of salespeople that earn a salary in a certain range based on their grossSales. I am not getting the right results. A salesperson makes $200 plus 9% commission on grossSales. when I enter $5000 grossSales I get the result of the … | |
Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are … | |
Hi , I already created a button "enjoy button" that i want to move in a form when the "timer start button" is clicked. how do link the timer to the "timer start button" and make it move? this is what i tried so far..then am blank first [quote] Private … | |
I been searching for days for a sulotion but can't seem to find one. The coed that I have does not give me an error but it does not save anything on the table either ' Can someone help me find what I'm missing? this is my coed [CODE] Dim … | |
Mine code split strings using "^", I want to split the strings using "^^^^", [code] string b = "mansi^^^^sharma"; [/code] But i m not getting it,Cz split takes just one char. Mine code is as below- [code] protected void Button1_Click(object sender, EventArgs e) { string b = "mansi^sharma"; string[] splt … | |
Is there any way to copy an entire Visual C# solution in such a way that it works? If you just copy it and rename it, it gives an error message that it's been renamed and therefore it refuses to work. | |
Hi There, I have to do this read a list of names from an input file of my own, In main() I declared a Namelist[][] object, read several names from thefile using redirection and then print out the list. I have to add the name to the list only if … | |
Hi, I am looking for a tool in python which can build a model based on some set of training documents with manually assigned keywords. And then it uses that model to extract keywords from new documents. I want to know whether using NLTK can I do this? Reply me … | |
I have a function which outputs a really long string in a box of defined size. The problem is, after a few lines, I get an error saying that HEAP CORRUPTION has occured and I wrote to a memory beyond the allocated limit. Now, I'm only writing to console and … | |
Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t … | |
I'm building a telnet server and I need a type of arraylist. I need this arraylist to contain an index 0 - 100 thats how many connections I allow at once, and an Ip address so when I refer to index 0 it will give me the ipaddress. I'm new … | |
[code] <?xml version="1.0" encoding="ISO-8859-1"?> <monthly> <heading>Monthly Specials at the Jazz Warehouse</heading> <body>Here are some of the latest specials from the Jazz Warehouse. Please note that all Miles Davis and John Coltrane CDs will be on sale for the month of March.</body> <line>______________________________________________________________________</line> <jazz> <subheading>Kind of Blue</subheading> <author>Miles Davis</author> <price>US: $11.99 … | |
hello every one here, hoping u're all doing fine. i am face with a wierd error while trying to encode a class about courses and students ( student is itself a class) i'm give this error, and googling seems of no help! [COLOR="Red"]error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> … | |
Hello! I am writing c++ program on linux. Whenever I read a char or string, I got problem. In c, I sove the problem using if(getchar()=='\n') in c++, how can I sove that problem? Here is my program. I cannot do any input for name. Please help me. [code] #include<iostream.h> … | |
I’m new in C#. My first attempt is a console application for the Noughts & Crosses game. I’m stuck in writing the condition for break if any player wins. Any comments will be appreciated. [code] //Tic Tac Toe using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TTT { class … | |
Just getting back into c (I've been dosing assembly for the last few months), so don't laugh at me :S I'm trying to read an input file. The fist line contains how many lines to read. The rest of the lines contain 3 words. Here's an example: [CODE]3 Hello, World … |
The End.