52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amby

Hi, I have added web reference to my web space but dont know how to call its method from my code behind .aspx.cs file. can somebody please guide me in this matter. Thanks

Web Development api javascript
0
101
Member Avatar for qasimidl

asp.net with C# how to show the message box after saving the data in db(sqlserver) ?? earlier i was using javascript alert like this [code] <pre lang="xml">public static void ShowMessage(string strMessage,Page pgno) { Label lbl = new Label(); lbl.Text = &quot;&lt;script type='text/javascript' language='javascript'&gt;&quot; + Environment.NewLine+ &quot;window.alert('&quot; + strMessage + &quot;');&lt;/script&gt;&quot;; …

Web Development asp asp.net c# xml
Member Avatar for jbisono
0
376
Member Avatar for hery

this is my code:: [code] TextBox[] tbArray = new TextBox[] { TextBox1, TextBox1, TextBox1 }; for (int j = 0; j < tbArray.Length ; j++) { tbArray[j].Visible = true; } [/code] this code is success but only one textbox show not three textbox.. Can any one help me. Thanks

Web Development asp asp.net c#
Member Avatar for bhavu4u
0
181
Member Avatar for jellybeannn

Hi, I've got a DropDownList with a list of colours, when one is selected and the "Add to ShoppingCart" button is pressed, all the colours in the DropDownList are duplicated. Can somebody please help. [CODE] // fill the control with data private void PopulateControls(ProductDetails pd) { // display product recommendations …

Web Development asp.net
Member Avatar for bhavu4u
0
120
Member Avatar for rahul8590

i want the user to enter the name in the query and only after entering the name the next input text appears. Unfortunately it doesnt work the way i want it to. here is the code [code] <?php // formtest2.php $flag = 0; if (isset($_POST['name'])) { $name = $_POST['name']; $flag …

Web Development display php
Member Avatar for rahul8590
0
138
Member Avatar for judge6

Hi all. I have a web application which upon page load, creates a number of buttons on the page. For each button which is created, i add a handler for the click event. Inside the click event code for the button, i identify the ID of the sender. I then …

Web Development asp.net session
Member Avatar for judge6
0
136
Member Avatar for Allison2009

Hello Everyone, We have a website driven by Zen Cart. There is a serious issue, which we find it extremely difficult to resolve. The issue is - We have a Registration Page. It has so many mandatory fields, like Telephone No. and Date of Birth. But users are able to …

Web Development ecommerce php
Member Avatar for Allison2009
0
146
Member Avatar for tgreer

I'm having a problem with a dynamic LinkButton. For a result returned from a database query, I create two LinkButtons, dynamically. One is "Update" and the other is "Delete". I store Update or Delete in the .CommandName property. I store the identity value (the primary key) of the database record …

Web Development asp asp.net c#
Member Avatar for bhavu4u
0
463
Member Avatar for emilio

hi i'm trying to run an exe file on the client side using the following code: [CODE=javascript]var oShell = new ActiveXObject("Shell.Application"); var prog = "C:\\Program Files\\Microsoft Office\\Office12\\Excel.exe"; oShell.ShellExecute(prog,"","","open","1");[/CODE] when i run the code it fails with "Access denied" error which i cannot resolve. i modified my ie (8) settings to …

Member Avatar for emilio
0
183
Member Avatar for alyssajones

Hey people, I don'r know much about PHP so I think you can help me on this one. I have a email form and the action says: [CODE]<form id="contato" method="post" action="[COLOR="Red"]contact.php[/COLOR]">[/CODE] The php is placed as follows: [CODE]<?php $to = "conde.taly@gmail.com"; $subject = "Site Contact" ; $email = $_REQUEST['email'] ; …

Web Development http-protocol php
Member Avatar for diafol
0
231
Member Avatar for mrcniceguy

i have a comment system of which member can insert smileys which commenting to something )))that works well...Now i want the smileys to be desplayed in a small popup window like the one i have attached in screenshot..and dont know how to make it possible... i just believe that it …

Web Development javascript-jquery php
Member Avatar for mrcniceguy
0
70
Member Avatar for hassancool

1). Well I am using a PhpBB forum.... Everything is working fine but I have a little question that where should I paste the php META TAG refresh code so that its not annoying for users!!! 2). My second question is that "is there any advantage of META TAG refresh …

