52,566 Archived Topics
Remove Filter ![]() | |
I have a gridview control where the last control is a hyperlink that allows someone to select that link and sign up for a class: [CODE]<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#EFF3FB" /> <Columns> <asp:BoundField DataField="eventAuid" HeaderText="eventAuid" ReadOnly="True" SortExpression="eventAuid" InsertVisible="False" Visible="False" /> <asp:BoundField DataField="eventOccurrencesAuid" HeaderText="eventOccurrencesAuid" SortExpression="eventOccurrencesAuid" … Web Development asp.net | |
I want to get the selected text from the i-frame, where the source is from another domain. [code] <html> <head> <script> function getselText() { var iframe = document.getElementById("my"); var txt = getIframeSelectionText(iframe); document.aform.selectedtext.value = txt; } function getIframeSelectionText(iframe) { var win= iframe.contentWindow || iframe.contentDocument.defaultView; var doc= iframe.contentDocument || win.document || … Web Development html-css javascript | |
Hi Everyone. I have MySQL db with images in(MEDIUMBLOB); I would to display the images in a gallery fashion with a MySQL select command. Any help would be appreciated. Regards | |
I have a web page of a javascript game I downloaded from the net, on the web site it works correctly. But if I save the web page to my hard disk and play the game the game graphics do not show, I would like to know why not. Here … Web Development iphone javascript | |
It sais Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given on line74 and I tried a lot of things. here is code [$query="SELECT * FROM specificati,ofertant,suprafete,preturi,manopera WHERE ofertant.id_ofertant=preturi.id_ofertant AND preturi.id_manopera='Montaj parchet' AND preturi.id_manopera=manopera.id_manopera AND specificati.id_camera=suprafete.id_camera "; if (isset($query) && !empty($query)) { echo"<!--" . $query . "-->"; $result=mysql_query($query) or … ![]() | |
I have field in sql called gender,and when i click in browser for male or female it sholud get updated in my database also.. how to do that.. guide me pls........... Web Development asp.net | |
HI EXPERTS, I am trying ajax. The code I have used is given below.I linked both the javascript files inside the head section. When I select any category from first dropdown box, I call the javascript func and got the corresponding subcategories in the second dropdown. This is ok. But … Web Development audio java-jsp javascript | |
Hi, I am trying to insert multiple radio buttons in one row. For example, I am trying to get the user to state his/her sex using radio button and update the record. But the problem is I am running into errors. I have googled on how to insert radio buttons … Web Development asp.net | |
Hi everyone, can you help me how to add update form in this code? [CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php $num=$_POST['num']; @ $db = new mysqli('localhost', 'root', 'ilyas1987', 'dau'); if (mysqli_connect_errno()) { echo 'Error: Could not connect to database. Please try again.'; exit; } $query … Web Development php | |
Hello, I'm following the tutorial of MVCMUsicStore at [url]http://mvcmusicstore.codeplex.com/[/url] and the PDF tutorial that I'm following can be downloaded at [url]http://mvcmusicstore.codeplex.com/releases/view/44445#DownloadId=121650[/url] I'm stuck at the page 53 "Creating the Edit View" (navigate to that page using the adobe reader page input) I have created the StoreManagerViewModel class in ViewModels folder. … | |
Server Error in '/PrecompiledWeb1' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' … Web Development asp asp.net visual-studio web-server windows-server xml | |
Hi, Has anybody use phishtank.com's api? the documentation si pretty poor in their site and they don't reply to emails. The api should help me send a url to phishtank so that they verify if it's spam or not (according to their database) and then return an XML response, and … Web Development api google-api php xml | |
can any one help me for this code. i had created 2web page say home, employee and master page. on the mater page i want to show all the employee who are online now. for that i'm firing the query and i got the all the employee name through SqlDatareader.Now … | |
I am trying to print the results of this code: [code=php]$cmpResult = array_intersect($productList2, $totalProductList); print_r("cmpResult:"); ?><br /><?php print_r($cmpResult); ?><br /><?php[/code] but the output is "Array ( )". How do I get it to output the values of the intersect? Web Development php ![]() | |
hi..i want that the matter in my label1 on the first page shud be copied to other page on the label present there.... and also i want that the value in drop down box that person choses on first page is copied to label on second page......... pls help.... Web Development asp.net | |
hi, hi i am php programmer. but i don't know how to use AJAX with php. Web Development php | |
Hi, I am php noob and I have question about the singleton patter in php. I am not sure how the server handles the different users. If I create a singleton class, is that "single" instance shared among all the different users connecting to the server? are there any situations … Web Development php | |
| |
Hello everybody, I have a problem with my mysql-server, at least, I think... This is the problem : I use aptana as my editor, in which I have installed QuantumDB as plugin. This allows me to quickly update or delete or insert data in my MySQL-database without having to leave … | |
I'm having some issues getting my menu to work right. I'm trying to make it so that when the top of a given category has the mouse over it, it creates a flydown of the submenu. Also, on the mouseover of both the top menu and submenus, i want it … Web Development audio html-css javascript | |
So far I've got this iframe to refresh every minute. What I would like to do is have the scr of the iframe be a variable. When the iframe loads to the main site if it find that the page cannot be dislayed then switch to the second site. I … Web Development javascript | |
Hello, I am new to php code (month or so) and mysql, I am pretty much teaching myself, I am good with HTML, CSS, JS, etc... I am trying to create a DB for a client that is fairly simple; Add members (got that done); Verify member and post data … Web Development client-server html-css mysql php ![]() | |
Hi All, I wrote a web service that I'm using to more or less move some files around. The client is written in python (uses the HTTP POST interface). If I put the client on the server, and do a test run everything is fine, but then from a remote … Web Development asp.net client-server web-server | |
I am having a problem spitting out text saved into a MySQL database and displaying it in an HTML form input field. The text will spit out fine unless there is a single or double quote, then the text is spit out until the quote. The text is all in … | |
Hi, i have followed a tutorial and modified it to get a image stored as a blob from MSSQL, it is working perfectly - however i utilised handlers in this tutorial. and while it is working fine - id quite like to understand what is going on! [code] <%@ WebHandler … Web Development asp.net file-stream mssql | |
hi everyone i have image rollover code. and i want to add functionality, for ex-this scripts roll overs images (slides them) . i would like let it stops when onmouseover event here is script [CODE] <html> <head> <title>HTML ders | 09.07.2010</title> <script> var sekil1=new Image(); sekil1.src="bir.jpg"; var sekil2=new Image(); sekil2.src="iki.jpg"; … Web Development image javascript | |
I am trying to call a function from a link or button like the example below, however I would like to call the function whilst passing a variable along (not a string). I was wondering if this was even possible, if not what is another solution? This isn't my code, … Web Development javascript | |
Hello, Salaams from Nairobi-Kenya. I have two problems with some scripts I downloaded a while ago. In script one, the scripts installed OK, but I can't login. If I enter the login name and password, nothing happens, just stays there, I have run the query on phpmyadmin and it returns … Web Development php | |
hi i want to develope a community site plz some one give suggestion which cms system i have to use. -keval ![]() | |
I have a project that queries a set of times from a database and uses these entries to populate a dropdownlist. Once the page is loaded, the user can select one of the items in the DropDownList. When the "Save" button is clicked, the Selected item value is returned to … Web Development asp.net session web-server | |
Hi... I am new to this community... I am new to PHP... I was doing some basic websites with HTML,CSS,Javascript. I have to do a course registration web form for my department. I need help from you guys.... My question : I host the website from my Univesity web server. … Web Development html-css php web-design web-server | |
i used this code to adding multiple values.. bt it dsnt work . it didnt give me real answer.. plz some one can help me up.. [CODE] function calc(y){ answer="0"; for(var co=1;co<=y;co++){ answer+=parseInt(document.getElementById(co).value); } document.getElementById("total").value=answer; }[/CODE] this code didnt give me sum of values. it gave like this.. (10101010). not … Web Development javascript | |
[CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php include("sonuc.php"); if(!isset($_POST['edit'])) { $num = $_GET['num']; $sql = "select * from students where num='$num'"; $result = mysql_query($sql) or die('\"'.$sql.'\" Query failed:'.mysql_error()); $row = mysql_fetch_array($result, MYSQL_BOTH); $id = $row['id']; $name = $row['name']; $surname = $row['surname']; $department = $row['department']; $cpa = … Web Development php | |
c# webforms vs 2003 i have this data grid call dgresults which i m using the page index change event and item command event my problem is every time when i load the data grid and try to change the pages it's giving me an exception. that's because every time … | |
Hi All I am using AWM menu and there is functon awmCreateMenu() which creates a menu, but exactly not getting the different argumnts to this function. Will please any one help to get meanings of these parameters? Actually I want to activate or open this menu using an short key … Web Development javascript | |
hi all, onclick a link i am exporting all details to excel. it's working well. but when i uploaded this file to my domain and run it,it is fetching data but not all data, columns are exporing to excel but only first 3 value are exporting to excel. any idea … Web Development file-stream php | |
this is 'pemaju_semakan2.php' coding <?php include("db.php"); ?> <?php $IDSykt=$_POST['IDSykt']; $query = "SELECT * FROM pemaju WHERE PJ_SYKT_NO='$IDSykt'"; $result=mysql_query($query); while($row = mysql_fetch_array($result)) { $IDSykt=$row['PJ_SYKT_NO']; $NamaSykt=$row['PJ_SYKT_NAMA']; } this is 'db.php' coding <?php $hostname_connection = "localhost"; $database_connection = "zaza"; $username_connection = "root"; $password_connection = ""; $connection = mysql_pconnect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR); ?> … | |
I want to upload file through asp website ,once i click on the button it browser the file and select file and upload it ,who can help me please Web Development asp | |
hi all, i have simple image slideshow script does anyone know how to do it with a help of for loop not if here is code thanks beforehands [CODE]<html><head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="bir.jpg" var image2=new Image() image2.src="iki.jpg" var image3=new Image() image3.src="uc.jpg" //--> </script> </head> <body> <img src="bir.jpg" … Web Development javascript | |
hello I want to deleter record from my table in database but there is error which is Data type mismatch in criteria expression ,any one has any idea can tell me thank you. Web Development asp | |
[CODE]protected void Button1_Click1(object sender, EventArgs e) { String path = Server.MapPath("App_Data\\dnis2010.mdb"); String sqlQuery = "UPDATE tableRegister SET (SerialNo,StaffName,StaffID,[Hostname],[Department],[Section],[Extension],Type,IpAddType,IpAdd,MacAdd,CpuBrand,CpuModel,Processor,HardDisk,HDType,RAM,RAMType,MonBrand,MonModel,MonSerialNo,MouBrand,MouModel,MouSerialNo,KeybBrand,KeybModel,KeybSerialNo,CdPlay,CdPlayBrand,CdPlayModel,CdPlayType,Windows,Other,WProdKey,MS,MSProdKey,SoftwareName,LicenceNo,Remarks) VALUES (@TextBox42,@TextBox1,@TextBox2,@TextBox3,@TextBox4,@TextBox5,@TextBox6,@TextBox40,@TextBox8,@TextBox9,@TextBox10,@TextBox11,@TextBox12,@TextBox13,@TextBox14,@TextBox15,@TextBox16,@TextBox17,@TextBox18,@TextBox19,@TextBox20,@TextBox21,@TextBox22,@TextBox23,@TextBox24,@TextBox25,@TextBox26,@TextBox27,@TextBox28,@TextBox29,@TextBox31,@TextBox32,@TextBox33,@TextBox34,@TextBox35,@TextBox36,@TextBox37,@TextBox38,@TextBox39) WHERE SerialNo=@TextBox41"; OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" + path); OleDbCommand aCommand = new OleDbCommand(sqlQuery, aConnection); aCommand.Parameters.AddWithValue("TextBox42", TextBox42.Text); aCommand.Parameters.AddWithValue("TextBox1", TextBox1.Text); aCommand.Parameters.AddWithValue("TextBox2", TextBox2.Text); aCommand.Parameters.AddWithValue("TextBox3", TextBox3.Text); aCommand.Parameters.AddWithValue("TextBox4", TextBox4.Text); aCommand.Parameters.AddWithValue("TextBox5", TextBox5.Text); aCommand.Parameters.AddWithValue("TextBox6", … Web Development asp.net open-source | |
Here is the error I am getting: Unknown column 'Lo' in 'field list' Here is my code. Any suggestions to get rid of this error: global $conn,$dal; $customerID = mysql_insert_id(); $strSQLInsert = "insert into Orders (CustomerID, LastName) values (".$customerID.", ".$values["LastName"].")"; db_exec($strSQLInsert,$conn); $rs = $dal->Orders->Query("CustomerID=".$customerID." and LastName=".$values["LastName"],""); $data = db_fetch_array($rs); $idvalue … Web Development php ![]() | |
I am trying to write a php code that will determine if a user has viewed the Facebook app before, and if they havent to show a "welcome page" instead of the normal "index" page. Is there a way to read the sql table and forward them to a "welcome … Web Development php | |
Hi, I want to know what you think is best for me to do. I got a functions file that is included on every webpage on my website as it is in the top.inc.php file althou not all pages will use the functions file. So my question is, should i … Web Development php | |
hello guys , i want to know if i can sent 2 emails from my website at the same time and also how to send two different emails form one code at the same time , i mean i want to create a form that someone fill it to invite … Web Development php | |
hello guys , how can i send my html email through php code , i mean i enter my html codes and then the php code sends it but in form of message not codes ,or any way ,my question is how to send an html email through php code … | |
guys i want my php pages appear as eg : my-page.com/page.php?id=01 please tell me how to do it and do i need to create many pages each one with different id or how does it work . Web Development php | |
Hi folks, Im basically a php programmer. So im very new to asp and vbscript. I had a project to create something in php and asp. I was able to get it done in php but im struggling with asp. I need to create a array to send to an … |
The End.