473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Design a matrix (rows and column) control in ASP.NET

MSK
Hi

I am trying to design a small WEB application to track the employees
holiday/leave details using .Net technologies ( ASP.NET/ SQL server)

I wan to design a matrix control (using listview,datagrid...etc) like
the following

_________________________________________________
Jan | Feb | Mar .............. | Dec
_________________________________________________
1 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________
2 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________
3 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________. .
...
...
31
_________________________________________________
(just imagine this grid has vertical lines which makes cells for each
entry)

if user selects any cell then I want to change the cell's background
color

How to design a grid to show the matrix values [like the above] also I
don't know which control will be helpful [datagrid, listview..etc] ?
can my requirements [like changing each cell value] be achievable ?

Thanks
MSK

Oct 13 '08 #1
1 2602
how you do it depends on your design choices. are you doing an ajax
application, or server based one with postbacks? changing cell color is just
setting styles, so either will work, though rollover effects will require
javascript code in either case.

if you want to use ajax see the jquery controls, if serverside, see gridview
or 3rd party control if you want effects and don't know dom/javascript.
-- bruce (sqlwork.com)
"MSK" wrote:
Hi

I am trying to design a small WEB application to track the employees
holiday/leave details using .Net technologies ( ASP.NET/ SQL server)

I wan to design a matrix control (using listview,datagrid...etc) like
the following

_________________________________________________
Jan | Feb | Mar .............. | Dec
_________________________________________________
1 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________
2 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________
3 Morning
-------------------------------------------------------------------------------------
Afternoon
_________________________________________________. .
...
...
31
_________________________________________________
(just imagine this grid has vertical lines which makes cells for each
entry)

if user selects any cell then I want to change the cell's background
color

How to design a grid to show the matrix values [like the above] also I
don't know which control will be helpful [datagrid, listview..etc] ?
can my requirements [like changing each cell value] be achievable ?

Thanks
MSK

Oct 13 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Charulatha Kalluri | last post by:
Hi, I'm implementing a Matrix class, as part of a project. This is the interface I've designed: class Matrix( )
6
by: memocan | last post by:
#include <iostream> using namespace std; int x; //global variable matrix int main() { x= new float ; //initialize the size now }
15
by: christopher diggins | last post by:
Here is some code I wrote for Matrix multiplication for arbitrary dimensionality known at compile-time. I am curious how practical it is. For instance, is it common to know the dimensionality of...
2
by: DarrenWeber | last post by:
Below is a module (matrix.py) with a class to implement some basic matrix operations on a 2D list. Some things puzzle me about the best way to do this (please don't refer to scipy, numpy and...
0
by: DarrenWeber | last post by:
# Copyright (C) 2007 Darren Lee Weber # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
5
by: adam.kleinbaum | last post by:
Hi there, I'm a novice C programmer working with a series of large (30,000 x 30,000) sparse matrices on a Linux system using the GCC compiler. To represent and store these matrices, I'd like to...
2
by: angryRotarian | last post by:
Im trying to write a MPI C program for a debian cluster that multiplies matricies. Ive written almost all of it, but cant seem to shake a strange problem. Here is the code: #include <stdio.h>...
0
by: MSK | last post by:
Hi I am trying to design a small WEB application to track the employees holiday/leave details using .Net technologies ( ASP.NET/ SQL server) The following are my ideas... in a web page -...
0
by: MSK | last post by:
Hi I am trying to design a small WEB application to track the employees holiday/leave details using .Net technologies ( ASP.NET/ SQL server) I wan to design a matrix control (using...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.