199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HunainHafeez

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 …

Member Avatar for JorgeM
0
180
Member Avatar for corestaples

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 …

Member Avatar for JorgeM
0
277
Member Avatar for sash_kp

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 …

Member Avatar for sash_kp
0
101
Member Avatar for HunainHafeez

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, …

Member Avatar for JorgeM
0
651
Member Avatar for ikel

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 …

Member Avatar for ikel
0
237
Member Avatar for ZombieKnight93

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: …

Member Avatar for ZombieKnight93
0
7K
Member Avatar for Triryche

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) { …

Member Avatar for Triryche
0
1,000
Member Avatar for renierdbruyn

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 …

Member Avatar for broj1
0
259
Member Avatar for castajiz_2

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 …

Member Avatar for castajiz_2
0
598
Member Avatar for jess_35

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 …

Member Avatar for JamesCherrill
0
283
Member Avatar for younes.keraressi

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; …

Member Avatar for younes.keraressi
0
180
Member Avatar for yaragalla_mural

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 …

Member Avatar for yaragalla_mural
0
114
Member Avatar for cachapita

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 …

Member Avatar for AcmeUK
0
143
Member Avatar for woomar

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) ?

Member Avatar for somjit{}
0
215
Member Avatar for sasikrishnasamy

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 …

Member Avatar for JamesCherrill
0
307
Member Avatar for gahhon

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 …

Member Avatar for gahhon
0
186
Member Avatar for gahhon

![732d22f08a80a7b16757c3d9f59f5454](/attachments/large/3/732d22f08a80a7b16757c3d9f59f5454.jpg "732d22f08a80a7b16757c3d9f59f5454") 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 …

Member Avatar for gahhon
0
132
Member Avatar for sriramkarthick

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" ?

Member Avatar for 203428
0
264
Member Avatar for subhashmedhi

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 …

Member Avatar for Tabsy
0
2K
Member Avatar for tieties

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 …

Member Avatar for Begginnerdev
0
246
Member Avatar for lewashby

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.

Member Avatar for pritaeas
0
100
Member Avatar for mohammed.alrasheed.353

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, …

Member Avatar for bradly.spicer
0
302
Member Avatar for toxicandy

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 …

0
72
Member Avatar for urbanthistleuk

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 …

Member Avatar for urbanthistleuk
0
220
Member Avatar for elie.karkafy

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 …

Member Avatar for Begginnerdev
0
219
Member Avatar for maori

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 …

Member Avatar for maori
0
106
Member Avatar for annyangel

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.

Member Avatar for annyangel
0
123
Member Avatar for happygeek

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. ![ae2cdc7c96447a4e0d6acabda34a5cbd](/attachments/large/0/ae2cdc7c96447a4e0d6acabda34a5cbd.jpg "ae2cdc7c96447a4e0d6acabda34a5cbd") Here are the key conclusions: The GTA audience are 33% more likely than the average internet user to have children; …

0
308
Member Avatar for sriramkarthick

What is the usage of "**preg_replace('/\\x13\\x00*$/', '', $plain_text);**" ?

Member Avatar for n21115
0
268
Member Avatar for Hanyouslayer

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 …

Member Avatar for JamesCherrill
0
346
Member Avatar for SUNDARESAN.R

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 …

Member Avatar for SUNDARESAN.R
0
176
Member Avatar for Pyler

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 = …

Member Avatar for JamesCherrill
0
223
Member Avatar for woomar

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 < …

Member Avatar for JamesCherrill
0
753
Member Avatar for jared.geli

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 …

Member Avatar for jared.geli
0
175
Member Avatar for chrisschristou

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

Member Avatar for diafol
0
82
Member Avatar for Waado

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()); ?>

Member Avatar for RCrizt
0
128
Member Avatar for mani_1991

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..

Member Avatar for stultuske
0
216
Member Avatar for elie.karkafy

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 ?

Member Avatar for elie.karkafy
0
336
Member Avatar for andrew.mendonca.967

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 <= …

Member Avatar for tinstaafl
0
249
Member Avatar for ehpratah

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 …

Member Avatar for ehpratah
0
84
Member Avatar for iFrolox

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.

Member Avatar for iFrolox
0
225
Member Avatar for ReyJEnriquez

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:)

Member Avatar for ReyJEnriquez
0
2K
Member Avatar for ariannas

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

Member Avatar for ariannas
0
158
Member Avatar for ariannas

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

Member Avatar for Ancient Dragon
0
159
Member Avatar for ariannas

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 …

Member Avatar for tinstaafl
0
125
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
0
214
Member Avatar for HunainHafeez

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 …

Member Avatar for JorgeM
0
766
Member Avatar for Ahmed.C

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 …

Member Avatar for Ahmed.C
0
244
Member Avatar for joester007

>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 …

Member Avatar for joester007
0
250
Member Avatar for laklaker

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 …

Member Avatar for Ajit_2
0
262

The End.