64,152 Solved Topics
Remove Filter ![]() | |
Hi Everyone, I have a gridview [CODE] <asp:GridView ID="grid" runat="server" AutoGenerateColumns="false" DataKeyNames="Id"ShowHeaderWhenEmpty="true"> [/CODE] inside the gridview there is a column with checkbox and another label. [CODE] <Columns> <asp:TemplateField> <ItemTemplate> <asp:CheckBox runat="server" ID="Retrieve" /> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> [/CODE] My question is how … | |
Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL … | |
![]() | I need to know how to create methods to compare two sets of singly linked lists. The only problem is that I can't put a linkedlist inside the method parameters. Please help [CODE]import java.util.*; public class SLinkedList { protected Node head; // head node of the list protected Node tail; … ![]() |
Hello i m developing admin panel for my project i want to add new records when i fill out the form and hit the add button its redirect me a error message i dont know how to ride on this error please help thanks! The error is Insert failureColumn count … | |
Hi all , I have some data with a lot of colums but I just want to put out some colums in the diffirent file. I find in forum that have the question [url]http://www.daniweb.com/software-development/perl/threads/377421[/url]. I used that to solve my problem but it is not seccesfull. I can put out … | |
For part of a programming that I'm writing, I want to generate random numbers between the range of -1000 and 1000. My teacher never spent much time on the rand function, and I'm not quite sure how to specify a range like that. Any help would be greatly appreciated. Thanks! | |
I am working on an ASP.NET 2.0 web application. After making a change in a textbox and hitting Tab or Enter, the focus jumps to the web address bar instead of the next field. I have tried: 1.SetFocus on the text change event 2.Saving last field in a hidden textbox … | |
ok, so i have lots of audio in my program that only plays once, and that all just works fine and perfect This is what i do to play music [CODE] try { InputStream a = new FileInputStream ("Sounds-Music/MainTheme.wav"); theme = new AudioStream (a); } catch (java.io.IOException z) //catching the … | |
In my database I have a datediscontinued. When someone runs a a report they select a start date (FORM.StartDate) and an end date (FORM.EndDate). I need to find the records where date discontinued is between the start and end date. If the start date is NEQ to the end date … | |
I am trying to create a prime factorization c++ program, and halted immediately by this "else" error. I would really appreciate some assistance with my coding. I am new to c++, so I am just getting used to the rules. Here is what I have so far: [CODE]#include <iostream> using … | |
:-/ Is there any function in MouseListener that returns the x- and/or y-coordinates of the cursor relative to the origin of a JPanel which currently has the focus? ¡Ayúdenme, por favor! | |
hi, my name is vic...i got one problem cannot fix....output for the number of times each of the tasks has been invoked...i run 3 times each of the tasks but the output always is this program has run 1 times..... [CODE]#include<stdio.h> #include<stdlib.h> void doTaskA(){ printf("Start of Task A\n\n"); int input_1, … | |
Question it title, how to do it ? I need to stop a function with another function or I need to call a global function inner function with another global function so I could stop it that way. I know its possible but how ? ![]() | |
i have to run 2 queries for inserting 2 different tables userorder table contains orderid , title order_details containts orderid, qty so how can i get orderid for my order_details? the code below donts seems able to get last orderid [CODE] $query = mysql_query("SELECT last_insert_id()"); list($oid)=mysql_fetch_row($query); [/CODE] | |
Hi guys, I simply need to add an exception to this directory listing coding so .php files aren't visible. Do any of you know how to do that? Thanks!! [CODE]<?php // open this directory $myDirectory = opendir("."); // get each entry while($entryName = readdir($myDirectory)) { $dirArray[] = $entryName; } // … | |
Hi, I seem to be having a problem with displaying data in a second form. I've created a linear search algorithm which works just fine - it locates the records from the database. I now want to be able to display the record in another form, I've attempted this using … | |
HELP ME PLEASE. I AM A 1ST YR COLLEGE STUDENT :/ Define an interface Filter as follows: public interface Filter { boolean accept(Object x); } Modify the implementation of the DataSet class to use both a Measurer and a Filter object. Only objects that the filter accepts should be processed. … | |
im trying to make my own kernel.... my kernel is loaded through grub... i tried creating the gdt and idt for myself... i dont know how to test the gdt and as far as the idt is concerned it failed to capture the division by zero error ... source code … | |
I was working on this script which let's you upload and everything is logged in the database. I got this error, any help? Error :You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/home/a6771073/public_html/upload/img.png)' … | |
Hi guys, ok so here's the deal: currently I have this PHP code that allows someone to see every files that are in the directory. I would also like for them to be able to delete any files he wants. Here's my PHP code: [CODE] <?php // open this directory … | |
[CODE] class Circle { private double radius; private String colour; Circle() { } Circle(double r, String c) { this.radius=r; this.colour=c; } public void display() { System.out.println("Radius of circle is "+this.radius); System.out.println("Colour of circle is "+this.colour); } public String getColour() { return (this.colour); } } [/CODE] how calculate and display the … | |
I am trying to parse an html file. But unable to remove spaces using \s (matching character for whitespace) [CODE]use strict; use warnings; open(FILE,"<paragraph.txt")|| die "Can't open para.txt"; my @file = <FILE>; my $all = join("",@file); $all =~ s/\n/ /g; $all =~ s/\./\. /g; $all =~ s/\s\s*/ /g; open (FIL,">paraone.txt")||die … | |
Hello all . I have just started using the gcnew instead of new for the public ref class, that i have needed to learn for windows forms. I have a problem that shouldn't be as difficult as it is. I have a class that i made called vector2 . It … | |
Hey guys Hello, I am new a programmer. I am learning C, C++ and C#. But in future I am planning to make some serious applications using C#. Those applications would be based on LAN environment. So which books should I start to read for network programming using C and … | |
Hello, can anyone explain me why I'm still one step behind with this code? [CODE]private void jTextField1KeyPressed(java.awt.event.KeyEvent evt) { try { DefaultTableModel model=(DefaultTableModel)jTable1.getModel(); model.setNumRows(0); String Name=jTextField1.getText(); String sql= "SELECT * FROM APP.Workers WHERE First_Name LIKE'" +Name+ "%'"; rs= stmt.executeQuery(sql); while (rs.next()) { String d1=(rs.getString("First_Name")); String d2=(rs.getString("Last_Name")); String d3=(rs.getString("Job_Title")); String d4=(Integer.toString(rs.getInt("ID"))); … | |
how to write code include a try-catch statement to handle exception of this code. In the catch() statement, will provide a proper alert to the user on the error occurred. [CODE] import java.io.*; import javax.swing.JOptionPane; class TestArray { public static void main (String []args) { double a; double w; double … | |
The following script creates a child window check/check.php in Firefox but not in IE or Chrome. I know that I should not be using [I]href = "javascript:void(0);"[/I] but I cannot work out a better solution at this stage. Here is the snippet I'm using. While this code contains PHP I … | |
Hey! I got a Java Project which runs fine when i call the Main class with the java command. Made it into a -jar file with: jar cmfv manifest kort.jar * the manifest file contains [code] Main-Class: src.KortBord [/code] with the line break at the end when i try to: … | |
Hi everyone, I'm now nearly finished with my project which tells us to write a PASCAL program for entering the information of the employees. However, I came across a BIG problem is that I've got no idea on how to edit records in the text files or delete unwanted data … | |
Hello, I'm need to create a small report to be send automaticliy from VB.NET Windows application. I have wrote below code which is workin on my private PC, and with Gmail settings, such as username + password + smtp.gmail.com, etc... But with, my work informations, like my proxy ID + … | |
Hi all, I have taken from net chained select script. here is all PHP and Javascript files but i dont understand one thing there. index.php file [ICODE]<?php include('db.php'); include('func.php'); ?> <!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>Chained Select Boxes using … | |
Hi Guys, Can you have any idea about randomly shuffle the questions in database without affecting questions id. Let i will explain little bit more ...... read carefully 1) I have a table containing 5 questions like this que_id que 1 abc 2 bcd 3 efg 4 hij 5 klm … | |
how to allow the user to select different pen thickness for the lines, eg. triangle, circle, square? | |
1. I did try without trying to read output or trying to read only first line of the output - both of these were successful. 2. However when I try to display full output, it just gets stuck and does nothing. 3. Even more crazy stuff - when I close … | |
In this string "13 12", I like to find if there is an occurrence of '3', but I am not interested in char '3' which is part of "13". In other word I am looking for number 3 not 13. By using the following code in python I always get … | |
I use the below code to add or remove a row from a table using javascript. The code works fine on IE however it doesnt work on Firefox, can anybody suggest reasons why this might be doing so? The id "table1" is the ID of the table I am trying … | |
Hello Once again i need help. I have a webbrowser So once webbrowser is completed then it should add the specified value in [TEX]<input type="file"> [/TEX] value in php. Eg: Webbrowser link is [url]http://tinypic.com/[/url] When webbrowser is completed then this [url]http://screensnapr.com/e/LCgzhP.png[/url] value will be our specified value. I tried using … | |
am having trouble with this small java-script problem how can i make a link button clickable after an event lets say clicking a check-box or another button ...example when you want to install a software you see the next button but can not click it until you check the check-box … | |
How can I set the [U]Actual rolls[/U] and [U]Expected rolls[/U] to no decimal, and [U]Actual percentage[/U] and [U]Expected percentage[/U] to 1 decimal plus a % symbol ? [url]http://images.plurk.com/a2f077138ef908ce71f46b08909c998d.jpg[/url] [CODE] cout << "Point" << setw(17) << "Number of Rolls" << setw(17) << "Actual Percent" << setw(17) << "Expected Rolls" << setw(17) … | |
Hello, i'm new in JSP, and i already install Apache Tomcat for the server, but after install it and then try it to browser and choose example there was some text like below. HTTP Status 404 - /examples/jsp/ type Status report message /examples/jsp/ description The requested resource (/examples/jsp/) is not … | |
I am looking to encrypt data (preferably XTEA) on my .Net Micro Framework, send it to a webservice in .Net (Azure) and decrypt it there. I found this [URL="http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/83/Encryption-Compatibility-Between-NET-Micro-Framework-and-the-Full-NET-Framework.aspx"]blog post[/URL] but I am unable to get it to work. The encryption result on .Net differs from the .NetMF. I hope … | |
![]() | I can't seem to figure out how to separate the code I wrote into 3 separate methods. 1. The main method, 2. the method that creates the strings i need and sends em back to the main method, 3. and the method that displays the if statement. [CODE]import java.io.*; import … |
I'm making a dice program that calculates the statistics such as actual percentage, expected rolls and expected percentage and so on. I'm having a difficulty on the Pseudo random number generation. With two dice, the mim. sum of the dice is 2, not 1. There is something wrong with my … | |
I'm trying to simply match these letters using php, but it's kind-of a complex matching formula... First, I have two arrays and one string. The arrays contain letters and the string is a near match of those letters. $a - [Array] Must be <= 7 $b - [Array] Must be … | |
I was working on a project when I thought that maybe a ::. operator would look funny in some code. Just for fun I typed that into the global scope area like this: [CODE]::. int main() { //etc...[/CODE] and my code completion software said too many results to display. My … | |
What I an wanting to do here is have the script email me when the user count reaches X number of listeners on my RR Scanner Feed. Is This Possible? [CODE]<?php $filename = '<script language="JavaScript" src="http://api.radioreference.com/audio/listeners.php?feedId=10734"></script>'; $fp = fopen( $filename,"r"); if ($filename >= X) { //// ($email Me @ My … | |
Dear all, I am certainly not a web developer nor a computer scientist but a little biologist. I developed my tool to analyze some high-throughput biological results and I'd like to make it available online. My prototype : [URL="http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/"]http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/[/URL] Just to make it simple, the user must have the choice … | |
How can i send a file at my e-mail address? I want to write it in my C program. Is there any simple way to do that? I Use Dev C++ compiler. I am not using C# or VB. Thanks in advance for answering. | |
I need a sample code to retrieve the source code of a page . Ex : I have [url]www.blahblahblah.tld/file.ext?id=blah[/url] I want to retrieve in a char the source code of that site. Thanks | |
Looking for an equivalent container class that matches to C#'s Arraylist collections class. Is there anything that comes close to a container that can provide index based enumeration as well as hold multiple data types. I am trying to create an vector that can hold multiple data types. For example: … |
The End.