Hi,
I use ASP.NET 2.0 and SQL Server 2005. I try to create calendar control
which loads all the holidays from a SQL Server 2005 table, and on the
calendar , all the holidays will displayed. I saw some code on the Web hard
coded holidays, then populate on the calendar. Is it possible to do calendar
data binding?
Thanks
kai 2 5190
Hello Kai,
The calendar control which comes with Visual Studio does not support
databinding -you need to use the DayRender event to affect databinding. The
wonderful people at OdeToCode have written an article which might be of
assistance to you: http://odetocode.com/Articles/223.aspx.
--
enjoy - brians http://www.limbertech.com
"kai" wrote:
Hi,
I use ASP.NET 2.0 and SQL Server 2005. I try to create calendar control
which loads all the holidays from a SQL Server 2005 table, and on the
calendar , all the holidays will displayed. I saw some code on the Web hard
coded holidays, then populate on the calendar. Is it possible to do calendar
data binding?
Thanks
kai
Thanks Brians.
"brians[MCSD]" <br********@dis cussions.micros oft.comwrote in message
news:DC******** *************** ***********@mic rosoft.com...
Hello Kai,
The calendar control which comes with Visual Studio does not support
databinding -you need to use the DayRender event to affect databinding.
The
wonderful people at OdeToCode have written an article which might be of
assistance to you: http://odetocode.com/Articles/223.aspx.
--
enjoy - brians http://www.limbertech.com
"kai" wrote:
>Hi, I use ASP.NET 2.0 and SQL Server 2005. I try to create calendar control which loads all the holidays from a SQL Server 2005 table, and on the calendar , all the holidays will displayed. I saw some code on the Web hard coded holidays, then populate on the calendar. Is it possible to do calendar data binding?
Thanks
kai This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jeff S |
last post by:
I would like recommendations for implementing a calendar in an ASP.NET web
site. My plan is to store date and event information (e.g,, "Spring Sale")
in a database, and when the page is requested, load the calendar. Users
would ideally view an entire month, and a short description of an event
within a specific date. More than one event will be listed for some dates,
with a brief description displayed in the calendar. I'd like to enable...
|
by: Miguel Dias Moura |
last post by:
Hello,
i am trying to create a .css file with several styles and apply them to the
calendar control so i can change the look of:
1. Text Type and Format (Bold, Underline, etc)
2. Background Color
3. Foreground Color
4. Border Tickness
5. Border Color
|
by: bill yeager |
last post by:
I would like to place the currently selected date
(retrieved from the database) on a calendar control which
is embedded inside a datagrid. However, I can't find the
ID of the control to do so. During the "Edit" command of
the grid, I have the following code:
<code>
If e.CommandName = "Edit" Then
Dim myDatagridItem As DataGridItem
Dim lblStartDate As Label
Dim lblEndDate As Label
|
by: maxrawson |
last post by:
First, let me start by saying my asp.net experience is still in it's
infancy so please bare with me as I try to explain my situation.
I have created a single page that with the use of many controls (i.e.
roundedcorners component www.4guysfromrolla.com], buttons and
panels) functions like a tab control. The buttons are programmatically
designed to make the corresponding panel visible.
Sample aspx.vb code:
|
by: Caesar Augustus |
last post by:
First, let me start by saying my asp.net experience is still in it's
infancy so please bare with me as I try to explain my situation.
I have created a single page that with the use of many controls (i.e.
roundedcorners component www.4guysfromrolla.com], buttons and
panels) functions like a tab control. The buttons are
programmatically designed to make the corresponding panel visible.
Sample aspx.vb code:
| |
by: Hutty |
last post by:
I'm trying create a calendar control that updates an access database with
events. I have some code I managed to piece together. First error I'm
running into is the Mycommand.ExecuteNonQuery(). I get an error on this line
as it looks for the query. Here's the first piece of the code where I'm able
to get display calendar and the input boxes. Just trying to write back to
database. Thanks in advance.
Public Sub Page_Load(ByVal Sender...
|
by: Ben |
last post by:
I have a javascript code in the ASP.NET page.
I want to access Calendar control that is inside ASP page and is "run
at server".
I try to use following code but it doesn't work.
<script language="javascript">
function valSubmit()
{
document.getElementById("Calendar1").style.visibility =
|
by: markclinn |
last post by:
I am trying to use the calander control to pick a date and retrieve information from a database. When a date is clicked on, the page re-loads, with the selected date, gets the informatino from the database and creates a graph. The problem that I am having is that when you pick the "<" or ">" to navigate to a new month the page reloads with the current month. How do I get around this?
<%@ Page Language="VB" %>
<script language="VB"...
|
by: thorpk |
last post by:
I posted this problem earlier in the month and some one decided it was
better to change the subject and ask a completely different question.
I am therefore reposting. I am hoping some one can assist with this.
Thanks in advance.
I have an access database that i have added a pop up calendar to, the
Table information for the Date Reported field is
Date/Time
format short date,
input mask is 00/00/0000.
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |