64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for daniel36
Member Avatar for LastMitch
0
183
Member Avatar for HunainHafeez

I wrote Javascript (Jquery) script in Mater page for 2 radio buttons in content page mean i have 2 radio buttons , which show or hides div in content page and the script for it is in MASTER PAGE but it isn't working :( but if i copy Script form …

Member Avatar for HunainHafeez
0
215
Member Avatar for soujanya.bhat.184

I am new to programming.I have written this code which arranges the words in reverse order i.e., if input is "I Am Sad" output should be "Sad Am I" but am not able to get where i am going wrong so plz help me. here is the code #include<stdio.h> #include<string.h> …

Member Avatar for deceptikon
0
146
Member Avatar for Lardmeister

To print on the same line Python2 uses print item, Python3 uses print(item, end=' ') Is there a way to make it work in both versions?

Member Avatar for Ene Uran
0
246
Member Avatar for mgn2683

I have a contact form that is using a Send Form php file to validate and then send an email with the form contents. The area I am having issues is debugging an error, I believe it is coming from the dropdown selection in my form. The page can be …

Member Avatar for mgn2683
0
290
Member Avatar for MaddTechwf

I have a GridView called GridView1. I want to load it based on a ButtonTest being clicked. When the button is clicked, I need to do a SQL retrieval of data and popuplate the GridView with it. I can write the SQL code to get the data but I wasn't …

Member Avatar for MaddTechwf
0
112
Member Avatar for jalpesh_007

I have made one program that work on hash map. I want to do one thing. All the tuples(row) with defined quasi identifier location having value >=k will be moved from map m1 to asMap and it also removed from m1. So at last i am printinf the output of …

Member Avatar for NormR1
0
248
Member Avatar for kerek2

Hi, Tq for ur support before.... I got some stuck here regarding how to make my text file write a new line for each input from textbox.. E.g :- I have a one textbox1 , when i insert any value in textbox it will save into my textfile. .. but …

Member Avatar for lebo.bytes
0
2K
Member Avatar for cristian.stilpeanu.3

Hi, i have a problem of some days. I'm working to a website but when I installed it I have a very noticeable error page, I wrote: "Notice: Notice: Undefined index: user_name in C:\xampp\htdocs\index.php on line 118" How can I get rid of this writing. Thank you! It is a …

Member Avatar for pritaeas
0
276
Member Avatar for code739

echo prev($result_row).'prev-'; echo curent($result_row).'cure-'; echo next($result_row); hi fellas as what you see above i print them all actually they were inside a foreach loop wahat i expect i they will print all but the firstline is the only one which appear what i observed is only one line out of …

Member Avatar for code739
0
153
Member Avatar for HunainHafeez

i have an html table which has asp.net textbox controls , total 50 boxes , so these all needs "Field Required" validators but it would take alot of time to do so and also i dont want the validation error message to appear next to each box, i want them …

Member Avatar for HunainHafeez
0
86
Member Avatar for HibaPro

i use this Update code to update my record but i get this error msg : Dim con As New SqlConnection con.ConnectionString = My.Settings.TenderingSysConnectionString con.Open() Dim cmd As SqlCommand = con.CreateCommand() cmd.CommandType = CommandType.Text cmd.CommandText = "update BOQDetailEntry set BOQDetailEntry_ID=@BOQDetailEntry_ID, ProjectTenderingNO=@ProjectTenderingNO,BOQSection=@BOQSection,Part=@Part,BOQITEM=@BOQITEM,BOQItemNo=@BOQItemNo,Description=@Description,Unit=@Unit,BOQTY=@BOQTY,ReferenceDrawing=@ReferenceDrawing,ReferenceSpecifications=@ReferenceSpecifications where BOQDetailEntry_ID=@BOQDetailEntry_ID" ' BOQDetailEntry_ID=@BOQDetailEntry_ID cmd.Parameters.Add("@ProjectTenderingNO", SqlDbType.NVarChar, 50) cmd.Parameters.Add("@BOQSection", SqlDbType.NVarChar, …

