this may seem like a very basic question but one I could do with having answered!! I have an the following array TableArray(20, 100) and I need to start off with all elements in the array to hold the value 1. Is there a simple way of doing this or do I have to loop throuugh the array setting the values?
i have one array of string and it contains 51 elemnts. it will get bigger and bigger but i want to read these array ellments from a text file.this is possible?
Is it possible in ASP to have an Auto Fill option? For instance, if I am typing in a name and I type in the first few characters, can ASP recognize a similar name in the database and begin filling in the rest of a possible match?
ive got an online system which allows people to enter info into a database about an absence request they have - at the same time this emails the person in charge of absences.
The form is setup now but to make it easier i want to alter the "Name" and "email" fields so they require no filling in ie - a staff members name will be chosen from a drop down list (ive done this bit fine) and then once this is done the relevant email for this person is automatically placed in the email field. This bit i am struggling with - anyone any ideas how this can be done??
its enclosed in a loop with the counter element increasing to the given total and its meant to set the value of the text box (the session variable) to display the value.
in plain ASP and html all thats needed for the normal input box to display a session value is :
I do not have too much experience developping ASP.NET. I need to fill a dropdownlist with all the color of the system, I know how to do it by hands, one by one. : But there are like 200 hundred colors, then
I am currently developing a web form for the transfer of assets between departments, which will store information in an Access database. I currently have the form created and I am working getting the transaction processing portion of it going.
Basically, there is a minimal amount of information that needs to be entered into the form and I would like the rest of the information to auto-fill. So for instance, I would enter the asset number of the asset to be transferred, and said asset's serial number and description would fill in automatically. I have go this working in Access, but I'm at a loss for how to do it with ASP.
I think that I need the script to execute after a change is made to the AssetNo field, but I have not been able to get it to work how I want. Code:
I have created a word template(.dot) with several bookmarks but know I don't know how to fill this information from the asp page. I have to retrieve the information from the database and fill the information in the word document Code:
I would like to make a form that multiple people can access and update at same time with their web browser. The form would have fields that each wouldfill in and I would like for all to see what the others fill in. Is there an automatic way or would they have to refresh?
I'm using Visual Web Developer Express 2005 to get me started - probably a bad idea I'm told. Anyhow, I've connected a drop-down list ('Components') to a column in a SQL DB, and, upon selection, the resulting gridview is being generated as I hoped (with the corresponding 'Applications').
However, I would like each of these resulting rows in my gridview to be "clickable" as a hyperlink so that I can display each of the applications details on another page. If someone could enlighten me as to whether/not this is even possible, and if so, how?
I am aware of how to create elements, attributes on the fly with the Microsoft.XMLDOM however I was wondering if anyone had any examples of how you could extend this to insert the content created in to an existing node.
Eg
<root> <section> <- INSERT ELEMENT HERE -> </section </root>
In my ASP page I have a set of menus on the left side and list boxes just on its right side. Whenever I click on a menu and the submenu appears it gets hidden under the listboxes and cannot be read properly.
The page design cannot be changed at this point of time and the listboxes cannot be moved to any other position of the page. So is there any property or function so that I can make my menu elements appear above the listboxes.
I am setting up a asp page so that a database can be added, updated, and deleted from, when the user choses to update and already existing record is there a way to search and get the information to fill the form with the current information so then you can just change what needs to be and click update.
I am still also trying to figure out how exactly to make the sql statements for the update and delete buttons.
I have an asp page right now and I want to fill a drop-down list with information like a persons name from an xml file. Once the user picks a person from the drop down list I want it to go back to the xml file and load the information about the person into textboxes. Does anybody have an example for something like this in asp?
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?
I have this form that collects text values and I use VBCrLf as delimiters to tell one element from another. Sometimes, I get several empty elements. Is there a way to remove those elements?
I have an html file where I put a date (im_lixis) in a form and I also have an asp file that checks this date and if this date exists in my table timologisi in ms access I want to display all the recordsets with this date.
I dont know what I'm doing wrong... but when I run it.. it takes some time and then tells me that I got out of time ... without telling me if I have something wrong in some line Code:
Does anyone know how to get the number of input tags contained in a div tag? I am trying to build a dynamic list of checkboxes from a database and I don't know how many checkboxes i have until the form is built to do some validation.
Probably using client-side javascript - something like
var obj = document.all.tags("div").item(0) var mydiv = obj.id.indexOf("chk0100")
But I am not sure how to specify the name of the input tag. I dont know what the above statement does.
i have three boxes to display date.dd/mm/yyyy format.1 box for dd 2 for mm 3 for yyyy.suppose today's is 25 july 2005.now i want to fill this box date from 24 july 2005 to prevous month 25 june 2005 .means each time one month back of current date.
how can i get two text boxes to fill from a users selection from a dynamically filled drop down list.(called from a database)
i can create the drop down no problem and call the data from the database just how do i getthe page to refresh and auto fill the other two fields depending on the users selection
I have all data already collected on the current page? I want to open another window with the form, fill the fields and submit that form. So basically the question is how can I fill all fields and submit the form on another window.
Is there any way to extract the form elements' value without submitting the form. I want the value of the form element be used in the script written in the same page without submitting the form.
I have an access database called contact.mdb and I have linked to it just fine and used the records held in it to populate a datagrid and can update and delete records.
I don't understand databases that much but I would like to read the values into a drop down menu which are held in the field 'ID' from a table called 'courses'. I have a feeling it is something to do with data sets but am not too hot on these either.
i retreived my data's in the database and i filled in my combobox, in that there is know "all" option in database,but i need that option has to be included in my combobox, so it has to be added statically, please give me coding to add that in my combo box statically. my combobox name is "selSchemeNo" .
Why won't this code work - the "id" fields are autonumbers
Code:
<select size="1" name="Agent" tabindex=""> <option value="Select">Select Owner</option> <% x = rs("id") Do While NOT rs2.eof y = rs2("id") Response.Write "<option value='" & rs2("id") & "'" If x = y Then Response.Write " Selected" End If Response.Write " >" & rs2("first") & " " & rs2("last") & "</option>" & vbCrlf rs2.MoveNext Loop %> </select>
I have a master page with one Content Pane, on the left is a Nav bar that has a Login View in it so if the person is an Admin they see on thing if they arn't they see another.
For the regular users I have a gridView that displays a lists of dates pulled from the database. I want to access the selected value there normally if it was inside my content page i could just do Code: