199,113 Archived Topics
Remove Filter ![]() | |
Hello :) is it possible in vb.net for a datagrid to take input???I have always known it to behave as a window to the database..If it's possible,how is it done?? Thanks in advance for the result of my queries!:) | |
[COLOR="Green"]Little background info:[/COLOR] My site is gaming related; xbox 360, ps3, wii, pc an so on. I have big plans and ideas for the site. Since I can't afford vb right now, I've opted for php to code the site. The friend I did have to code the site was … | |
I am trying to learn PHP. I have set up a database, a table, and made a form that allows me to add new rows to the table when the submit button is clicked. The problem is that the form also submits any time the page is loaded or refreshed, … | |
Hi, I am trying to get something up where by: -> It dynamically displays input text fields that can be edited. -> However I need the current id as well as the current value to display -> when a person submits the form, it updates all / or only each … | |
Hello, I have clear the process to sign a document. You need a certificate made by a CA. You have a public and private key. With the private you sign and with the public the people open your signed document. When you sign a document a math algoritm process the … | |
Helllloooo DaniWeb peoples!! - I have books and whatnot, but I thinks I need opinions from real people ya know? My question - What do you think are essential projects that a professional web programmer needs to know how to do? Let em fly!! - an earnest THANK YOU | |
Im quite new to C#, please forgive me if my question is stupid. Im currently doing a project (alarm clock) and encounter some problems. I need to know is there anyway to change the Time ("6:02") from textbox or other means instead of changing it from the source code itself. … | |
I have table that has students classes and grades. They are allowed to fail a test twice but if they fail twice they have to retake the couse in which they have two more tries. I would like to show only the most recent grade. Here is the table structure … | |
how to add some text to existing text file without erasing current data? | |
Good afternoon, i'm getting an error when I compile "undefined reference to 'TestScores:theAverage(int *,int)" I'm not sure what the compiler is telling me. Any assistance is welcomed. Art header // this is the header file for class TestScores #ifndef TESTSCORES_H #define TESTSCORES_H //this idea with this class is to take … | |
Hello everyone I am making a code to create a fractal using the turtle class in java. The problem is that the fractal string doesn't seem to be registering through the if and else if statements. What I would like to know is if that is the problem...or something else...Thanks … | |
I'm taking on a new project and was hoping to get some help. I recently helped complete a Java application in which the user enters various inputs (of the type double or string)into text fields. The application then saves these inputs into a text document which is then used for … | |
Hi, does somebody knows how to convert the password input so it does not appear to the screen as what we type and it appears as special characters like******. thanks! | |
Hello all, I recently made a mysql database using python and imported an excel file into the database. However, I am having some issues with some of the python. Using the following code, I have selected 11 numbers from a table in the database. # c.execute('SELECT REF_PNL FROM actual_data_table WHERE … | |
What language is the most difficult to compile and why ? (except natural ones) | |
I am writing this program for class and it compiles fine but when i debug it it gives me an assertion failure any suggestions would be welcomed i need it to output 20 random sentences. [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> #include <ctime> #include <cctype> using namespace std; const char … | |
Hey I have a question regarding datagridview cells, I have made made the rows that display data from the database as read only, but the thing is when I click on one of the cells an event triggers out, I have coded for cellcontentclick, cellvalidating, currentcelldirtystatechanged, editingcontrolshowing. When I clik … | |
To help increase sales, your management decides to give customers a one-time bonus. Here are the credit rules: for 1-15 credits, add 1 credit for 16-30 credits, add 2 credits for 31+ credits, add 10% and round up (10% of 35 is 3.5, rounded up to 4) Write an update … | |
Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would … | |
I found this little program for a game in a book. [CODE]class Tank (object): def _init_(self, name): self.name = name self.alive = True self.ammo = 5 self.armor = 60[/CODE] It is named tank.py When I import it in python and I try to add [CODE]my_tank = Tank("Bob")[/CODE] Python gives an … | |
Hi everybody, how to make listview selection; i wanna make multi selection in listview ; but don't want to use ctrl key . eg; if i select 1st item , make highlight it. And then if i select 3rd item, 1st item still highlighted and 3rd item highlighted as well. … | |
My form1 has datagridview, that is populated by a dataset. I want to pass the selected value of the datagridview to my other form which is form2. How could I do this? | |
i have a program in which i have to input 2 2-d arrays and then compare the elements of both. executing for loop again and again is making the program long. can i make it short. can we pass an array into a function? | |
I have a script working for me which loads content into an iframe on my index page based on a url query string. for example: mysite.com/index.php?two.php loads "two.php" into the iframe, heres what i have: [CODE]<script type="text/javascript"> function loadIframe() { var urlStr; urlStr = location.search.slice(1); window.frames.myiframename.location = urlStr; } </script>[/CODE] … | |
Hi guys, I have a small problem here... There is a [B]customer id[/B] field and a [B]search button[/B] in one page. In my database there is a [B]table[/B] called "[B]customer[/B]" which contains fields of [B]customer_id, full_name, name_with_initials, address, contact_number and gender[/B]. The table is filled with record of each customer … | |
hallo, I want to create a print preview for an invoice. What I'm having problems with is, most of the content in the print preview is pulled from a database and not the form, I am not sure how to implement this into the code, plus how would I change … | |
Hello! I am trying to redirect the stdout following the example in [URL="http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/"]http://www.blog.pythonlibrary.org/2009/01/01/wxpython-redirecting-stdout-stderr/[/URL]. My code has some loops, and I would like the function to redirect stdout each time the loop is repeated, as it happens when running the code with the command line. However, it seems that in this … | |
I have a code wherein I pass a whole array to a function. Is it possible to do exactly the same thing using pointers? [CODE]#include <iostream> using namespace std; void func(int array[]); int main() { int array[] = {10,20,30,40}; func(array); cin.get(); return 0; } void func(int array[]) { cout << … | |
Over the past few years I have taken multiple comprehension courses and bootcamps related to Microsoft server administration and .Net programming and I just found a new favorite. I am currently taking the MCPD ASP.net bootcamp at CED Solutions (in Atlanta, GA - MCPD: ASP .NET Developer v3.5, MCTS: .NET … | |
I've done an example of 'template specialization'. Here is the code: [code] // template specialization #include <iostream> using namespace std; // class template: template <class T> class mycontainer { private: T element; public: // only prototype mycontainer (T); T increase (); }; // class method definition template <class T> mycontainer<T> … | |
Wanting to create an error handling function, I want it to return the line without having to pass an int value for it. I've seen functions given to me in books and so forth do it, but I have no idea how to get that value. | |
How can I execute some code when the user closes the application? Where do I put this code? | |
Okay, this puzzle the hell out of me. I've got 2 different sets of code, one which works, one which doesn't. They are both very similar, and I can't see what is causing the problem. Code that works: [CODE] public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); new Settings().globalSettings(args[0]); logger.info("Read settings … | |
Dear all. Thanks for you kind and generous supporting. From the String s="<hell <world </world </hell"; I wanted push the elements "<hello, <world" into stack, and pop off if current element equal to peek element in stack. Question: Even stack.peek().equals(CURRENT ELEMENT), why can not pop off, but occurs error?? Please … | |
can u please help me? this was my teacher's project for us! i really dont know what to do! | |
Hi all, Here i have a serious problem. I want to sought it out using [B]PHP and MySQL only[/B]. I have a form includes fields of customer id and Account type( [B]stored in a jump menu and includes 6 different types of accounts[/B]) [CODE] <style type="text/css"> <!-- body,td,th { font-size: … | |
can someone tell me how to do this??? i have a product category in a combobox and the associated product codes in a list box. i'm using oracle for backend. the combobox on form loading shows the product categories from oracle database. but the product category is not a primary … | |
Hi all, Basically I am attempting to determine whether the first 2 columns (tab delimited file) from file1.txt match the first 2 columns of file2.txt. If they do I want to output the entire row of file1.txt to outputfile.txt... I can do this using vbs but due to the amount … | |
Hi, I am trying to open a url by clicking over the link of JLabel in Windows 7 (32 -bit) but unable to do so. After clicking on the link, it doesn't do anything. Although, it is opening the file successfully.It used to work in XP. The code is as … | |
hello guys.. can anyone please help me i have created a Simple search for my database..the search form contains a drop down menu of the field names and user select the field name and input the keyword and then Click on search to retrieve matching records from that particular field.. … | |
Hi I want to extract all the names properties of the html form. I have 2 elements (Textarea and CheckBox) and I need to create 2 arrays with all the names of them, is to say, in the array1 all the checkbox names and in the array2 all the textarea … | |
When submitting an order on my booking form found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] the php file 'sendfile.php' is triggered and this sends booking details to my email account. This is the php code in 'sendfile.php' [CODE] <?php $Name = $_POST['name']; //senders name $to = "info@n-v-m.co.uk"; //recipient $subject = "Order from ".$_POST['company']." (".$_POST['name'].")"; … | |
Hello everyone, I am currently teaching myself language processing by using the book of NLTK -found at http://www.nltk.org/book - and I have a problem. The following code retrieves every sentence in Shakespeare's Macbeth respectively as a list of list of list -or something like that- format: from nltk.corpus import gutenberg … | |
From following string (without white space) as; String s= "<a><b>e</b></a>"; How can I get the following tokens; <a>,<b>,e,</b>,</a> Thanks for attention! | |
Hi, I have a structure defined in my header file as follows: [CODE] struct TestInformation { int TestPointer; // pointer to the selected test long TestPointerValue; // the value contained within the pointer long TestSize; // the size of a test char *TestText; // the text contained within a test … | |
I have created an Exams form which has all its control(1 txtbox, 2 combobox) binded to exams table (SQL Database). The form has a Datagridview which shows two column, Subject and OutofMarks(dats total mark assigned to a subject e.g. Subject [B]English[/B] is of [B]100 [/B]mark. The subject column of datagrid … | |
Hi! Sorry for my bad english. I need help. I have a code (it's long so here's short version) that will, when I click on the button 1 (input field 1 and button 1), make a new input field and button with new name (input field2 and button 2) and … | |
hi i am new to c++...i have a learnt a lot about the basics. i now want to procede to the graphics part. i dont know even a little bit of the graphics part....pls help me.. i am using dev C++ | |
So I have a program I need to make which involves an array. It builds fine and runs. Right now I just need to get the array to read in from file then print it on screen. But only a little over half the array prints (the last half). format … | |
Hi, Sorry it's me again :-O I am in the middle of creating a download/upload management script. Currently it has one upload method HTTP upload via HTML form which obviously is not good as users would be restricted by the PHP max upload size and script timeout issues and so … |
The End.