Dear All,
I am new to ASP.NET and I am just experimenting a bit with the drop-down list.
I have the following
<asp:DropDownList CssClass="news_paragraph" DataSource="<%# dsCourses.DefaultView %>" DataTextField="courseTit" DataValueField="courseTit" ID="coursesList"...
Dear All
I am trying to do a search function for an entire site based on an Access Database. I have already created a search functionality from particular tables, like for example from the FAQ table:-
if category = "FAQ" then
sqlSearch="SELECT * from FAQ "
sqlSearch = sqlSearch & " WHERE...
Dear all
I am totally new to ASP.NET and I am trying to follow some examples from a book I have bought. However i have encountered the following error:-
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 56...
Dear All,
I am new to ASP.NET and I am trying to install a component in VS.NET. I am following some instructions on how to do it, however I encountered the following line:-
Give full permission rights to the ASPNET user
How do you do that?
Thanks for your help and time
Dear All,
I am trying to write a small banner system and I am trying to get the page from where the banner is displayed. I have tried this piece of code:-
page = Request.ServerVariables("HTTP_REFERER")
however with IE6, it does not work and gives me a blank variable.
Is there a...
Dear all,
I am trying to retreive data from an Access table, depending on the dates chosen by the user. I have 2 list boxes, NewsMonth and NewsYear, and the results are numbers, for example for NewsMonth, June is 6 and for the year it is 2003. Then I am trying to create the sql to retrieve...
I tried to do a tutorial on how to make a Javascript menu, however nothing is appearing on the screen. Can anyone help me please and tell me what is wrong?
Here is the code:-
<style>
.menu a{
color: white;
font: 10pt Verdana,sans-serif;
}
.menu a:hover{
color...
Hi All,
I am trying to do a sub procedure to update the table, so that I can use it in many instances without replicating the code. However I have never used Sub Procedures before and so I am not very familiar with them. Here is my code, which is not working. Can anybody help me out...
Hello All,
I have a problem with the submit button. I have an image as a replacement to the Submit button and then I include an OnClick Method to submit, ie, onClick = formName.submit() and that works fine. However, I have a function checkSubmit that checks that all the fields are entered...
Dear All,
I have done some code in VBScript so that if the date is displayed in the 7/7/2002, or 8/8/2002 format for example, I change that in 07/07/2002 and 08/08/2002 respectively. This is so that I can do some validation on the fields. Now I wish to change the code that I will paste...
Dear all, I have created a function to display today's date in mm/dd/yyyy format and now I wish to display it in the form as soon as the user enters, so by default, if he does not want to change it, there is always today's date displayed.
The function is as follows:-
function getTodaysDate() {...
Dear All,
I have an asp page which allows the user to create a new login name and password. The funny thing that is happening is that on my local server, ie IIS, when testing, the code works fine and it is creating it in the database noramlly. However, when I put it on the proper server...
Hello all,
I am a newbie in ASP development and I have an error. I am suspecting that I have a problem with the delete sql statement in my ASP page, which I cannot figure out what it is. Here is my code:-
'*** Create the sql to insert the e-mail address in the database if not empty
if...
This is my scenario. On the left of the screen, I have a list of news items, which are updated by the user and inserted into a database, and then they are dynamically displayed on screen from the database.
Now what I want is that if a user clicks a hyperlink from the left of the screen on a...
Good morning All,
I have an asp with 2 forms, one that has a Combo Box, and the other to display the items depending on the Combo box. Issa after choosing an item from the Combo box and pressing submit, I call the same ASP and display the items pertaining to that selection. The problem is...
Dear All,
I am retreiving some data from an Access database. My code is retreiving all the fields I want, however, instead of 5 dates, it is only retreiving 3 dates, so I guess I have something wrong with my loop. Hereunder I am attaching the piece of code that is giving me trouble. I...
I am trying to do a small on-line store and I managed to insert the Quantity the user orders into a database. Now what I want it to multiply the Quantity and the Price list and get a Sub Total result and inserting it into the database. Can you please help me cause I am lost?
Thanks very much!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.