Member Avatar for G_Waddell
0
472
Member Avatar for Sasquadge

Hey guys I'm new to programing and I made a program to solve quadratic formula but it doesn't work with imaginary numbers when the number is negative I get something like this -1.#IND. What can I add or adjust in my code to help get the program to show imaginary …

Member Avatar for rubberman
0
3K
Member Avatar for FUTURECompEng

I have the user input a sentence (example " Hello this is some jello "). I already have that complete by having a method to do this. What the method does is take a user input (.nextLine) then stores the words of the sentence into String[] words and I use …

Member Avatar for FUTURECompEng
0
172
Member Avatar for mitch_oso

Hi Everyone, I have this problem whit my code : ExecuteReader: Connection Property has not been initialized and i don't know why This is my code: Dim maximo As Integer Try oConn = New OleDb.OleDbConnection(con) oConn.Open() ' abrimos la base de datos oComn = New OleDb.OleDbCommand("Select ID_ISSUE From ISSUE") oRsRead …

Member Avatar for thewilf
0
241
Member Avatar for spring2014

The purpose of the program is to take 4 user inputed integers (days, hours, minutes, and seconds) and output them as a floating point doubles to show the maximum amount of time possible for each. For example I input 2 days, 10 hours, 45 minutes, 20 seconds and it outputs …

Member Avatar for NormR1
0
605
Member Avatar for ChandanMandal

Hello. As a new learner to ASP.Net I was curious to make a small blog machine. A simple application, where I add a title, upload an image and put some text. I did that. To display it, I used an editbox for title, another for description and an image control …

Member Avatar for ChandanMandal
0
202
Member Avatar for opspl_programme

Hi, I have a dynamically generated sql query that is generated in VB6 and then passed on to SQL Server 2005. The query joins(inner join, left join, etc.) multiple tables. If I were to execute that query in Sql Server Management Studio, I would get something like this: TrayID| TrayID …

Member Avatar for opspl_programme
0
465
Member Avatar for Hypalink

Hi guys, I´m attempting to write a simple "get quote" script, but need some advice about best practice. I want to structure it as follows, lets say a customer wants 1,2,3,4 or 5 apples - I want the quote to be $1. If the customer wants 6,7,8,9 or 10 apples …

Member Avatar for Hypalink
0
188
Member Avatar for BilalAKhan

I have a simple loop which is matching the letters and giving the equivalent into binary. Forexample I have a sequence of letters as *abc*, then according to the code given below the binary generated will be 000010001000011 and saved in the variable at the end. What I want to …

Member Avatar for TnTinMN
0
880
Member Avatar for michelle1

Hello, Can anyone recommend an [U]light weight[/U] IDE for C development? Preferably open source, but definitely free. (for Windows) It doesn't need to have its own version control - I'm using subversion - a plugin to subversion would be nice but it okay if it doesn't. Currently my colleague is …

Member Avatar for Abdelghafour
0
716
Member Avatar for aabbccbryanmark

