I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in.see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it ....
I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in....
Please see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it. Code:
I have a table which views fields from database to users. I have the edit and delete links in each row. My question is how do I get the id of the row in the url to use in the action page?
I have a dynamic html table. I want to write the code to edit rows in the table. Right now I can't change anything in the table. How do I make the rows so they can be selected and changed.
I have tried to edit table in html page with asp, but I havent succeeded in it. The pupose was to check with "if" function that does the variable fit into certain number array. For example:
if data1 < 100 then "change the colour in a certain cell in a HTML table end if
Is it possible to change with asp the properties in a html table? The purpose was to change the colour in a certain cell if the condition in the if function does not match. And if it is possible.. how I can point to a certain cell and change the colour in it.
I am using a db to hold student data records. I currently display them in a roster based on their affiliation with a certain class. To edit a record I need to click the name of an individual, it opens an edit page, I make the changes, hit submit and return to the roster.
This is pretty standard stuff. What I would like to do is change one field of every record without opening each record individually. The idea comes from my Fantasy Fball league roster:
Where the example above says "ActiveReserve" is a pull down menu that lets me change who is playing week to week. I can then change each record, hit submit one time, and update the db. So how do they do it?
I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server.I believe the reason is that the instruction
<authentication mode="Windows" />
is missing.
In asp.net I would put this instruction in web.config, but since the code is in an earlier version of asp (the code is at http://www.hypergurl.com/verticaltext.html) I don't know how to include it.
I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.
I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode
i tried to open an exe through a shortcut from an ASP page. although the exe shows in the task manager i cant see its UI.can anyone help me with it. i used the following code
cmdExe = "D:DevWalkwire est.exe" Set WshShell = Server.CreateObject("WScript.Shell") WshShell.Run (/c cmdExe) Set WshShell = Nothing
i have searched through a ton of past posts in an effort to find the answer to my problem but so far have come up with nothing. The problem I am experiencing is with VS6, visual interdev on windows 2000, with IIS.
When ever i attempt to debug my asp web app the debugger will step into the code and will start an Iexplore.exe process, but not actually make internet explorer visible.
Does anyone know any way round this I have spent loads of time trying to sort it already.
I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online . I want them to fill data and images offline and then send them online.
but i have a problem regarding the images i want it to be sent to the web site So i want if there is a possible way to fill data offline and this will put it in offline database then on browsing images it'll be sent online and at the same time put on their location i adjusted offline . So how can i put Images at a desired location Offline and at the same time upload them online .
I am pretty new to asp.net, and have recently taken over a project. I have gotten to the point where I am about to release my changes, but for some reason when i build the project in release mode and launch in in IE I always get a "The Page cannot be displayed" page instead of my login form.
Anyone have any ideas? The applciation works fine in debug mode, its just in release mode that this happens.
We have an webservice application that has a memory leak when the application is compiled release mode. However, when the application is compiled in debug mode it does not exhibit a memory leak.
We are running .net 1.1 compiled with VS 2003.
The application does reference an unmanaged dll that provides security functionality. This dll is instantiated once and referenced on every web service call.
how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..
When searching through code in Vis. Interdev 6, when in the Find dialog, it listed the results in the results pane below. The cursor didn't change position to the next found item until you clicked on a line in the results.
This is actually a nice feature that I haven't seen before - all the matches show up at once in a list, with a column containing the text for the line the string was found in, so you can quickly see the context of the match.
Anyway, the first couple times I used CTRL-F, I saw a results pane. Then I must have changed something without realizing, because now when you search, no results appear in the results pane, but the cursor moves in the editor window. This is the behavior I am used to with Vis Studio 6, but I would prefer to turn the results pane back on.
At the core of my DB schema is a request table. This entity has one or more assignment records and each assignment record has one or more assignment log records. The log tracks assignment actions such as hold, release, open, close, etc. In VB, I would normally create Request, Assignment, and AssignmentLog for the data. I would also create two custom collections for Assignments and AssignmentLogs. Given any Request ID, I could populate everything else with encapsulated queries and recordsets. The request object could implement properties to give the currently assigned helper, open state, elapsed time, etc. My question to you is; how to I implement this model for the Web? As I understand it, web objects are stateless. If my request object can't persist its data in memory, then does it have to fire a query every time the caller wants a property value? Will I always have to pass the RequestID in as a parameter?
I want to write a shop content management system in ASP.However the database holding the products for sale will be on a different pc to the webserver.I do not want the remote webserver pc to authenticate against the sql server.
Ideally the cms should produce static html pages which could be indexed by a search engine.So far,the most likely solution will be for the web pages to include javascript includes which will reference an asp page on the same machine which houses the sql server, this will then insert the values into the web page at run time.
I could make it so that the sql server PC creates the entire website, then automatically ftps' it to the remote website - however the problem here would be that the ftp would probably go wrong a lot and generate loads of support calls.
which is a better model to implement to design a database with all the constraints during the design of tables, etc, etc or to write the code ( in asp ) and implement the constraints needed when storing data by means of the code.
I will have a web site where hotels can list themselves on it.One thing I am encountering that is a challenge, is that every hotel has different types of rooms. Also, every hotel has the normal high and low seasons, and some even have more seasons such as shoulder, weekend, etc. which affect room rates. So here is how I concieve the design: First, allow hotels to specify how many seasons they have, perhaps with a drop-down box of values such as 1,2,3...6,7 etc. They would then be presented with a series of text boxes, and asked to define the season, such as "High" "Low", etc. Adjacent to every season would be a beginning and ending date for that season. Next, they would be asked how many types of rooms they have, such as a drop down with 1,2,3,....5,6,7. Once decided,a form would present itself with form fields for the each room, such as description, ameneities, and most importanty, rates PER season. The seasons would be defined from previous step and would be unique for each hotel. Once complete, this would give a web site where I could list hotels and each would have its seasons, rooms and rates listed uniquely.Is this a good concept?
yet my colleague can? (when looking at exactly the same page - same destination folder etc) Is there some sort of setting, so that you dont only see those small yellow ASP blocks when looking at the design view, and see the layout of the page , with the tables etc? I realise that most of you gurus dont use the design view at all, but it is something that using ASP,
I need to have a webpage that starts off with content down the side and along the top, when the respective top and side have a value id like it showing up at where the side and the top meet. I had tables in my database that linked up and when I ran a form with a subform it seemed to work well.
But I cant seem to get anywhere close to pulling the data down correctly to a webpage so help.Its difficult to kinda explain what I want to do and I seem to be having a difficult time making it run properly.
how most of ya'll design your databases and why in that particular way? I'm specifically interested in setting up tables in which the data are linked.ie:table1 contain registration information and table2 contains account information and comments.
How would I link these? I'm thinking using a standard primary such as autonum and when they register to write to the two tables but i might be mistaken.
I have customers that I designed a site for. I am almost complete with the site, and they are saying that the font is too small. However, on my computer it looks just like the font on devshed and everyother site. Are there any suggestions out there, as to maybe their settings are messed up or my scripting is bad .
I am currently creating an intranet application, in which the staff will be able to create their personal profile uploading their pictures and such. Now i have tend to act cautious when users need to upload their picture. i have set the maximnum size to 30kb.
my project manager seem to think otherwise saying this might discourage pple from using the application. I need some advice though as regards the maximum size of the picture. Also, does ASP has any inbuilt object that can resize a picture before storing in a database.
I have coded my pages in HTML and named them as ASP. I would like to use a trailing string i.e. domain.com/page.asp@somthing=4 . which pulls from a database of plan names and corresponding prices over a user selected interval. I want to offer pricing over these intervals:
1month 3months 6months 12months 24months
with a percentage discount being offered for each greater length of time. The user should be able to use radio buttons to select how to pay and after this a paypal button should be generated with the designated amount.
Now that I have layed out what my intensions are, does anyone have any ideas of how to complete my goals using ASP? and if ASP will not do the trick does anyone know of a better/differnat way to do this.
I need some help optimising my object design. Since one article has 1+ authors, I assume the logical way to represent this is for my Article object to have a Authors property, of type "array", capable of representing any number of authors.
The code I have written (below) works, but is very inefficient; if I want the asp page to fetch a list of 30 authors using GetAuthors(30), there will be a total of *31* calls to the database - one call in GetArticles(), and one call to GetAuthors() for EACH article! Code:
I have an array of records, would like to put them into X no of tables depending on the number of records. The max X is 3. For eg, i have 15 records in the array
I would to have record 0,3,6,9,12,15 in table 1,record 1,4,7,10,13 in table 2, record 2,5,8,11,14 in table 3.
I tried to use 3 for loop, it did the job but is there a better way to do.?
We have a cart we built using sessions, it has been fine until now where our server times out at 20 mins no matter what we or the server techs do, so now we want to redesign the cart using tables soley, can this be done?
If so is there any disadvanages of doing this? Anyone know of a tutorial to do this so we can get started?
I'm using GET to pass variables from a page that consists of 20 choices that each redirect to a different page. I had originally planned on making 20 form, which would allow me to use jpeg images for the buttons.
The problem I am having is if you put forms one under the other, the browser puts a carriage return between them...and it's making my page much larger than I would like. Is there a way to pass the variables using GET(or any other method) that would allow me to use links instead of images?
This string is supposed to provide all records from an MDB database that match the courier and date specified in the query. I Response.Write the query and I get a date as 1/27/2007. The date format style is exactly the field specification as I see in the MDB Date field in the Courier table. The data for this query exists - both the courier and date that I'm selecting. However, when the file continues processing and the results are displayed - no data! What am I doing wrong here? Why would an MDB not understand a date format of mm/dd/yyyy if that is what I'm explicitly seeing in the field of the table? There are no constraints on the field design.
'<snip of the code> cfedexSQLstr = "SELECT * FROM Courier WHERE Courier.Courier = 'Fedex' AND Courier.Date = " & strDate & ""