Forms Data Controls :: How To Create A Daily TimeSheet In C#.net 2.0
Mar 15, 2010
I'm working on a project where i'm suppose to show the employees about their daily work on time based & This is wot i need exactly.,
i dont want to EDIT or UPDATE further in the TIMELINE
The values will be in SQL Database 2000,i want to get those values from database & display in this time sheet based on their work timing
(eg.) if employee has to meet a person by 10 A.M to 3 P.M,I have to block the cells which falls in that timeline (like GREEN colored box in the figure above)
i'm trying to design an attendance register for pupils in a class for a term (3 months). I wanted to create columns for each day throughout the 3 months in the students table of the database but i feel this is too ambigous. The register will be marked either 'presence' or 'absence' everyday by the class teacher. there will be a gridview with 3 columns (ID, Name & Current date). The current date will have checkbox to mark presence or absence.
I have an application that I am working on. It tracks employee's time. I have a gridview on a page that shows the time a user clock-in and out for the day. The gridview shows data for a 2 week time span (a pay period). Occasionally an employee may have to leave and come back to work. That would require them to clock-in/out at least twice in one day. I need to add a column to my gridview that shows a daily total. I have 5 columns already. They are: date, time in, time out, hours worked, and difference. The hours worked is just using datediff to get the hours worked between the times that the employee clocked-in/out. The difference column takes the hours worked and subtracts if from 8.5hrs to get the difference in hours worked and the acutal scheduled time.
Im not exactly sure how to get the daily total. I am using MSSQL Server 2005 and VB.
I have started this small project but somehow feeling blank all of a sudden. anybody with pieces of code and structure . Project Specifications
 Use an SQL Server Database  Show an entry form after the user presses "Add Event"  Save appointment data to the database after the user presses "Submit"
I have a working timesheet which displays on a webpage, what I was also wanting was to display the previous week and the following also on the same page. I will attach both the .aspx page and the aspx.cs page. I have hardcoded the date into the webpage just for ease of reference at the moment.
I need to maintain daily attendance of every employee ...
Salary is given on 1st of every month , minimum CL for an employee is 12 days in a year. After 12 days , if he or she absent more than 12 days of CL , then deduct from his or her salary amount to be paid next times.
I have a web site in asp.net(C#). And want to add an automatic email sending functionality in it, i.e. an email will be send daily and weekly(both on a particular time) to all the stock holders about the orders details placed by registered users. How can I do this in asp.net(C#)?
I have to write stored proc to get the daily transaction for a specified date. Right now what i do is everytime i log a transaction in table3 I update table 2 with the count. Then i use table 2 to write the stored proc and to get the desired result. I have pasted my stored proc below with the output. My problem is when another subsystem is added in the AppInfo table i need to update my stored proc because i have hardcoded the subsystem name.
A web application works with the database. Once a day, the database should be scanned and alerts should be sent to users. From what I've seen out there, additional project has to be created which will be installed on the server and will work with the same database. Executable created by this project has to be installed in Windows scheduler to be activated once a day.This seems complicated and inefficient: starting additional executable and working on the same database.
I'm new to ASP.net 3.5 and trying to create a test site so I can figure out how to use it in the real world. I have created a FormView (Formview1) based on a Client table using Linq Data Sources. The page includes a DropDownList to lookup Clients. I have added a list option (<asp:ListOption value="" Text="(Select Client)" and set AppendDataBoundItems=true so my added option is displayed. I decided to try to use Formview with only the Edit and Insert Modes, and I have set the Default Mode = Insert. When you open the page, a blank Client record is displayed.
The Client record contains serveral lookup fields and they have drop down lists for each. When I select a client from the Client DropDownList, is get the following message 'ddlClientType' has a SelectedValue which is invalid because it does not exist in the list of items I had this problem before and decided the best way to handle this (in the interim) was to turn off foreign key constraints for each of the lookup fields (e.g. ClientType) in SQL Server. That worked for 2-3 days. Now the problem has started again.
When I develop in other applications, I would simply create a lookup data source based on a Union Query with the actual data and a blank record. How can you do this using Linq DataSources. Can you get access and modify the queries?
i have web application it should create single HTML page . that one HTML page should send to the customers.how to create HTML page .i created one page but it retriveing single record from the databse values . my problem is i have to pull all the records from the database and papulate the HTML page. but i am getting only onerecord on that page.my code as follows
string type = ds.Tables[0].Rows[i].ItemArray[4].ToString(); string WAIVN = ds.Tables[0].Rows[i].ItemArray[0].ToString(); string status = "cdcr"; [code]....
but iam not getting all records only single record only iam retriving
In one of my application, I have around 2000 records which i am displaying in gridview with normal paging.
Now I want to change this paging facility and would like to show a "more" button at the footer(just like [URL] has). The moment user clicks it, the next set of data will be retreived. This will go on till all the records are fetched.
I want to know how we can create a table (or a layout consisting of div's) and poulate it with data from the database. We do this generally using data controls like gridview, datalist etc. But i am restricted by these controls like there is no inbuilt paging with datalist and there is no repeat column in gridview. I just want complete control over the layout as well as the data that goes into it.
I dont know how to do this. Is there anyway of doing it without using the data controls.