199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sachin.sonawane3

write a program to display a square root and cube of 1 to 10 number in a website using asp.net

Member Avatar for faheemsial
0
82
Member Avatar for alaad

Hello, I'm working an application with asp.net, but I have a problem in session.. I searched a lot about how to kill a session when browser closed but it has not any solution. Thanks for help.

Member Avatar for faheemsial
0
154
Member Avatar for AwaisAhmed88

I am working on a project, where we need to access multiple Web Forums API, I need a Generic way by using that I can get the User Data and Posts. For example these forums (nationstates, steampowered, simplemachines, StackOverFlow) provide their Api. So it is difficult to write 4 Methods …

Member Avatar for faheemsial
0
156
Member Avatar for coder91

Hi I am trying to export a gridview to CSV except i am getting an error due to some of the columns in the gridview not being visible. Was wondering if anyone knows how to fix this or a different way to export to csv. protected void gv_RowCreated(object sender, GridViewRowEventArgs …

Member Avatar for faheemsial
0
165
Member Avatar for sejalp26

package deviation; import java.util.Scanner; public class Deviation { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter n: "); int n = input.nextInt(); System.out.println("Enter " + n + " numbers: "); double[] x = new double[n]; int i; for (i = 0; i<n; i++) { x[i] = …

Member Avatar for sejalp26
0
284
Member Avatar for Priti_P

I am trying to autofocus the form's first field. but not able to. My scenario is, in first load it shows table with data.On this page a <a> link is given which does nothing but showForm="true" which shows form for adding data. Code is as below: // controller side angular.module('degreeCtrl', …

Member Avatar for DaniWebUser_1
0
808
Member Avatar for Mahesh_13

i have created one table dynamically using javascript & displaying on htmlpage in div tag, in that table i have 2 fields one is name & second is DeleteLink, one input textbox in html, my question is when i click on Name field the text on which i am clicking …

Member Avatar for DaniWebUser_1
0
171
Member Avatar for Nataliya_1

Filter and process data Download the file population.txt from webcourse. The file is a formatted text file with 3 columns: country, city and population. Read the file and create a short c program to do the following: a.display the name and the population of the city with the highest population …

Member Avatar for Moschops
0
216
Member Avatar for Zahid_6

Hi there, I am running a small business and want to build a database in Access. To keep record or my stock, invoice and payments (inward/outwards). Can you guys help me with it. I am not expert wih access but know a little of it.

Member Avatar for zahidmehmood
0
211
Member Avatar for afra afzal

#include <iostream> #include <string> using namespace std; { int counter=0; string Username; string Password; string InvalidUser; int opt; system("cls"); cout <<"\n\n"; cout << " ====== MEDICARE HOSPITAL LOGIN ======="; cout<<"\n"<<endl; cout<<"\n"<<endl; cout<<"\n"<<endl; cout<<" *** ****** ******* ************* **** *** "<<endl; cout<<" *** ******** ********* ************* ***** *** "<<endl; cout<<" *** …

Member Avatar for tinstaafl
0
261
Member Avatar for DS9596

Can someone check if I am doing these right please, thanks ? int a=3, b=5, x; x= a/b + b/a +a%b + b%a; cout << x; // x=0+1+0+1= 2 y=float(b/a)+ float(b)/a; cout << y; // y=1.6+1=2.6 z=a*b/2; cout << z; // z= 4 w=pow(b, a)+sqrt(a+b); cout << w; // w=125+2sqrt(2) …

Member Avatar for YarMak
0
250
Member Avatar for cambalinho

i can show an icon on notify area: NOTIFYICONDATA NID; //on main NID.cbSize = NOTIFYICONDATA_V2_SIZE; //if i use the NOTIFYICONDATA_V3_SIZE //the compiler enters on conflits NID.hIcon = test2; NID.uCallbackMessage = WM_USER + 1; NID.hWnd = a; NID.uID = 01; NID.uVersion=4; NID.uTimeout=500; NID.dwInfoFlags = NIIF_INFO; strcpy(NID.szInfoTitle, "Test Title"); //NID.hBalloonIcon=(HICON)test2;//no member strcpy(NID.szTip, …

Member Avatar for cambalinho
0
835
Member Avatar for DS9596

So I have this so far, not sure how to make dollars * e^(rate*time) #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { //declare identifiers double rate = 1; double time = 2; float dollars; float total=0.0; //initialize identifiers total= pow(exp(1.0), rate*time); cout << fixed << showpoint …

Member Avatar for YarMak
0
209
Member Avatar for jay.barnes

Hi, all I'm working with an aspx file that's supposed to check on a directory (on the same server the file lives on) to see if a file of a particular name exists. Based on its response, it's either supposed to create a link to that file, or, well, do …

Member Avatar for jay.barnes
0
191
Member Avatar for AntonyRayan

how to change the password for already existed user in php can anyone give me the sample code?

Member Avatar for AntonyRayan
0
294
Member Avatar for Gl753

Sorry for the misleading question guys, I know how to generate two random numbers but I want to use them in One JOptionPane input Dialogbox so the user can add the two numbers. Below is my code of what I have done so far I know it's not a lot …

Member Avatar for Gl753
0
518
Member Avatar for Search_not

I want to read text from a file and display it in the win32 Edit(ReadOnly). I am having problems converting from std::string to w_char*/LPWCSTR. The program reads the text from the textfile into a vector<std::string> object. I want to display each item in the vector on a new line inside …

Member Avatar for Search_not
0
906
Member Avatar for divinity02

hi all i am doing a programing and got stuck on two condition. here is the code that I have done so far. it is as far as i reach. for(int i=1; i<=3; i++){ System.out.println("please enter the employee id number"); emp_idnum = input.nextInt(); System.out.println("please enter the employee first name"); empfirst_name …

Member Avatar for divinity02
0
301
Member Avatar for ogsirus

Hi Guys, Im a bit puzzled on the best way to store data which will later be saved to a csv. I am doing a record search on a database table which will get cycle through each employee and get the relevent information. Once I have done this I will …

Member Avatar for deceptikon
0
337
Member Avatar for littlerockit

Hi I'm new to this site so please forgive me if this is the wrong forum. I am developing a program which takes data from a reader (impinj) and displays results on a form. The Datatable is filled on a separate thread to the main form, and as such I …

Member Avatar for littlerockit
0
507
Member Avatar for AntonyRayan

How to show multiple pictures in between a period of time. Can anyone give me with example?

Member Avatar for AntonyRayan
0
113
Member Avatar for harishprakash
Member Avatar for jessica_10

i want to hide the other button when i click the btnSnacks/btndrinks buttons: btndrinks, btnSnacks table: tbldrinks, tblSnacks [I use MS access] heres the code that i tried: ~[i use the same code in btnSnacks, i just replace the database with tblSnacks] Private Sub btndrinks_Click(sender As System.Object, e As System.EventArgs) …

Member Avatar for JZZZ
0
236
Member Avatar for Priti_P

Hello, I want to fetch database table in csv file format. I tried but in my output file every fethced line is getting printed on new line. code is as below <?php $host="a.b.c"; $uname="root"; $pass="test"; $database ="TEST"; $connection=mysql_connect($host,$uname,$pass); echo mysql_error(); // Fetch Record from Database $output = ""; $table = …

Member Avatar for Priti_P
0
226
Member Avatar for gangsta gama

Hello DaniWeb community! I am trying to learn c# by going through a few tutorials on how to make an RPG game game using windows form, but I cant seem to get the hang of making the create a character screen. I tried to get the value of a track …

Member Avatar for gangsta gama
0
383
Member Avatar for myk45

Hi All, I'm trying to use bools to sync between two threads. I cant' use C++11 and I thought mutexes would be slightly heavy for this. So, I do something like this: // ================================== // Thread A .. do some stuff .. // wait for signal. while (!signalFromThreadB) { pthread_yield(); …

Member Avatar for myk45
0
1K
Member Avatar for kazkuzzer007

I've been able to create a website, but I have not been able to create a secure website. What I want to ask, what are the vulnerabilities in a website and how to create a secure website? Thanks before

Member Avatar for hericles
0
103
Member Avatar for sciprog22

Hello, Thank you for your time! I am trying to understand the Quick Sort algorithm. I have some questions about the partition method. I found the following implementation online: import java.util.Scanner; public class QuickSorts { public static int partition(int a[], int left, int right, int size) { int pivot = …

Member Avatar for sciprog22
0
232
Member Avatar for UK-1991

Hello, I have just created a new page of form submittion but wanted to show different form value when different option is selected from the dropdown can any please help me out with this concirn. Here is my code <form method="post" name="form2" action="insert_report.php"> <label> <p><b>Campaign</b></p> <p> <select name="campaign"> <option value="">Select …

Member Avatar for kazkuzzer007
0
244
Member Avatar for panjiasmara

some month ago i work to make a interactive web with javascript but when i copy the project to my patner which use Apple Mac Pro then the interactive is not active. So i use another try change function showDiv(tahun){ document.getElementById(tahun).style = "display:none;"; } to function showDiv(tahun){ tahun.style.display = "block"; …

Member Avatar for Troy III
0
3K
Member Avatar for nadiam

Hello. The scenario is a div and in the div are multiple cloned images, its like a floor plan thing and I would like to save that into the database and i guess i would have to convert it into a pdf or something to do so. That pdf would …

Member Avatar for diafol
0
522
Member Avatar for Chris920

Hey everyone. Im creating a site and im trying to add a second RSS feed, even a third or forth if i can figure out how to do the second one first. The code bellow is in my index.html templeate. Its based off of Feedget. Im not sure how to …

Member Avatar for Chris920
0
260
Member Avatar for blueguy777

I am new for MySQL my tables structures are as follows Table: registration ---------------------------------- | cardNo | mainAgentId |subAgentId| ---------------------------------- | 100 | 1 | 4 | ----------------------------------- | 101 | 1 | 5 | ----------------------------------- | 103 | 2 | 6 | ----------------------------------- | 102 | 1 | 4 …

Member Avatar for 1stDAN
0
352
Member Avatar for Nation

I have a JTable that has four columns. In the second column I have assigned a JComboBox to be the cell editor of my column.The problem that I encountered is that I cannot handle the combobox the way I want. **What I want is that after a user select an …

Member Avatar for mKorbel
0
2K
Member Avatar for vinsbg

Hi, sorry for my newbie question but I can't understand what is the different between Logical and Conceptual database design. Can you provide me with some samples for those two types of design? Also what design is generated with MySQL Workbench for example when you import database schema? Is it …

Member Avatar for 1stDAN
0
928
Member Avatar for Jack_11
Member Avatar for 1stDAN
0
115
Member Avatar for gretty

Hello I am new to Java & I am trying to find ways(in built Java objects/ways) to parse HTML. Can you suggest some objects in the Java Standard Library? I have extended the object HTMLEditorKit.ParserCallback but when parsing a web pages' source code it literally takes 2 minutes or more! …

Member Avatar for olupotd
0
201
Member Avatar for Marz_1

Goodevening, I'm starting coding in C and I've done a little program to understand "struct" function, but... I receive this message: Segmentation fault: 11 I've understood a bit what this problem is about, but I can't understand where it borns on my program. Can you help me? I tank you! …

Member Avatar for Marz_1
0
208
Member Avatar for altjen

hey all. I'm designing a new software and working on login system with online database. this is the code that I wrote, it work well Mysqlconn.ConnectionString = "server=db4free.net;Port=3306; user id=****; password=d****; database=****g" Mysqlconn = New MySqlConnection Dim READER As MySqlDataReader Try Mysqlconn.Open() Dim Query As String Query = "SELECT * …

Member Avatar for altjen
0
244
Member Avatar for Ventech_IT

Hi guys just a quick question how do i send email from a form in codeigniter? I have searched and tried to get it right but it just keeps telling me that the page required could not be found? Here is my view: <div class="container"> <div class="row"> <div class="container"> <div …

Member Avatar for cereal
0
194
Member Avatar for PulsarScript

Here i have my deposit class: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace CollectionAccounts { public class DepositAccount : Account,IDisplayable { private double interestRate; public DepositAccount(string id) : base(id) { interestRate = 0; } public double InterestRate { get;private set; } public void AddInterest() …

Member Avatar for PulsarScript
0
144
Member Avatar for karan parmar

how to solve or make website in dual language with all content. i want make website in two language (Gujarati Or English). it can possible in single database?.how?. please give me proper logically solution. i can't understand that how to code it. thank you so much.

Member Avatar for Tony Timms
0
884
Member Avatar for Luffy

hello guys.. i hope you can help me for this codes.. im trying to make a program that will accept username and password in c++. im using turbo c++ ide 3.0 "not dev c++". here is my code.. but the problem is.., i want to use * to appear as …

Member Avatar for deceptikon
0
6K
Member Avatar for amogh.max

here is my code and i have tokenized the data in my .txt file.I want to insert them into a database. import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.StringTokenizer; public class test1 { public static void main(String[] args) { BufferedReader br = null; try { String sCurrentLine; br = new …

Member Avatar for JamesCherrill
0
299
Member Avatar for jayst19143

I'm having some trouble configuring "SEO friendly" Url's. I don't have access to IIS for a mod-rewrite. I'd like to have [url]www.foo.com/about.cfm[/url] translate to [url]www.foo.com/about/[/url] any suggestion? Again don't have IIS access. I'll also need it to work for non CF pages. If possible.

Member Avatar for AdrianChestnut
0
501
Member Avatar for wawahida

hello. is that possible to hide an empty table when there is no records found from the mysql database. if possible, how? i have no idea to do it. hope anyone can help me. below is part of my coding: <?php $count=0; include 'dbconnect.php'; if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) { $startrow …

Member Avatar for almostbob
0
2K
Member Avatar for kazkuzzer007

I try to display a pdf document with code like this: <?php session_start(); if (empty($_SESSION['nip']) AND empty($_SESSION['password'])) { ?> <script type='text/javascript'> alert('You must login'); document.location='../../../login.php'; </script> <?php }else{ include_once '../../../config/core.php'; include_once '../../../config/functioncollection.php'; $kode_materi=antiInjections($_GET['id']); $querambildata=mysql_fetch_array(mysql_query("SELECT * FROM materi_tb WHERE kode_materi='$kode_materi'")); $file = "../../../filemateri/".$querambildata['url_materi']; $filename = $querambildata['url_materi']; header('Content-type: application/pdf'); header('Content-Disposition: inline; filename="' …

Member Avatar for pixelsoul
0
331
Member Avatar for glao

Hello , I want to scan each row and find in each column the max element and the corresponding index. Then , swap this column with the column which belongs to the main diagonal ( if a condition is valid ). Finally , do the same for the rest rows. …

Member Avatar for glao
0
210
Member Avatar for nikc121

I have worked with HTML in the past, but am new to XML. I think my code is mostly correct however I cannot figure out how to fix the remaining errors. I think my brain is stuck on HTML mode. Any help would be great. This form just has to …

Member Avatar for efremmc1
0
246
Member Avatar for GGGraham

This tutorial is meant to be a helpful guide in order to successfully **create a tripwire application in C# which can be used for security purposes.** At the beginning you can find the background information to be fully familiar of the subject of this implementation. After this, we will put …

0
291

The End.