Web Development php phpbb
Member Avatar for saiprem
0
93
Member Avatar for mcastu

hi i want to know that how can i search the entire database at once.... i have code with which i can only search from a single table but i want that search should be performed on entire database.... i m using php+mysql....... help me out...

Web Development php
Member Avatar for mcastu
0
203
Member Avatar for D4n1sD

Hello, I am really sorry for posting this here but I couldn't find anything simular to the net. I need to insert datetime values into my mysql db and in particular the current time second and minute value and than I want to call this value and do a $current_time-$mysql_time …

Web Development mysql php
Member Avatar for BzzBee
0
112
Member Avatar for RobotFX

Hi! Does anybody know of a [U]script capable to read feeds and store them in static files[/U]? Also, if possible, to [U]create an index of these files, too, so visitors on the website can find them easily by date or name,[/U] for example? What I'm trying to do is to …

Web Development apache php
Member Avatar for BzzBee
0
344
Member Avatar for srilakshmitr7

I want to upload videos from my site into youtube. I worked on examples provided in oogle but i got strucked by auythentication process where it is saying invalid parameters in youtube page. Can anyone solve this problem.

Web Development php
Member Avatar for BzzBee
0
59
Member Avatar for nathan_hastings

Does anyone know if there is a way of getting javascript to wait until I have pressed ok on an alert before it runs the next line of code? The site I am developing is in PHP but I have made this function to bring up a message box: function …

Web Development javascript
Member Avatar for Airshow
0
140
Member Avatar for jrw89

