52,566 Archived Topics
Remove Filter ![]() | |
I have a Gridview having 3 columns in which i took checkbox,label and label as item templates for columns select,code,name respectively. ecode column is not editable.Button edit and update are present outside of gridview. i can edit multiple rows like this... when i select checkbox in 1st row of gridview … Web Development asp.net first-post | |
here is the problem, i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the … | |
[U]users table[/U] userid PK + autoincrement name surname i wrote a procedure [ICODE]ALTER PROCEDURE insertUser @userid int, @name varchar(50), @surname varchar(50), AS SET NOCOUNT ON insert into users (userid,name,surname) values (@userid,@name,@surname,)[/ICODE] in aspx file i write [ICODE] cmd.Parameters.AddWithValue("@userid", ????????); cmd.Parameters.AddWithValue("@name", TextBox2.Text); cmd.Parameters.AddWithValue("@surname", TextBox3.Text);[/ICODE] what can i assign for userid column … Web Development asp.net | |
hi everybody, i should hav atleat 1 numerical character and 1 special character with alphabets can anybody please help me for this thanx regards, seetha. Web Development asp.net | |
i have multiple checkboxes on my form.i am trying to add them with stored procedure but it gives me [I]Procedure or function konut_ekle has too many arguments specified [/I] [CODE] protected void Button1_Click1(object sender, EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString); SqlCommand cmd; con.Open(); string cmdstr = "konut_ekle"; cmd … Web Development asp.net | |
Hi everyone, I would like to set a label's text when a dropdownlist item is selected I want the label to display the value of the item, not the text. Is there any way i can do so without refreshing the page i found the update panel loads far too … Web Development asp.net | |
Hello All, I am upgrading my VBUlletin and I am receiving this Error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8835301 bytes) in /home/user/public_html/includes/adminfunctions.php on line 3209 I edited the php.ini file and tried allocating memory_limit upto 1400M, but no luck(yes, I tried upto this!!!). … | |
when i click on the treeview the page gets refresh and the control wont go to roottree_SelectedNodeChanged Plz anyone help me...... [code]/* Document */ private void GenerateMarksTree(StudentManagement.Student stud) { TreeView roottree = new TreeView(); roottree.ForeColor = Color.Black; roottree.ShowLines = true; TreeNode root = new TreeNode(); root.Text = stud.Branch.ToString(); root.Value = … | |
Hi, I have a question, I would like to know how can I add pictures to my datagrid? On my DB I have all images path ex.(/images/image001.jpg), is there a way that I can display that picture in the datagrid. Thank You Ennio Bozzetti | |
I know that it is possible to launch a file browser from PHP script (when selecting the file to upload), but is it possible to Is it possbile to launch a 'Browse for Folder' dialog box from PHP script? Since I did not find any functionality in the PHP, I … Web Development php | |
[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" … | |
alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located … Web Development first-post javascript javascript-jquery php | |
Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; … Web Development php | |
Hi All, I am new to PHP and MYSQL. I installed Apache2.2, MySQL Server 7.0 and PHP 5.2.10. I created database and table in MYSQL - its working fine. PHPINFO() - its working fine. When i tried to connect to my MYSQL using PHP with the following code, i am … | |
I am getting this message and I have checked my code and it seems to be all OK but I ther another reason that this message is showing up, that I maigt not know. PLESE HELP.... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in file.php on … | |
I hope my post is not redundant. Many of the titles used make it difficult to determine their content. I am looking for a good tutorial on cookies - I think. I'm new to this stateless kind of development. Briefly, I would like to store ID key in a cookie … | |
Hello folks, I need to create a html table dynamically, so I used HtmlTable and HtmlTableCell ... but I need to put inside a HtmlTableCell another HtmlTable object, so the structure will be: HtmlTable | ---HtmlTableRow | ---HtmlTableCell | ---HtmlTable I hope someone could help me Thanks Omar | |
Hi, I m getting this compiling error in asp.net .. "Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\needsunlimited\a2548f63\3bfeee38\App_Web_eg94tkhh.dll' -- 'Access is denied. '" Please any Help me.. Web Development asp.net microsoft microsoft-access microsoft-windows | |
Hello all. I wasn't sure if I should post this here or under DB? I'm a PHP user that is new to C#/ASP.NET/MS SQL. I have a table with rows of string values (not sure why they were made strings as they are numbers but thats what they are). I … Web Development asp.net | |
I'd like to redirect the user to another page, i.e. after a login check. I'm used to doing this via header location directive, it's all ok, but, if I'd like to print a message and redirect the user in 2/3 seconds, like on this forum when you login? Is it … Web Development php | |
HI all, I have make two form. one in which i will fill value then is will go in next page after submitting with $_Post['value'] . But i need this value in my javascript code in next page . So how i can fetch this value in my javascript code. … Web Development javascript php | |
I am writing a program that has a sort of login window, i was looking for a way to resize the window so that it doesn't open so big with empty space. Any help is appreciated Web Development asp.net | |
This issue I am running into occurred once we changed our site over to a dedicated server. We have had continual problems with our contact page, first with the captcha and now we have an error message saying: SQL error: Table 'paysonllc_db1.email' doesn't exist. Under Manage Sites I can connect … Web Development php | |
hi all, i have a php generated image that i want users to download as png, but as it is generated on the fly, the default save as option is <php_name>.php so i just want to ask if there is any way to change this default file name to a … Web Development php | |
I'm currently developing a web page that accesses a CGI string to query an application and return results to a page: [url]http://empress-media.net/jimflynnrentals/gear_test.html[/url] The CGI string is: [url]http://servername/cgi-bin/nph-omniscgi?OmnisLibrary=tbsWeb&OmnisServer=5912&OmnisClass=rtPublicSearch&MethodName=search&SessionID=PUBLIC&bXML=1&bXMLData=0&SQLClassName=qCategoryLookup&SearchCriteriaString=STYPE_CATEGORY%2CNOT%20%25LIKE%25%2Cggg[/url] It currently works to return the list of categories. It uses Javascript methods to return the results to a DIV on the page … | |
Hi, Does anyone know how to run an external program from ASP.NET. The System.Diagnostics.Process or Shell() functions do not work for opening GUI applications like NotePad. I need my ASP.NET web form to open a Windows application that we be installed on the Client. Any ideas? Thanks, Mike | |
Hello all...my first official post (after the introduction) I'm relatively new in the area of C# (some PHP experience) and I'm hoping someone can help me. I have 2 arrays of variable lengths, with int data in them. Something like this: FreeNumbers = 1,2,3,4,5 UsedNumbers = 1,2 I want to … | |
Hi Is it possible to insert nl2br to these two? [icode]<?php print $laes_artikel ["artikel"]; ?>[/icode] and [icode]<?php print substr($row["beskrivelse"], 0, 250); ?>[/icode] .. If so, can someone tell me how? Thanks for now. Web Development php | |
Hi to All, Please tell me briefly that in PHP, what type of errors occured to the developer. Thanks in Advance Web Development php | |
Hi, How I can show summary of thread like Daniweb. I have attached picture so please guide me. its really cool without opening the thread we can read whats inside . idf interesting we can go inside. Thanks Ayesha Developer Web Development php | |
Hi all, I got an error when I start admin server this is the error an error occurred while trying to start admin. check console log for more details please help how to avoid this error please Web Development java-jsp | |
Hi all, I have made to select box in which one is adult and other is for child . adult select box have 1 to 10 numeric value and child have 1 to 10 numeric value. but now i want to make if both of select box total is greater … Web Development javascript | |
Hi I want to add some pictures in the header of my site can anybody help me how to do that in php Thanks in advance | |
Ok so I created an instance of the mysqli class: [code=php]$siteconn = new mysqli($dbhost, $dbuser, $dbpass, $dbname);[/code] But when I try to run a query using this I get the error that's in the title... code as follows: [code=php]$result = $siteconn->query("SELECT * FROM categories ORDER BY id LIMIT $limit");[/code] Any … Web Development php | |
Hey Guys, I want to make a web development project based on php and mySQL. I have roughly around 3-4 weeks to make it. Please suggest some ideas. Thanks. Web Development php | |
Hi, I built a form to send customer info and used some ASP I found on the internet so I'm quite new to it. I got it to send the info I want but I recieve an e-mail every time I navigate away from the page not using the submit … | |
hi! I m using netbeans 6.5.1 i am trying to read a text file from a jsp using the code [code] BufferedReader input = new BufferedReader(new FileReader("contactus.txt")); [/code] this file "contactus.txt" is placed in the same folder (ie web folder) as the jsp file. but the browser is giving the … Web Development file-system java-jsp web-browser | |
hi, I am struggling with the code on attached file. Don;t know what the problem is. Please help me if possible: Web Development asp | |
Hello friends, my problem goes here, i have two aspx pages, lets say A.aspx and B.aspx. B.aspx contains information comming from database. when user clicks btnShow on A.aspx B.aspx is displayed with all the information from database on run time. i want to display B.aspx as pdf formate in browser. … | |
The configuration in our setup is one Web Server and one database server running SQL Server. With the current connection string it works. Recently we moved the database server to another machine with a different ip but with the same name. We used the name and not the ip in … Web Development asp.net sql web-server | |
On my Drupal site I have a block which I've set up with a couple of links at the top. I want to change the content of the block depending on which link is clicked. I'm pretty sure you can do this as I've seen sites with this functionality, but … Web Development php | |
Hi All, This is the parent issue that led to the post [B]Need help with getDOCTYPE() function[/B] ([url]http://www.daniweb.com/forums/thread196837.html[/url]) [B]USING THE BODY METHOD:[/B] The following code will properly get the viewable window area if no DOCTYPE is specified. [icode]document.getElementsByTagName("body")[0].clientWidth//Height[/icode] [B]OR[/B] [icode]document.body.clientWidth//Height[/icode] If DOCTYPE is XHTML ANY* the above code reports only … Web Development javascript xml | |
Hi all, I am not sure where to start with this one really. I have built the template for my site but, having a few issues in trying to impliment certain things that have to happen. This site needs to have 3 types of user. I am using a generalization … Web Development javascript php | |
Hello, My problem is : I have a .aspx page where I use a ScriptManager and a UpdatePanel. In the update panel I generate controls based on user interactions. My problem is this : when I add dynamically the CustomControl (.ascx page ) in the UpdatePanel ( the CustomControl has … Web Development asp.net | |
hi, there .i am coming up with a login page authentication, however i am getting this error that says[B] 'Type SQl.Data.SqlClient.SqlDataReadercon1 is not defined '[/B] [code] [B]Dim reader As System.Data.SqlClient.SqlDataReadercon1 [/B] <%@ Page Language="VB" MasterPageFile="~/CouierMasterPage.master" Title="Untitled Page" %> <%@ Import Namespace="System.Data.OleDB" %> <%@ Import Namespace="System.ComponentModel" %> <%@ import namespace="system.web.security" %> … Web Development asp.net session visual-basic web-server | |
I have a master page with a treeview and I want to pass the onlick node value to a select statement that exists in the content page(in an sqldatasource control). How can I do that? Web Development asp.net | |
Hello everybody, how do I rank mysql search results by column weighting? thanks for your input. | |
Hey guys, I am intrested in making a web application. I wanted to ask whether ASP.NET is sufficient or should i learn any other language in .NET like C#?? Will ASP.NET be sufficient in making a web application??? | |
Hey guys.. I have been trying to debug this mysql statement for the past 2 hours.. here is the statement: [CODE] $sql1 = "SELECT * FROM cpmip WHERE adid='$a' and ip='$ip'"; $res1 = mysql_query($sql1) or die(mysql_error()); [/CODE] I just can't figure out why this won't work.. it throws the following … |
The End.