199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Khaliunaa

it means if user insert "n"(number of case) in textbox than click the "Next" button, in datagridview set to "n" number of rows. i don't know what code i use, please help me, please check attach file, thank you so much

Member Avatar for Khaliunaa
0
4K
Member Avatar for UI

Hi, This is a basic cURL web proxy script. Why is it showing weird array pattern looking errors ? <?php function CURLGetURL($url){ // use CURL to make request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); // the url to retrieve curl_setopt($ch, CURLOPT_HEADER, 1); // return the header along with body curl_setopt($ch, …

Member Avatar for UI
0
416
Member Avatar for UI

Folks, Why do I keep on getting this error when everytime I input a url in the url field in the following web proxy script: **"The specified URL could not be returned due to a status code of 400."** It says unless the Status Code is 200 then to show …

Member Avatar for UI
0
403
Member Avatar for UI

Folks, I'm listing here all the Viral Traffic php scripts I am coming across so you guys can check them out for any purpose. I am hunting them for code learning purpose. You might learn a few tricks of the trade yourselves if you peep on the source codes. **I'd …

Member Avatar for UI
0
565
Member Avatar for UI

Howdy Pros! If I was going to just track which urls from my own domain get clicked then I know how to do it. On everyone of my links, I'll just add my tracking url, like so: http://mydomain.com/?tracker.php But like I said, I want to track what my users do …

Member Avatar for UI
0
1K
Member Avatar for kaksbrian

How do i solve the error that originates from the below code. DataSet info1 = this.GetData.getInfo("SELECT 0 AS EmpNo,Er.EmpID,(Er.FName&''&Er.LName) AS [Employee Name], Ed.DeptNo AS [Department No],Er.Gender AS [Sex] FROM (EmpRegist AS Er INNER JOIN EmployeeDept AS Ed ON Er.EmpId = Ed.EmpId) WHERE Ed.DeptId=" + (object)DpetID + " AND Ed.Status=0 AND …

Member Avatar for ddanbe
0
273
Member Avatar for Zulhilmi_1

hye, i have a question about listview checkbox, recently i have tried to do a checkbox inside listview and its print well. but the result are not as i want, what i want is the checkbox is save the item to text file base on which checkbox is checked first. …

Member Avatar for Nutster
0
315
Member Avatar for can-mohan

In below code while compiling i am getting error , Error : main.cpp:8:57: error: expected type-specifier before ‘Staircase’ std::unique_ptr algodiagnostic (new Staircase()); compilation command g++ HardwareDiagnostic.cpp HardwareDiagnostic.h main.cpp -std=c++0x -o res it works fine if compile entire code in single file without creating header file and main.cpp separately. Can anybody …

Member Avatar for Coller
0
7K
Member Avatar for tenten..

hi, i have problems here. i have two textbox: textbox1 and textbox2 : Order and Buyer. i want to make if user type order in textbox1 and they click enter or using mouse click, the buyer based on order will appear in textbox2. how to achieve this in asp.net webpage …

Member Avatar for Web-Designer
0
416
Member Avatar for Bacchus_1

I am rather new to Normalization. I understand the concept of how it organizes the tables but I fail to see how I can use the data to show up correctly in my query using pdo. I have 3 tables: employees: id | name 1 user1 2 user2 2 user3 …

Member Avatar for Web-Designer
0
1K
Member Avatar for seularts

Hi, I'm back ^_^ Ok, I almost have this cute thing working. I know I am close but I have no idea how to get this working the right way. I am Left Joining a few tables and I want to filter the results after multiple values. ...... Ex: Options …

Member Avatar for Web-Designer
0
271
Member Avatar for JohnMcPherson

Hello, I work at the U.S. Department of Labor, on the Unemployment Insurance program. I am working on developing a new Benefit Financing model for the state of Oregon, and I am having an issue with passing a struct between mutiple .c and .cfn files( the .cfn files are for …

Member Avatar for JohnMcPherson
0
637
Member Avatar for Saboor880

hi ! I am developing a pos software for desktop. I am using java derby database for this. I have developed a feature for purchasing items and also a feature for analyzing purchases so that the user can view that what, when, how much he purchased. I am using two …

Member Avatar for Saboor880
0
225
Member Avatar for Saboor880

Hi! I am developing a pos for a store. I have created a settings window. On this window there is a button which is used to set a name for store. When user press this button a message dialog appears with a text field and a OK button so that …

Member Avatar for Saboor880
0
1K
Member Avatar for Kalpna_1

We are facing an issue to bind the selected coordinates of polygon using ArcGIS Javascript library on page load. The same issue we are facing with all geometry types. Please help us to bind the selected coordinates. We are able to find out the coordinates and save them in database. …

Member Avatar for rproffitt
0
469
Member Avatar for gajen007

Hi Friends, Recently I've experienced an issue in my (following) code. I've designed an array-stack and checked the values pushed in to it. It works well when pushing but when popping it doesn't display the whole popped values. E.g: If I pushed the values "zero to nine" in to the …

Member Avatar for rproffitt
0
328
Member Avatar for Tom_23

i wrote a code that will asks the user to enter a sentence and store the string in a dynamic array. copy the content of the old dynamic array into the new dynamic array and the while loop keeps going and asks the user to enter something new again and …

Programming c++
Member Avatar for Coller
0
3K
Member Avatar for Faez_1

#include<iostream> using namespace std; main() { int numGame,numSocks,numShoes; int countX = 1,countY = 0; float tempGame = 0,tempSocks = 0,tempShoes = 0,GrandTotal = 0; float totalP,priceGame,priceSocks,priceShoes; cout<<"Welcome to Numbani Bowling Arena Transaction System.\n"; cout<<"Please fill in the required sections below.\n"; cout<<"---------------------------------------------------------\n"; while( countX > -1 ) { countY = countY …

Member Avatar for thines01
0
218
Member Avatar for Khaliunaa

How to can i do like this: datagridview1.row [i] = input value , and results(calculated) in datagridview2's row[i] = output value. it means input row and output rows are neeb to be same. i need to connect them. please help me.

Programming asp c vb.net visual-basic
Member Avatar for ddanbe
0
389
Member Avatar for Khaliunaa

1.PLease help me, How to call input values from datagridview.(unlimited rows) I tried this coding, but it's not working, didn't show any answers. private void dataGridView10_CellContentClick(object sender, DataGridViewCellEventArgs e) { for (int i = 0; i < (dataGridView10.Rows.Count); i++) { DataGridViewRow row = dataGridView1.Rows[i]; groundproperty[0] = Convert.ToDouble(dataGridView10.Rows[i].Cells["Column1"].Value); groundproperty[1] = Convert.ToDouble(dataGridView10.Rows[i].Cells["Column2"].Value); …

Member Avatar for ddanbe
0
748
Member Avatar for chrisschristou

hello everyone gld this community exist ! i'm facing new problem with apache2 on ubuntu i'm using lamp from yesterday and everything works fine knowing that i'm originaly from windows ! so when i type `gksu service apache2 start` in terminal and then put my password, when i refresh localhost …

Member Avatar for rproffitt
0
2K
Member Avatar for William Hemsworth

Hi all, I'm a very early user of Daniweb, and after a long break, and I'm hoping to participate a bit more in this forum again. I'm here specifically for some advice before starting a new project of mine. I'm an experienced C++ / Win32 developer, but seem to be …

Member Avatar for rproffitt
0
437
Member Avatar for Stefce

Hi everyone. I want to make when i press a button to showup a dialog but page to not refresh or if refreshes to showup after that. i have this code but the dialog is going away after clicking the button <form action="" method="post"> <div class="col-xs-4 col-md-4"> <a href="<?= $Link …

Member Avatar for Stefce
0
304
Member Avatar for shivya_1

Hello to all, I am facing an issue in registering values into database through php. Many times i have done the same but i don't know why i am unable to do this now. Since from 2-3 months, I have not done anything in php.Please help me out.. <?php include("config.php"); …

Member Avatar for cereal
0
315
Member Avatar for facarroll

I have the following script which successfully finds the values for $payer_email, reminder_date and sub_expire_date, however where I am having trouble is when I apply a WHERE condition to the SELECT. The condition I am trying to apply is the commented out line at the end of the SELECT. The …

Member Avatar for facarroll
0
278
Member Avatar for Badulla

i have wrote this program which uses binary search to search for a desired word and which displays the word along with the meaning of that particular word.but each time i print the data that the arraylist contains it just print the word being search but not the meaning of …

Member Avatar for JamesCherrill
0
365
Member Avatar for bea_1

write java a program that finds the longest substring without repeating characters in a string

Programming java
Member Avatar for JamesCherrill
0
232
Member Avatar for Mirty

I need instructions on implementing a houghes circle code using android studio to an app. I do not know where to put everything and need detailed instructions on how to create the app and save it onto an android device. iCannyUpperThreshold = 100; iMinRadius = 20; iMaxRadius = 400; iAccumulator …

Member Avatar for Rajan_7
0
268
Member Avatar for Iamateur

Hie,I have Merge Sort Program .It's giving correct output but when checked through debugger it gives different values everytime.I also tried doing it manually but I am not getting the actual output. I will not ask now for complete program explanation. I just want to know the value over here.This …

Member Avatar for rproffitt
0
388
Member Avatar for Petreanu

so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already …

Member Avatar for AndrisP
0
319
Member Avatar for seularts

I want to search a combination of values from any given field that has a list of items. Example: id | nume | denumiri_job 1 | my_list | chair,apple,snake,can How can I search for 2 or more elements from the field list? For example if I input in my search …

Member Avatar for diafol
0
6K
Member Avatar for KushMishra

Hi Everyone, I started creating a new WPF project wherein, I have just added a style to all the elements of type "Window" and "Grid" but none of these are working (rather a wierd black box is apprearing - Screenshot attached). **NOTE:** I do not want to use "x:Key" for …

Programming asp.net vb.net
Member Avatar for rproffitt
0
2K
Member Avatar for aditya_23

cd D:/ #Extract Author information java -jar svn-migration-scripts.jar authors $SVNURL > authors.txt #Clone the SVN Repo git svn clone --stdlayout --authors-file=authors.txt $SVNURL SVNAsGIT #Clean the new GIT repository java -Dfile.encoding=utf-8 -jar svn-migration-scripts.jar clean-git --force #Update the authors file git config svn.authorsfile authors.txt> #Clean the new GIT repository java -Dfile.encoding=utf-8 -jar …

Member Avatar for aditya_23
0
998
Member Avatar for G_Waddell

Hi, I've recently "inherited" a part built project from a developer who as left our company. He had decided to use Entity Framework but I am finding it to be unstable and slow. I periodically have to reimport objects and stored procedures from the database as the model gets corrupted. …

Member Avatar for Aleksey_2
0
4K
Member Avatar for mohamed_91

write a program in assembly that do the following: 1-ask from the user to choose the system of numbers(binary,hex,oct,dec) 2-then ask from the user to insert two values and mathematic operator ex: val1=any number not more than 8 bits. operator= (multiplication)or(division)or(-,+,^) val2=any number not more than 8 bits. 3-then do …

Member Avatar for thines01
0
239
Member Avatar for Maichel_1

Hello, I have make a ERD. And there is a case. Can someone look to this both? Did I forget something? Would anything else have to be done? my case is: A hotel guest can be a main guest or a travel companion. Only a major guest can book and …

Member Avatar for rproffitt
0
244
Member Avatar for amit_44

I want to develop project on the mcq based quiz in vb.net in that i want to provide four radio button and user will select one when he will click on one answer the system will display the answer is correct ot not and when he will complete the exam …

Member Avatar for rproffitt
0
285
Member Avatar for Raju_3

I am building an e-commerce website i found one error in last night in my site Error: If user enters the zipcode in zip code field & without clicking on CHECK OR GO Button, when he clicks on ADD TO CART button then products are getting added in Shopping cart. …

0
606
Member Avatar for Krunal_3

Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both …

Member Avatar for KushMishra
0
297
Member Avatar for KushMishra

Hi All, I would appreciate if someone could please answer to the following queries. 1. Difference between "new" and "new virtual" when deriving classes from other classes. 2. Difference between Abstarction and Encapsulation (with example, if possible). 3. Types of constructors and their implementations (when and how to use). 4. …

Member Avatar for KushMishra
0
381
Member Avatar for patk570

So i have a simple script nothing to big, but im already getting an unexpected "updateTime" $sql = "UPDATE users SET last_login = NOW() "; $updateTime = $this->db_connection->exec($sql); THis is my first time using PDO and I am already getting errors after 2 lines...

Member Avatar for jstfsklh211
0
285
Member Avatar for benbee

This program should calcuLate users amount of watts consumed based on their appliances and the aprroximate number of hours each appliance is used in a day, week or month. The basic requirements are as follows: Give user option of selecting predefined home appliances or entering their own and corresponding watts …

Member Avatar for luff
0
775
Member Avatar for Doogledude123

A couple questions before I even attempt this project... Is it possible to create a VoIP application in Java? Is it posssibe to do this using standard libraries? If you can't make one with standard libraries, which libraries are needed to accomplish this? Also, is this a good Introduction to …

Member Avatar for Nagy
0
2K
Member Avatar for batuzai04123

Hi, I'm starting to learn Java EE - JSP / SERVLET and as for my learning progress, I'm trying to achieve this kind of web app but Im having problem with displaying the right selected row (TASK ID Column) from my table. It is populated from my oracle db. Im …

Member Avatar for Om_3
0
16K
Member Avatar for divinity02

hi all I am trying to build a registration form using the bootstrap, design, and I am stuck. i am stuck where the date of birth. it used the drop down list in bootstrap but where I am stuck at is getting it to be side by side on the …

Programming
Member Avatar for patk570
0
284
Member Avatar for Stat_1

XML File :http://goalserve.com/samples/soccer_inplay.xml Model: [XmlRoot(ElementName = "localteam")] public class Localteam { [XmlAttribute(AttributeName = "name")] public string Name { get; set; } [XmlAttribute(AttributeName = "goals")] public string Goals { get; set; } [XmlAttribute(AttributeName = "id")] public string Id { get; set; } } Controller: XmlDocument doc = new XmlDocument(); List<Localteam> s …

Member Avatar for rproffitt
0
1K
Member Avatar for ben.juarez.773

Hello! I am looking for some help, and have provided the code. I'm just trying to do some simple stuff. I'm trying to create a simple game without using classes (but using lists). What I'm trying to do is create collision detection among list objects ("bullets" and "baddies"), as you'll …

Member Avatar for a_9
0
714
Member Avatar for Adm666

im trying to make a loop that asks a command from stdin and checks if it's valid or not, and the command for example will be in this format : Command then seperated with any amount of spaces then a Letter then comma then a double a comma and a …

Member Avatar for Nutster
0
392
Member Avatar for Stat_1

I wont to display other results according to one row: Country>>League HomeTeam AwayTeam Result **Italy>>Seria A** Juventus Inter [1-0] Inter Barcelona[2-0] **Albania>>Kategoria Superiore** Tirana-Kukes [2-1] What i have done till now displays this: **Italy>>Seria A** Juventus Inter [1-0] **Italy>>Seria A** Inter Barcelona[2-0] **Albania>>Kategoria Superiore** Tirana-Kukes [2-1] @foreach (var item in …

Member Avatar for Stat_1
0
332
Member Avatar for Alex_65

Hello All; I am trying to make a copy of a file in another file using C. But the content of the file should be repeted the quantity of times of the lines of a third file { int num = 0; int x; char cont; FILE *file; file = …

Member Avatar for Joris Claassen
0
327

The End.