Hi all, I am trying to get an object to be aware of its own changes e.g. have it execute one of its functions but only when a variable has been changed from outside the object. Google gave me lots of references to XMLHttpRequest.onreadystatechange and this resource at MSDN: [URL="http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx[/URL]. …

Web Development javascript microsoft-access
Member Avatar for jrw89
0
187
Member Avatar for tearose49

I'd like to display the contents of some fields in a MySql table as a table on a webpage. I found sample scripts, but I'm doing something wrong in trying to adapt them. Can anyone give me a link to a webpage that displays a table like this, so I …

Web Development display mysql php
Member Avatar for tearose49
0
103
Member Avatar for lksath

Hi all, I am using object tag to play flv video in my webpage.I want to change param value dynamically so that i can play videos when i click image button. I want to do like the one in youtube but without using database. Please help me to get rid …

Web Development asp.net video
Member Avatar for dsweb1017
0
126
Member Avatar for PierlucSS

Is there a way I can know what is the Url I am currently browsing? If I would use that command or script it on this page it would return me: [url]http://www.daniweb.com/forums[/url] And if I would be testing on localhost or on some acceptance server, it would return me [url]http://localhost:1996/forums[/url] …

Web Development asp.net
Member Avatar for PierlucSS
0
96
Member Avatar for saiprem

Hi All I have my URLs without cleanup [url]http://10.0.0.76/project/mydashboard.php?section=12&section_childs=1[/url] [url]http://10.0.0.76/project/some_x_page.php?section=12&section_childs=1[/url] OR [url]http://www.myprojects.com/mydashboard.php?section=12&section_childs=1[/url] [url]http://www.myprojects.com/some_x_page.php?section=12&section_childs=1[/url] How can I get my URL like below [url]http://10.0.0.76/project/mydashboard/section/12/section_childs/1[/url] [url]http://10.0.0.76/project/some_x_page/section/12/section_childs/1[/url] OR [url]http://www.myprojects.com/mydashboard/section/12/section_childs/1[/url] [url]http://www.myprojects.com/some_x_page/section/12/section_childs/1[/url] I know we can do it with .htaccess, but i don't know how to write, can any one please help me to implement this.

Web Development php
Member Avatar for vitana
0
125
Member Avatar for amby

Hi, I am calling web service through jquery ajax call for the first time and getting an error. Can please somebody help me in this i would really appreciate it. Below is the code: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userNTID.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for amby
0
188
Member Avatar for AdventDeo

OK I'm not really sure how to put it but I will try my best to explain my question. Basically I am really lost when it comes to arrays and for loops, so I need help badly. I have in my HTML Form about 20 checkboxes like this: [CODE]echo "<input …

Web Development php programming-construct sql
Member Avatar for AdventDeo
0
185
Member Avatar for hassancool

HI all, I am using a php Code for Image hosting script and having this kind of error continuously..... "Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpbihhaX' to 'http://masalalook.com/imagehost/upload/41270034561.jpg' in /home/masalalo/public_html/imagehost/config.php on line 83" Line Number 83 contains this "if (move_uploaded_file($_FILES['file']['tmp_name'],$filedir."/".$newname))" Help me plz how to get out of this trouble...... …

Web Development image php
Member Avatar for saiprem
0
96
Member Avatar for Pooja J.

Hi, I have one page session-bom.php, in which computer parts are availlable for shopping. e.g. mouse , keyboard ect. with the checkbox. and textboxes to enter quantity and label of prices. When user hits 'submit' button, only selected parts goes to the bill.php page and showing their price multiplied by …

Web Development php session
Member Avatar for as.bhanuprakash
0
252
Member Avatar for amitshrivas

Hello to all..plz help me in this plzzzzzzzzzzzzz i want to view/download a files from production server and after downloading i want to delete the same file from 2 places i.e from (database and one Uploaded folder in server). i have 2 quries: 1: View Only ? i have this …

Web Development asp.net file-system
0
92
Member Avatar for Pooja J.

Hi to all, I have 4 pages. page1.php, page2.php, page3.php and last.php. page 1, 2 and 3 pages have one text and submit button. The values enter by user in page1.php store in session var. and clicking on 'Submit' button. page2 shuold be open. In this page same procedure should …

Web Development php session
Member Avatar for liamfriel
0
149
Member Avatar for trashed

Hi. I'm trying to write a script that fetchs image codes from a mysql database to display them into a 3 columns table. I got this so far: [php] $selection = $_GET['scelta']; $query = 'SELECT photo_code FROM'. $selection .';'; $result = mysql_query($query); $rows_nb = mysql_num_rows($query); print('<table width="75%" border="0" align="center">'); while …

Web Development mysql php
Member Avatar for tips4php
0
2K
Member Avatar for Th3nutz

i've embeded google maps on my site with a marker setup were i wanted, but i cannot use "Get directions" to open in the same div that i use. Is it possible to do that, or my only options are _blank, _self etc. [CODE]<script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAsoAP0MDLt21HBpoCAZ0DLBQD344IlC21WoKHBucdD45AbVnqaxQoNHNKFtJHrVaqBr2Dwfh1G1O2-g" type="text/javascript"></script> <script type="text/javascript"> function initialize() …

Web Development api google google-api javascript
Member Avatar for JayAugust
0
84
Member Avatar for kanuri1

I'm retrieving immediate next record from database table using empcd(employeecode) [for which code is given below]. I wanna retrieve "next record" details from SQL SERVER 2005 with a Button Click Event but not using "EMPLOYEE ID". (SqlClient.SqlConnection) i want to access database table nextrecord directly using either query or Logic. …

Web Development asp.net dataset sql
Member Avatar for reach_yousuf
0
102
Member Avatar for futhonguy

Hi, I am wondering if i am able to insert 2 entries from a form to mysql. for example: [CODE]</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type …

Web Development mysql php
Member Avatar for futhonguy
0
94
Member Avatar for phpDave

Hello! I have a counter to count personal page views for users, but when the counter in the table is updated (incremented by 1)it also updates the date. Anyone know if the counter column can be updated without updating the date? Also, I need to have an update date for …

Web Development php
Member Avatar for phpDave
0
87
Member Avatar for Lsmjudoka

I have a script that runs a static chatroom(User has to refresh the page manually). When a user submits a post, the user's data(Username, title, user level, etc..) is stored in the DB along with the post. The script for getting the post looks something like this: [code=php] $result = …

Web Development mysql php
Member Avatar for Lsmjudoka
0
109
Member Avatar for dilake

Hi Am not getting SelectionBullet property for richTextBox using wpf c#? Regards Dilake

Web Development asp.net c#
Member Avatar for dilake
0
76
Member Avatar for vantrax

i have tried to implement a counter for my site which was a free hosted one from 000a.biz using ajax.It has worked in my LOCALHOST But it doesnt worked in my server. The html file is(main.htm): [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tcats Inc.</title> <meta http-equiv="Content-Type" …

Web Development javascript
Member Avatar for Airshow
0
131
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Web Development javascript php xml
Member Avatar for baseballfury
0
536
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Web Development javascript php
Member Avatar for rochellebeth
0
127
Member Avatar for SCoder1

Hi when let me get straight to the point ..... I've made a database, inserted data into it and selected it on a page but I can't find out why I can't view the text in the table?????????????? :@ I'M SO PISSED OFF!!!!!!!!! I've been trying it for hours here's …

Web Development html-css php xml
Member Avatar for diafol
0
88
Member Avatar for polly89

I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database), but there's no value from user textfield(ic_no,name,email...) that have been inserted. It means like there's a row of data inserted but without …

Web Development php session
Member Avatar for diafol
0
131
Member Avatar for Exploded Fiber

Hey Guys and Gals, I have an array: Array ( [Small] => Array ( [0] => 4 [1] => 5 [2] => 3 ) [Butters] => Array ( [0] => 5 [1] => 2 [2] => 5 ) [black] => Array ( [0] => 3 [1] => 5 [2] => …

Web Development php
Member Avatar for Exploded Fiber
0
145
Member Avatar for rekhad

I would like to thank the moderator for helping me with the code while reading row by row data using datatable and sqldata adapter. I am worried about the speed and performance of my code since I am making round trips to the server,every time I am increment the index …

Web Development asp.net session web-server
Member Avatar for kvprajapati
0
114
Member Avatar for morris2k2

It all started like this I created a sub directory in my hosting account, for blog engine 1.5. I then copied all the file from the source to the target sub directory folder which is under my root application. when I lauched this is the error I was getting [B]To …

Web Development asp.net web-server
Member Avatar for kvprajapati
0
106
Member Avatar for sniigg

[code] foreach (string id in str1) { string logoImage = ""; string BundleID = id; BundleSearchResultStruct BundleSearchResult = nbsi.GetProductDetails(guid, "marketingPartnerPassword", Convert.ToInt32(BundleID)); string y = builder1.Append(BundleSearchResult).Append(",").ToString(); y = y.TrimEnd(','); Session["BundleSearchResult"] = y; //some code relevent only to this block } while (reader1.Read()) { //do something foreach (string id in str1) { …

Web Development api asp.net session
Member Avatar for sniigg
0
95
Member Avatar for kbailey1734

Good morning all, I am having a few issues. Firstly, I am no expert whatsoever so I may not have done anything conventionally. I have been able to create a form with many fields, click submit and data is inserted into a table in my database. I was then also …

Web Development mysql php
Member Avatar for kbailey1734
0
147
Member Avatar for jrw89

Hi all. I have the following form: [CODE=html]<form id="registrationForm"> <input id="forename" type="text"></input> <input id="surname" type="text"></input> <input id="emailAddress" type="text"></input> <input id="password" type="password"></input> <input id="confirmPassword" type="password"></input> <input id="agreeToTerms" type="checkbox"></input> <input id="clickToRegister" type="button" onClick="javascript:SpeakAtServer(FormToJson('registrationForm'))" value="Register"></input> </form>[/CODE] ...with the following JavaScript... [CODE=javascript]FormToJson = function(sourceElement) { var JsonToServer = new Object(); if (document.getElementById(sourceElement).childNodes) { var …

Web Development javascript json
Member Avatar for Eumenio
0
135
Member Avatar for nccsbim071

Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the …

Web Development asp.net microsoft
Member Avatar for zid8ne
0
132
Member Avatar for nonshatter

Hey I hope someone can help me here because I am pretty stumped on this one... All I'm trying to do is to update my user_usr table with the submitted form data. It was working perfectly the other day so I must have changed something somewhere. The code and the …

Web Development php sql
Member Avatar for nonshatter
0
175
Member Avatar for Nemuksis

Hi guys, i want to find something out that will help me out a great deal. I am including a menu from a separate .php file using [CODE]<?php include("menu.php"); ?>[/CODE] but something that i really need to find out before i can continue with this. When I'm at eg 'Home' …

Web Development php
Member Avatar for Nemuksis
0
329
Member Avatar for ritzrash

I am new to php but have modified an entire code in two weeks. I have it all working, however the last change that i made is not being seen on the web page. I am dealing with php 5.1.6 and apache and since then whatever change i am making …

Web Development apache php web-server
Member Avatar for ritzrash
0
70

The End.