199,114 Archived Topics
Remove Filter ![]() | |
i'm trying to hide EDIT button in a column when i click it but it doesn't. Actually, i manually created EDIT button in gridview, it worked :) but now after clicking edit button i want it to disable so i can put UPDATE button while editing. i tried but it … | |
Hello, How would I be able to do an onClick to take a value from a link and put that into a form field in another form located in a different browser window with a different url? For example: window 1 /browser A <a href="#" onClick="takeThisValue();">thisIsTheValueIwantToUse</a> window 2 /browser B … | |
My android widget for OIS(online information system for our college) project is going on.While i work on my ideas regarding this i wanna make it unique by adding some interesting and new features which was never used in our college OIS. Following are my ideas.By now i have developed the … | |
one thing that i have been searching since many days that confuses me is that the difference between ONCOMMNAD and ONROWCOMMAND, Oncommand methid use parameters like "DELTEROW" EDITROW while ONROWCOMMAND uses DELETE, EDIT etc and both send different kinda objects like one send GridviewEventargs type object while another sends commandeventargs, … | |
I have built a simulation of real space rovers. My current implementation for the first rover looks like this // a 6 wheel-rover public class Rover1 { private Joint joint1; // discrete rotation -- for steering private Joint joint2; // continous rotation -- for wheel private Joint joint3; // discrete … | |
This is what the assignment is: (Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to write an application to assign seats on each flight of the airline's only plane (capacity: … | |
I am trying to use the values from numericUpDown boxes. With the execptoin of totalRunTime, all variables in this sample of code are from numericUpDown boxes. I have tried declaring totalRunTime as an int, decimal, double, ect... Am I missing something simple here? private void button1_Click(object sender, EventArgs e) { … | |
This function always returns `FALSE`: function rank($applicant_id_number = 0) { $this->load->model('advert_model'); $application = $this->advert_model->get_applications(); // $user = $this->flexi_auth->get_user_by_identity_row_array(); $rank = 0; $sql1 = "SELECT * FROM applicant_details"; $results = $this->db->query($sql1)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $key => $applicant) { $applicant_age = $applicant->age; $applicant_id_number … | |
private void Form1_Paint(object sender, PaintEventArgs e) { String theString = "A"; SizeF sz = e.Graphics.VisibleClipBounds.Size; e.Graphics.TranslateTransform(sz.Width / 2 ,sz.Height / 2); e.Graphics.RotateTransform(angle); angle++; sz = e.Graphics.MeasureString(theString, this.Font); e.Graphics.DrawString(theString, this.Font, Brushes.Black,-(sz.Width/2),-(sz.Height/2)); } I dont understand the last part with the DrawString(). The 2 last arguments of the method specify the location … | |
I need to create a Java Temperature converter. I have everthing working except when I try to convert F to C I get nothing except the value in F field is changed to 32. The conversion for C to F is working fine. Any ideas what it coudl be?? import … | |
when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; … | |
Hi before adding `<!DOCTYPE html >` to my html, my javascript code is working fine. But by adding this to my html, the below part of the code is not working div.style.left=x; div.style.top=y; i am not able to set left and top values to an element. What could be the … | |
Hello, thing is Im doing my systems engineering internship in the systems department of a mall... the manager told me about a project they have in mind... and intranet were store owners can communicate with the mall to report problems and inform of payments. On this intranet, different departments of … | |
Is it possible to make some Junit tests that assertTrue (condition, throw some exeption) if condition was false or if condition would throw something, say assertEquals (codition, new Excepption) ? | |
Hi, I have code like this, public void method1(){ ArrayList<String> list=new ArrayList<String>(); list.add("A"); list.add("C"); list.add("D"); for(int i=0;i<list.size();i++){ if(i==0){ new Test().addB(list); } } System.out.println(list) } public void addB(ArrayList<String> list1) { list1.add(1,"B"); System.out.println(list1); } output: List1: A,B,C,D List : A,B,C,D I Expected this Result: List1: A,B,C,D List : A,C,D Why List1 is … | |
i am using MYSQL as my database. Due to i have multiple selection of categories one of them is `Others` Once the user selected the `Others` it will shown a textbox which let the user to input a new category. But now i have problem is how can i add … | |
 Recently i'm just created a new gmail account just for my project purpose. But when i performing there is a feedback from end-users.. the email address of the sender is my new gmail account? According to MailMessage `MailMessage(SENDER, RECEIVER)` am i right? but how come i am can't … | |
My problem is "How to upload the image, while uploading store the filename with the extension in the database and while retrieving the image filename should be taken from the database and file should be taken from corresponding folder" ? | |
hi all, i have written a shell-script which logs onto a mail-server using telnet and then tries to send the HELO command. The code for the same looks something like this: [code] exec telnet 150.236.18.66 25; echo "HELO"; [/code] The problem is that though the telnet connection is established the … | |
can someone maybe explain to me how the reply to property works, i want to give it an email address like this "message.replyto("ReplyAdd")", but it doesnt seemd to work. and the replytolist in the code also dont work i get this error when i put in breakpoint on it "count … | |
delete hash from users where email='emailaddress@hotmail.com'; Why is the above line not working? I want to delete the value in the hash column in the row the contains the specified email. | |
In this exercise, you will create a program that adds, subtracts, multiplies, or divides two integers. The program will need to get a letter (A for addition, S for subtraction, M for multiplication, or D for division) and two integers from the user. If the user enters an invalid letter, … | |
I have started a program that should be able to do basic cryptography functions such as reassigning letters to different letters. How I did this was by coverting each letter to an ASCii value and then storing them in an array. I am working with only the lower case letters … | |
Good Morning, I am after some help, I am still fairly new to php development so apologies if this one has been answered before, I have been tasked to build an email migration tracker that automates emails, this part I think I have covered, one part I am not sure … | |
i am using the odbc data sources ( created from the control panel --> administrative tools --> odbc data sources ) to connect the crystal report to my access database . all things good and the data sources works like a charm , till i discover that generating the report … | |
Hi Guys Been searching around and cant belive it but have not found a tutorial on this what I want to have is a calendar that I can save appointments on I know the monthcalendar in the tool box but i'm looking for some code to save appointments and display … | |
plz help me to create a code in PHP the INSERT operation is used with a Class which inserts data and go into the database. | |
When [Exponential Interactive](http://exponential.com/), an advertising intelligence provider, analysed the actual behaviour of more than two million Brits viewing Grand Theft Auto content online, the [results](http://meteorpublicrelations.com/wp-content/uploads/2013/10/GTA-insights-from-Exponential.jpg) were rather surprising.  Here are the key conclusions: The GTA audience are 33% more likely than the average internet user to have children; … | |
What is the usage of "**preg_replace('/\\x13\\x00*$/', '', $plain_text);**" ? | |
Okay, I feel like I busted something in my head because I can't figure out anything in Java anymore! I just confused the crap out of myself, and I can't seem to get back on the horse. What I'm trying to do is read from a text file to create … | |
Hi, I am new to daniweb. I have some clarifications, please give your suggestions. I need a floating image in my website. When the user scrolls down the image should come down. If the user scrolls up, the image should go up. Pls let me know how to do this … | |
This method is supposed to reverse a stack by making a new stack and pushing popped items from this stack to the revertStack and then returning the reverted stack. When I run some tests, it returns an empty stack in stead. Any clues? public LinkedStack<E> reversed() { LinkedStack<E> revertStack = … | |
If I have a chess board 8x8 And in my copy constructor I want to deep copy it. How would I go about doing it? This is what I have: public class chessBoard { private Chess[][]board; public chessBoard (){ board = new board[8][8]; for (int i = 0; i < … | |
I want to know how can I trigger an event or at least display it in a Datagrid from database. Here's the scenario: DateFile Plate Driver EmpID OdometerBefore OdometerAfter 9/25/2013 ABC123 Jared 00369 4000 8000 9/27/2013 DEF456 John 00246 3000 8000 10/9/2013 ABC123 Jared 00369 8000 14000 10/9/2013 DEF456 John … | |
i do addition for 2 variable but i get only the second variable as done <?php $totalpay= ($row_panier['prix']+$shipping1);?> <input name="total" type="text" value="<?php echo $totalpay; ?>" readonly> only the number of $shipping one is show on navigator ![]() | |
Please i need help on how to set php time to GMT +1 below is my code which reads +2 <?php // Displays in the format Saturday, November 22, 2003 11.38 echo date("l, F d, Y P:h:i:A:e" ,time()); ?> | |
hai friends, is it possible to generate barcodes using java....???? if it is possible how can i do that......??????? please give information about the how to developing barcode generator using java please any one can give solution for this.. | |
Remarque the hand punch is connected to the network throug a converter from serial to network , so i need to connect the port and the ip at the same time , any help ? | |
![]() | CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= … |
Good Day everyone I have 3 forms index.html , parent.html and popup.html just wondering how can i close parent.html and redirect it to index.html when the popup.html submit button is click? i already tried searching on google but i cant get any clear solution on how to achieved it. i … | |
Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice. | |
Hi Guys, I hope everyone is doing great:-) I have a question... How To check if datatable is empty or no data is inside a datatable yet? Can you provide me with just code snippet?.. Thanks:) | |
Code the keypress event of the textboxes. Allow numbers, the backspace key, and the decimal point. Only write the code once and use Handles. Answer Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress End Sub | |
Code the keypress event of the textboxes. Allow numbers, the backspace key, and the decimal point. Only write the code once and use Handles. Private Sub TextBox1_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox1.KeyPress If e.KeyChar = ControlChars.Back Then MessageBox.Show("error") e.Handled = True End If End Sub | |
Compute the Sub total ( Beginning Balance + Deposits – Withdrawals) d. Compute the Interest Earned. If the Subtotal is greater than 5000.00 the interest rate is 2 percent otherwise 1 percent. e. Compute Endin g Balance (Sub Total + Interest EarneD) Display the Interest Earned and Ending Balance in … | |
Hey everyone, So awhile back I built a program that contained a function to merge two databases (well SQLite ones that are read in as Lists). When the first database is read in, well the file, it's read into a Binary Search Tree, while the second is read into a … | |
like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws … | |
Hey Guys! So i've been thinking about how to make this program which involves a person Logging on and gettings certain information and statistics throught the website. A good example and also something i've been wanting to do is use this page: http://puu.sh/4IEkQ.jpg to get the information below. How can … | |
>I am trying to write a proram that will search for character or letter and count how many times that character appears. The user will enter a phrase in a text box then press the search button, then an Inputbox will appear asking the user to enter a character. then … | |
Good day! I would like to ask on how to reverse arrays and putting it on another array of char? string str; int k=0, count = 0,namelength, acc=0; char name[80]; char extract[80]; char reversing[80]; for(int j=0; j<strlen(extract);j++){ reversing[strlen(extract) -j]= extract[j]; } for(int w; w<=strlen(extract);w++){ cout << reversing[w]; } Is it … |
The End.