import java.io.*; public class QuizBee { public static void main(String[] args)throws IOException { BufferedReader a = new BufferedReader(new InputStreamReader(System.in)); int cor=0; System.out.println("\t \t \t \t \t \t \tWelcome to 10th Annual Quiz Bee of the Year"); System.out.println(); System.out.println("General Direction: In this question you are obligue to answer them honestly."); System.out.println("\t …

Member Avatar for aabbccbryanmark
0
206
Member Avatar for Stardemos

<?php $conn = mysql_connect("localhost", "sermail_demos", "demos")or die("sem conecчуo ao servidor"); $db = mysql_select_db("sermail_sermail")or die("Base de dados nуo foi encontrada"); $b=1; $c=2000; $sql2a = 'INSERT INTO content_type_image ( vid, nid, field_stock_value) VALUES'; for ($i=197; $i<2000; $i++) { $sql2a .= '('.$i.','.$i.','.$b.')'; } mysql_query($sql2a) or die(mysql_error()); echo $sql2a; ?> i cant finf out …

Member Avatar for blocblue
0
88
Member Avatar for gelmi

**Enter row number: 4 Sum of numbers in row 5 is 31. Sum of all numbers above 4 is 15. this should be the output look like.. can someone help me? thanks.

Member Avatar for Nutster
0
427
Member Avatar for Secone

Here's the entirety of my code. The problem I'm having trouble with is in the sortArray function. The first part of that function is used to sort the words gathered in a text file from A to Z, the second part is meant to find any duplicate words, ie 'a' …

Member Avatar for Secone
0
227
Member Avatar for aabbccbryanmark

System.out.println("\t \t \tYou got " + (cor/10*50+50) + "%"); help me with this code.. i didn't get what's supposed to be the percentage.. what's wrong with it?.. i got 3 for cor and i should have 65% but i just get 50%..

Member Avatar for JamesCherrill
0
112
Member Avatar for joshl_1995

Hello Community, I was wondering, would it be mean to make my programs only available to members only?

Member Avatar for pritaeas
0
201
Member Avatar for HunainHafeez

i am done with my forms , sign up and login forms etc. now i want to know that how to apply mechanism like "facebook" or any other site which has login facility. i mean like a user fills in his EMail id and password and then he browse through …

Member Avatar for JorgeM
0
114
Member Avatar for sundog1

Hi guys, I hope someone can help. I have a list view being populated by a Table (cashCustomers) in an Access DB which has customers Information. * CashAccRef * CashName * CashAddress1 * CashAddress2 * CashTown * CashAddress3 * CashAddress4 * CashAddress5 and the following Orders table (cashOrders) * ID …

Member Avatar for Mike Askew
0
518
Member Avatar for Dani

Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it …

Member Avatar for Troy3
0
2K
Member Avatar for opawix

if (@$_GET['action'] == "Edit Record") { print "<font color=black size=14><center>Edit Student Records</center></font><br>"; $result = mysql_query ("SELECT * FROM students"); $rows = mysql_num_rows($result); if ($rows != 0) { print "<form>"; print "<font color=black><center><b>Select Student:</b><center></font><br>"; print "<select name=idnum>"; for ($i=0; $i< $rows; $i++) { $row = mysql_fetch_row($result); print "<option value=$row[0]>$row[1] $row[3] $row[2]"; …

Member Avatar for pritaeas
0
119
Member Avatar for opman234

Please help me. I want to set the identity specification to yes, but all the option is gray out. I could not change it to yes from no. Ĩ̷̊ñ sql server 2008. Thanks

Member Avatar for opman234
0
92
Member Avatar for daniel36

i am having a string in a variable similar to $school="bal bharti vidhya mandir"; i want to change this string into 'bal-bharti-vidhya-mandir'.Is it possible?I also need its reverse in my project.

Member Avatar for lps
0
95
Member Avatar for rvijaya

Hi, so I have to write a program for my Java assignment and I am just starting out so I might be doing this wrong but I can't figure out why it won't invoke the method I have created. import java.util.Scanner; public class EvalMarks1 { public static void main(String[] args) …

Member Avatar for rvijaya
0
154
Member Avatar for garyjohnson

I am trying to join two database tables, the tables are set up like this, This is table fgusers3, which stores my users login information. id_user name email phone_number username password confirmcode 1 Bob bob@email 000000 bob1 bobby 12345 This is table videos, which stores my users video upload information. …

Member Avatar for garyjohnson
0
239
Member Avatar for banana.apple001

Okay, I'm very new to Java as a whole, and I'm just trying to get to grips with it. I'm experimenting with classes, and I'm struggling to get this one thing to work. Basically, I've made a short program which one can make matrices, and all it has at the …

Member Avatar for banana.apple001
0
274
Member Avatar for Secone

I'm trying to have my program find duplicates in an array of strings, and if it finds one, it swaps the duplicate to itemamount - 1, adds +1 to the WordAmt for that word, and moves the loop one spot down. I just am not sure how to properly do …

Member Avatar for VernonDozier
0
236
Member Avatar for hughesadam_87

Hi, I'm having some difficulty reading in boolean values from a file, particularly false values. Python can understand false values as empty strings, as well as a few other ways. For example: In [43]: bool(0) Out[43]: False In [44]: bool(False) Out[44]: False In [45]: bool('') Out[45]: False The problem is, …

Member Avatar for woooee
0
929
Member Avatar for showman13

Good Morning, I am working on a script that requires multiple embedded function calls that could go up to 5 levels deep My Question is this... I need to be able to use the accumulating variables from function D outside of all the functions to display data. if I have …

Member Avatar for DarkMonarch
0
147
Member Avatar for strizh

I need to override String toString method so it woud print my deposits I dont't know how to override it, since in makeDeposit method I pass two variables I'm posting just a saple of my code, I'm not sure if you need the whole code public class Bank { private …

Member Avatar for stultuske
0
164
Member Avatar for Angle90

Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like …

Member Avatar for Angle90
0
180
Member Avatar for anglwthnati2de

Hi guys. I am having issues with the output of this program. Can somebody tell me what I have to do to make this work correctly? Here is the code I have so far: import java.util.Scanner; //text scanner to parse primitive types and strings using regular expressions. public class Operations …

Member Avatar for anglwthnati2de
-2
277
Member Avatar for Tinnin

Hi all, I'm trying to set up a typedef for vector type in a header file I've named Container.h The struct is called Student_info and is in a file called Student_info.cpp with header file Student_info.h My code in Container.h is as follows; #ifndef GUARD_Container_h #define GUARD_Container_h #include <vector> typedef std::vector<struct> …

Member Avatar for NathanOliver
0
233
Member Avatar for HunainHafeez

i have an issue , when i click on YES or NO (radio button) to enable/disable DIV section (EmployerInfo), it causes the whole page to refresh and scrolls back to the top of firefox every browser. i set Autopostback to true and i put MaintainScrollPositionOnPostback="True" in page directive but still …

Member Avatar for HunainHafeez
0
132
Member Avatar for aabbccbryanmark

public class asterisk { public static void main(String[] args) { int row, col, spc=3, spc1=2, spc2=1, spc3=0; for(row=1;row<=1;row++) { for(col=1;col<=1;col++) { for(spc=spc;spc>0;spc--) { System.out.print(" "); } System.out.print("*"); System.out.println(); { for(spc1=spc1;spc1>0;spc1--) { System.out.print(" "); } System.out.print("**"); System.out.println(); { for(spc2=spc2;spc2>0;spc2--) { System.out.print(" "); } System.out.print("***"); System.out.println(); { for(spc3=spc3;spc3>00;spc3--) { System.out.print(" "); } …

Member Avatar for stultuske
0
592
Member Avatar for HunainHafeez

i knwo that validation controls actually validates asp:net contols but the thing that confuses me is that "Wheter it validates at server side or client side " ? i heard that it validates at client side so what does it have an attribute "Runat=server" ? plz elaborate

Member Avatar for HunainHafeez
0
84
Member Avatar for Arpita Asthana

hello I m 3rd year enginnering student in computer science field. I have to make project in DBMS using connectictivty with VB. could you plz suggest me the topics and guide me with ur valuable ideas. thanx Arpita Asthana

Member Avatar for priyanka.shinde
0
1K
Member Avatar for sonakrish

Hiii Alll I need to display a message to the user after clicking the button control. How to do this in c#.net? I could not find Msgbox() option as we hav in vb.net. can any one help me

Member Avatar for walflo
0
2K
Member Avatar for Secone

I'm trying to use a while loop to read in some files, but it only reads once and quits. Not sure what's wrong, professor says this is how it should work as long as I'm understanding him correctly. void populateStruct(ifstream &filein, WordStruct Words[1000], int &itemamount) { while (filein >> Words[itemamount].Word); …

Member Avatar for Secone
0
167
Member Avatar for Dzulham

I want to have 60 buttons that each button has same function with other but not the output when its selected/focused. I don't want to make one by one function. Here is what i mean: Private Sub Button_Click() Handles button1.click, button2.click, .... ,button60.click Dim ST As Button [ST As Selected/Focused …

Member Avatar for Dzulham
0
106

The End.