1,865 Topics
I'm hoping someone can help me here. I have 2 tables in a access database. I'm trying to join certain data points from both, simple. I've done a few joins already for this site. But the problem I'm having is this one seems to be destined to annoy me. [code]sql …
Good morning every one, I want to delete records in my database by using connectingString e.g write id=6 to delete instead of this code[CODE]<% set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open"C:\Inetpub\wwwroot\template\database\database1.mdb" pid=Request.Form("PatientId") if Request.form("Patientname")="" then Set rs = Server.CreateObject("ADODB.Recordset") rs.open "SELECT * FROM Patient WHERE PatientId=" & pid,conn %> <form method="post" action="demo_delete.asp"> <table> …
Hi, I need some help with a project I am working on. I have created a silverlight media player and I have put it on a test .asp web page, it currently plays the video that it was set to play in the silverlight project, but I am unable to …
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
What are the steps/procedure for connecting the database using ADO?
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.
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 …
people plix help me with ASP code for login. am using MSSQL i want users who have registered using their emailadress and passwords to be able to login.
I am a trainee in a company as IT Analyst ,i would like to know more about IT field. Which is the main sector on which i should more concentrate as Servers, Web Designing OR Programming . I am much familiar with ASP, html ,Windows Server 2008 and Learning SQL …
Hey guys, I'm having a "great" pleasure of parsing XML in my ASP page, except I can't seem to figure it out what I'm doing wrong. I have tried a bunch of stuff and can't seem to read a simple xml doc. here is what my code looks like... [CODE]' …
I have a list of questions, each has its own category. I want to be able to select 5 random questions from each category and then display them ordered by category in something like a nested repeat region. I have the sql for obtaining the random 5 for each category …
Hi Friends in my project i have to build file input tag to get pdf file from user. this pdf file should be store on my web server disc and path of the file should be store on database. Hey Guys Please Please Help Me. can any body give me …
Hey Guys! I am having trouble getting my insert and login pages to work and I wondering if any of you had any ideas?? please!!! I need to get this working asap! I have followed directions to get the login page to work and used user authentication server behaviour. When …
Hi, I have an application as in the following, [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender As Object, ByVal e As EventArgs) songNodesOut.Text = String.Empty If Page.IsPostBack Then mess.Text = "<p style='margin-left:-2em'>You selected <b>" & drop1.SelectedItem.Text & "</b></p>" End If Dim file As …
Hi frdz., i have issue here i need to create my own login control and that control should have roles also. if i use the pre defined login controls i can assign roles to it. but while creating the account i dont want those information which is there in create …
How paging is maintani in ASP? and how we include paging in the record?
hello i am using a linkbutton inside a datalist.what i want is:when a user click on this link,it play a song stored in a folder protected void LinkButton1_Click(object sender, EventArgs e) { this.WindowsMedia1.VideoURL = "mistralgagnant.mp3"; } PS:WindowsMedia is the ID of aspnetvideo Thanks
I have been searched a lot..not able to get the correct answer for it..need help
ASP code snippet to detect visitors and monitor their current activity. Monitor and display which visitors are currently visiting which web page, IP number, user-agent, language preference, page referrer and more. In the settings file you can specify for how long to retain the display, for example show visitors activity …
I have a form that writes to a csv file, and then another form that reads from that csv file, after an input field is completed, it must search the csv files and bring back any entries that match the input field. It works with the date field I have …
how do I upload a file into the database from dreamweaver? I have used a file field in the form but will this automatically upload no problems? cheers! GLT
I don't have access to the server where the ASP script resides, thats why im asking this question. Can I have my form process through scripts server, but also send a copy to my email on the form's inputed fields? I've attached the form. Thanks, greatly appreciate any help!
I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [URL="http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print"]http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print[/URL] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an …
Dear experts, I have a TabContainer, and one of its tab panels has a user control with a wide GridView in it. Because of some reason, the GridView goes way beyond the size of the tab panel and the tab container. How can I make the form and the tab …
... and yes, I'm more than old enough to have heard those lyrics when they were first wailed by old Mick himself. I am primarily interested in accessible (W3C WAI, Section 508, Gov't of Canada CLF) design, having been involved in those standardization efforts since the mid 90s. As a …
why i cant submit a form in asp when an object is disabled? I have a form in an asp application that is validated by javascript and one of the conditions is disabling a textbox and when i want to submit the form its not submitted when the textbox is …
how does Vb script help in web page designing and what are its significant features in web page designing?
I know we can move and copy the file within dir. using FileObject.copy and FileObject.move. My question is i am making web application in that application user has to send his excel file into server can we use FileObject.copy for this purpose ? Please Guys Reply Me. Thanks For advance.
Here I try to make a dynamic site, means the content only is displayed in a main part of website.Hmm, all related pages are called by the values that are passed by the URL. Here is my source Firstly, from the main.asp page I add page dynamic_site.asp to show other …
Hello I want to move pictures vertically in ASp page. I will take the pictures from sql data base. but I don't know how I can display them. please help
1. Updation in Records 2. Wild cards 3. Deletion of Records 4. Display attribute of a file 5. File copy 6. Get disk capacity
Program to display configuration of a local system with the help of VB script?
Imagine having a filing system that could withstand a nuclear war. Hmm, I wouldn’t like to prove it, but in theory that is what the Internet could resist with its virtual existence. If you transfer files of information around the Internet, operating in virtual space, it would be difficult to …
The best way for me to explain this is to give this link [url="http://www.realtor.com/FindHome/HomeListings.asp?mlsttl=Pueblo&frm=bycomm&pgnum=1&mls=pueblo&lnksrc=REALRSCF2C0002&js=on&poe=realtor&st=co&areaid=1082004&areaid=1016293&areaid=1024148&areaid=1016300&typ=1&typ=3&mnprice=0&mxprice=100000&mnbed=3&mnbath=2&mnsqft"]http://www.realtor.com/FindHome/HomeListings.asp?mlsttl=Pueblo&frm=bycomm&pgnum=1&mls=pueblo&lnksrc=REALRSCF2C0002&js=on&poe=realtor&st=co&areaid=1082004&areaid=1016293&areaid=1024148&areaid=1016300&typ=1&typ=3&mnprice=0&mxprice=100000&mnbed=3&mnbath=2&mnsqft[/url] When I go there there should be pictures of homes for sale. I get an address that I have to click on that takes me to the picture. I was working fine untill blaze changed my …
I have tried to include a JavaScript asp file into a vbscript asp file, but I did work? I know because they are "incompatible", but I don't know how to solve it!
I have tried to use session to track/ say 'Hello' to the user who is online. However, I'm very new to use this object and actually, I'm still not clear all about the global.asa file. I mean we write all methods about sessions we'll in it , then call it …
I using the value pass from url to open a new page but there are some mistakes, but I cannot find them here is my all files to do that: [COLOR="Red"]main.asp[/COLOR] [CODE] <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …
Hi all, Did a site for a group I belong to. Now they want me to add a login page that would take people to a members only area. Need to be able to validate the users via a database. The only database I have available to me is Access …
Hello, my problem is complicated and my english is limited, sorry for that. i have a website and im writing control panel for it. I've worked with databases too many times and i know what should i do. I have a code like this: [CODE] Rs.Open "SELECT * FROM news", …
I'm trying to study ASP and sql server 2005 to create the website.However, I don't know how to create a table having a column to store the image, I have never tried this before, I don't know sql server 2005 has data type of image or not. hmm, the flow …
code function javascript to swapimage(img1) var str1 = new String(img1); var text = document.getElementById('<%=TextBox1.ClientID %>'); var arr = new Array(); arr = str1.split('/'); document.getElementById(textvalue).src = str1; document.getElementById('<%=addProductImage.ClientID %>').src = "Images/ProductImages/thumb_" + arr[arr.length - 1]; document.getElementById('needToChange').href = str1; question is .. when page load appear problem which is say htmlfile: Invalid …
Hello all, I hope this isn't a silly question. I'm not much of a programmer {gulp} however I have a problem. I have a drop down list with 10 items, all different values. I'd like to be able to pass the value from a selected item in the list with …
hi i want to create to automated ASP scripts. this what i am planing - -user goes to website, inputs the time, clicks submit -the script than should run everday at specified time any suggestion will be hightly appreciated
[CODE]SqlConnection con = new SqlConnection(connection string); SqlCommand cmd = new SqlCommand("select bookfile from books where bookfile='....' " , con); con.Open(); SqlDataReader dr = cmd.ExecuteReader(); if (dr.HasRows) { // Is Exist }[/CODE] this code is for check whether a book file is exist in database?
So I took over an existing website that has three domain names and only one actual web site (one hosting package). The DNS is setup so that going to [url snipped] takes you to the main website that we are and have been promoting - [url snipped] We're using Windows …
Hey guys im having an issue with a text file going past the end of file when its reading the lines even if there is text inside it... [CODE]<% // Gets the request var strQuery = Request("Show") + ""; var fso = Server.CreateObject("Scripting.FileSystemObject"); var errorMsg = false; var strError = …
I keep getting this error: Procedure 'cnpcpiFarmFormAssignField' expects parameter '@chUserId', which was not supplied. [CODE]if request.Form("hidAction") = "" and request.QueryString("sid") = "" then sFormAction = "New" else Set cmd = Server.CreateObject("ADODB.Command") with cmd .ActiveConnection = DataConn .CommandType = adCmdStoredProc end with 'On Error Resume Next if request.Form("hidAction") = "New" then …
just want to know how to edit the asp files or any files on ftp? THANKS
Hi Folks, I have a test.aspx page, which creates dynamic text boxes according to some condition, in following way.... TextBox t1; //Declared at class level button_click(...) { .. . . while(someCondotion) { t1 = new TextBox(); t1.ID = "TextBox" + count; ProductPanel.Controls.Add(t1); } . . } //button click ends now …
The End.