943,929 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1772
  • ASP RSS
Aug 8th, 2007
0

TimeSheet

Expand Post »
I have created this table and is accessing it via an aspx web form. I would like to know if it possible to update the table sending the update data to a different table in the database. If Yes how do I accomplish that?
Trafmore



CREATE TABLE dbo.TimeSheet(
dt SMALLDATETIME PRIMARY KEY CLUSTERED,
isWeekDay AS CONVERT(BIT, CASE
WHEN DATEPART(dw, dt) IN (1,7) THEN 0
ELSE 1 END),
Hours_On_Duty VarChar DEFAULT 10.0,
UnpaidOT VarChar,
PaidOT VarChar,
Admin VarChar DEFAULT 10.0,
Court VarChar,
INSTR VarChar,
STDNT varChar,
COMM_SERV VarChar,
VICT_SERV VarChar,
Remarks varChar
);
GO

DECLARE @dt SMALLDATETIME;
SET @dt = '20070101';
WHILE @dt<= '20071231'
BEGIN
INSERT dbo.TimeSheet(dt) SELECT @dt;
SET @dt = @dt + 1;
END
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
trafmore is offline Offline
4 posts
since Aug 2007
Oct 8th, 2008
0

Re: TimeSheet

You could try Pacific Timesheet. Great product and user iterface. Support iPhone, time clock, online ASP, etc.

http://www.pacifictimesheet.com

<a href="http://www.pacifictimesheet.com">Pacific Timesheet - Web Time Tracking Software</a>

John
Reputation Points: 10
Solved Threads: 0
Newbie Poster
johnshedlock is offline Offline
2 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Configuration
Next Thread in ASP Forum Timeline: What to do now ???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC