Server Intellect

Using the Calendar Control as a Diary in ASP.NET

Category: ASP.NET

Creating a Calendar-Controlled Diary in ASP.NET with C#

Introduction

In this article, we will look at using the Calendar control as part of an interface to manage a diary-type application. In conjunction with the FormView control, we will use the Calendar to display diary entries for specific days. We will highlight each day that has a diary entry, and the user will have the ability to add entries on any day of the calendar. In addition to the two controls already mentioned, we will also use two SqlDataSource controls; one for the calendar control, and one for the FormView control. We will use the FormView to insert and update records in the database.

Server Intellect offers Windows Hosting Dedicated Servers at affordable prices. I'm very pleased!

What we will learn in this article:

  • How to use the Calendar control to interact with a database;
  • How to customize the look of a Calendar control depending upon database data.

Getting Started
We will start by creating a new C# project in Visual Studio.NET 2008. If you are using VS.NET 2005, you can still create this web application, but some additional steps may be required that are not covered in this article.

Once we have our project created, we will go ahead and add a SQL Server Database. Right-click the App_Data folder in the Solution Explorer, then click Add New Item.. SQL Server Database. You can leave the name as Database.mdf or give it a name. Once the database has been added to our project, go over to the Server Explorer (left side, usually) and expand the Database we just created, then right-click the Tables folder and choose Add New Table:

We will create three columns in this table - id, date, and todo. We will make the id the Primary Key and also the Identity Specification in the Properties. They should have the following data types:

Try Server Intellect for Windows Server Hosting. Quality and Quantity!

Now we have set up our database, we can start building the web application. We do not need to add any entries to the database - we can wait until our application is built to do that.
We will begin by adding our Calendar control. Either drag a Calendar onto the design or code view from the toolbox, or simply type in the code view:

<asp:Calendar ID="Calendar1" runat="server" DayNameFormat="Shortest">
</asp:Calendar>

We can customize the look of the Calendar by going into design view and clicking the Smart Tag and choosing Auto Format. We will also be adding more attributes to the tags a little later. So let's move onto the SqlDataSource controls.
We can drag two onto our design or code view from the toolbox on the left.

<asp:SqlDataSource ID="todoSrc" runat="server">
</asp:SqlDataSource>

<asp:SqlDataSource ID="calendarSrc" runat="server">
</asp:SqlDataSource>

We name one for the calendar (to select all entries) and one for the FormView (to select entries for a particular day, update and insert). Now that we have added these to our ASPX page, we will configure them to communicate with our database. Goto design view and click on the Smart Tag of the first SqlDataSource (for the FormView), then click on Configure Data Source.


[Click to enlarge]

asdfasdfasdf

Choose the Connection String from the dropdown and then hit Next. Here, we want to choose to Specify custom SQL statements, hit Next.
We will be adding custom SQL queries for each one of these tabs: SELECT, UPDATE, and INSERT.

SELECT
SELECT * FROM tblDiary WHERE date=@date

 

UPDATE
UPDATE tblDiary SET todo=@todo WHERE date=@date

 

INSERT
INSERT tblDiary (date,todo) VALUES (@date,@todo)

Once these queries have been entered into the correct box, hit Next. You should now be presented with the Parameters window. This is where we define the parameters which will interact with our database. That is, when we use the SELECT query, we will be passing the SelectedDate value through the query to the database to retrieve only the diary entries for that particular date.


[Click to enlarge]

Server Intellect assists companies of all sizes with their hosting needs by offering fully configured server solutions coupled with proactive server management services. Server Intellect specializes in providing complete internet-ready server solutions backed by their expert 24/365 proactive support team.

So make sure the Paramter Source is set to Control, and the ControlID is set to that of the Calendar. Finally, we can click Next again and then Finish.
Then we move onto the second SqlDataSource - let's do the same; click the Smart Tag and choose Configure Data Source, choose the Connection String from the dropdown and then we can just select the date column from the list:


[Click to enlarge]

This is because we are using this data source for the calendar, and for this, we just need to retrieve the dates from the database - so we can highlight the days the have entries in teh database.
Now that we have finished configuring our DataSources, they should look something like this:

<asp:SqlDataSource ID="todoSrc" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
InsertCommand="INSERT tblDiary (date,todo) VALUES (@date,@todo)"
SelectCommand="SELECT * FROM tblDiary WHERE date=@date"
UpdateCommand="UPDATE tblDiary SET todo=@todo WHERE date=@date">
<SelectParameters>
<asp:ControlParameter Name="date" ControlID="Calendar1" PropertyName="SelectedDate" />
</SelectParameters>
<InsertParameters>
<asp:ControlParameter Name="date" ControlID="Calendar1" PropertyName="SelectedDate" />
</InsertParameters>
</asp:SqlDataSource>

<asp:SqlDataSource ID="calendarSrc" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT date FROM tblDiary">
</asp:SqlDataSource>

You'll notice that we have two parameters for the SQL queries - one for select and one for insert, which are both the same. The reason we do not need these parameters for the update query is because we will be using the FormView Update Command, so we will just bind the variables with that template. We do this by defining an EditTemplate for the FormView:

<asp:FormView ID="FormView1" runat="server" AllowPaging="false" DataKeyNames="date"
DataSourceID="todoSrc" DefaultMode="Edit">
<EditItemTemplate>
<asp:Label ID="lblTodo" runat="server" AssociatedControlID="txtTodo" Text="Entry:" />
<br />
<asp:TextBox ID="txtTodo" runat="server" TextMode="MultiLine" Columns="30" Rows="5"
Text="<%# Bind('todo') %>" />
<br />
<asp:LinkButton ID="butUpdate" runat="server" Text="Update" CommandName="Update" /><br />
<asp:Label ID="lblEditStatus" runat="server" />
</EditItemTemplate>
</asp:FormView>

If you're looking for a really good web host, try Server Intellect - we found the setup procedure and control panel, very easy to adapt to and their IT team is awesome!

Notice that we assign the DataSourceID to the datasource with the parameters. Within the template, we create a form to allow editing of existing diary entries - we provide a textbox, which we bind the todo column to, and then also add a linkbutton to update the data. We assign this the CommandName of Update to ensure that we use the built-in functionality of the FormView.

We also need to create a template for inserting new entries. We can do this with the InsertItemTemplate tags:

<asp:FormView ID="FormView1" runat="server" AllowPaging="false" DataKeyNames="date"
DataSourceID="todoSrc" DefaultMode="Edit">
<EditItemTemplate>
<asp:Label ID="lblTodo" runat="server" AssociatedControlID="txtTodo" Text="Entry:" />
<br />
<asp:TextBox ID="txtTodo" runat="server" TextMode="MultiLine" Columns="30" Rows="5"
Text="<%# Bind('todo') %>" />
<br />
<asp:LinkButton ID="butUpdate" runat="server" Text="Update" CommandName="Update" /><br />
<asp:Label ID="lblEditStatus" runat="server" />
</EditItemTemplate>
<InsertItemTemplate>
<asp:Label ID="lblTodo" runat="server" Text="Entry:" AssociatedControlID="txtTodo" />
<br />
<asp:TextBox ID="txtTodo" runat="server" Text="<%# Bind('todo') %>"
TextMode="MultiLine" Columns="30" Rows="5" />
<br />
<asp:Button ID="butInsert" runat="server" Text="Add" CommandName="Insert" />
<br />
<asp:Label ID="lblInsertStatus" runat="server" />
</InsertItemTemplate>
</asp:FormView>

Now if we run this application, we are unable to add new entries to the database. This is because the default mode of the FormView is edit, so it will only currently show any existing entries. We can solve this by adding a button to the form to enable us to switch the the insert mode of the FormView:

<asp:Button ID="butAddNew" runat="server" Text="Add New" onclick="butAddNew_Click" />

We can double-click the button in design view to create the onclick handler, and then add the following code to switch the FormView to insert mode:

protected void butAddNew_Click(object sender, EventArgs e)
{
FormView1.ChangeMode(FormViewMode.Insert);
}

We used over 10 web hosting companies before we found Server Intellect. Their dedicated servers and add-ons were setup swiftly, in less than 24 hours. We were able to confirm our order over the phone. They respond to our inquiries within an hour. Server Intellect's customer support and assistance are the best we've ever experienced.

Now we have finished the majority of our form, we can complete the Calendar control. We can customize the look with the Auto Format method mentioned earlier, and we also want to add an event handler. Go into design view and select the calendar. Click the Events button (lightning icon) in the Properties window then double-click on the DayRender and SelectionChanged events. This will create handlers in the code-behind for these events, meaning we can add code here to run when these events occur.

The DayRender event is called for each day the calendar will be displaying, when it is being rendered. This is where we will set the highlight for the days that have entries added to them.

DataView todo = new DataView();

void Page_PreRender()
{
todo = (DataView)calendarSrc.Select(DataSourceSelectArguments.Empty);
todo.Sort = "date";
}

protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
{
if (todo.FindRows(e.Day.Date).Length > 0)
{
e.Cell.BackColor = System.Drawing.Color.Red;
}
}

We simply set the back color of the cell if there is an entry in the database with the same date as the one that is currently being rendered.
The SelectionChanged event is called when a new date is selected by the user. When this happens, we want to change the view of the FormView to edit so that any existing entry is displayed. If there isn't, then we can use the Add button to add a new entry.

protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
FormView1.ChangeMode(FormViewMode.Edit);
}

We can also set the calendar to display today's date easily by including this in the Page Load event:

protected void Page_Load(object sender, EventArgs e)
{
if (Calendar1.SelectedDate == DateTime.MinValue)
Calendar1.SelectedDate = Calendar1.TodaysDate;
}

If you're ever in the market for some great Windows web hosting, try Server Intellect. We have been very pleased with their services and most importantly, technical support.

Now if we run this web application, we will be presented with a calendar which we will be able to attach note entries to any day we select.

What we have Learned

We have learned how to use a Calendar control as an interface to store data in a database.

Attachments



Download Project Source - Enter your Email to be emailed a link to download the Full Source Project used in this Tutorial!



100% SPAM FREE! We will never sell or rent your email address!

Leave a Comment

Comments on this Article

Post a Comment
Name:
Website:
Email:
Comments:

#1 John

Posted By: John | 10.21.2008 at 10:33 PM

Very nice indeed!

But I need this in VB..

Thanks.

#2 CareySon

Posted By: CareySon | 11.10.2008 at 7:25 AM

it was really awesome~!~!

#3 vijayvardhan.Ravela

Posted By: vijayvardhan.Ravela | 12.01.2008 at 10:23 AM

very good site for the developers

#4 Sastry vsrv N

Posted By: Sastry vsrv N | 2.02.2009 at 4:44 AM

Nice

#5 Amitesh sinha

Posted By: Amitesh sinha | 2.05.2009 at 11:36 AM

i find it very help full for me....can any one can solve me a problem...?

i wana create a calender type of luk to a project and i wana add few controls on each cell of the calender....??

which will be the easiest way to do so....?

thanks....

#6 minakshee pandey

Posted By: minakshee pandey | 4.07.2009 at 9:08 AM

hi i want to make a project on timetable management of college.

so there is a need for the format of timetable so by using the calander control can i make it.

and i have to store this timetable into database also and updation is also necessary.

is it possible in asp.net?

please reply in the above email id

#7 David Lewis

Posted By: David Lewis | 4.07.2009 at 9:22 AM

Minakshee Pandey,

ASP.NET will definitely allow you to do this. If you have questions, join the forum for help.

#8 Dulwan Baddewithana

Posted By: Dulwan Baddewithana | 4.08.2009 at 9:41 PM

WOW....fantastic..Keep it up.

#9 How to play craps in Vegas

Posted By: How to play craps in Vegas | 6.24.2009 at 1:54 AM

I tried the code with C#, and it works very well. However, when I selected a day in another month, the calendar closed before I can select a day. Which means I can only select a day in the current month dropped down from the calendar. So please if you would, send me the codes or show me how to be able to select a day in another month without having the calendar closed before I can select a day in C#. Thanks.

#10 Affordable degree

Posted By: Affordable degree | 8.29.2009 at 12:21 AM

We have been very pleased with their services and most importantly, technical support.

#11 Online Bachelor degrees

Posted By: Online Bachelor degrees | 8.29.2009 at 12:21 AM

Very nice info for developer.

#12 Law degree

Posted By: Law degree | 8.29.2009 at 12:22 AM

good site for the developers.

#13 Finance degree

Posted By: Finance degree | 8.29.2009 at 12:22 AM

i have to store this timetable into database also and updation is also necessary.

#14 BBA degree

Posted By: BBA degree | 8.29.2009 at 12:23 AM

Which means I can only select a day in the current month dropped down from the calendar.

#15 Ngala Talla

Posted By: Ngala Talla | 10.01.2009 at 2:33 AM

Great tutorial.Just what i was looking for

Keep up guys

#16 grace gonzalez

Posted By: grace gonzalez | 10.02.2009 at 5:23 PM

Why the code is not in vb.net also

#17 Tiffany Rings

Posted By: Tiffany Rings | 10.23.2009 at 7:37 AM

i like

#18 gfdgh

Posted By: gfdgh | 11.13.2009 at 9:41 PM

<a href="http://www.feew.com">feeqw</a>

[url=http://www.fewd.com]feed[/url]

#19 Prada Eyeglasses

Posted By: Prada Eyeglasses | 11.20.2009 at 3:11 PM

Using the Calender control just like a diary in your ASP.NEt is really good idea, Thanks for sharing.

#20 free online games

Posted By: free online games | 11.24.2009 at 10:57 PM

hi i want to make a project on timetable management of college, so there is a need for the format of timetable so by using the calander control can i make it,and i have to store this timetable into database also and updation is also necessary.

is it possible in asp.net?

#21 Limousine Service New York

Posted By: Limousine Service New York | 12.18.2009 at 4:54 PM

Well this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks

#22 Vehicle Tracking Solutions

Posted By: Vehicle Tracking Solutions | 12.22.2009 at 12:27 AM

This will definitely help many working professionals as well as some students working on ASP.net projects. :)

#23 handbags shop

Posted By: handbags shop | 12.26.2009 at 12:28 AM

i like

#24 Watch Anime Online

Posted By: Watch Anime Online | 1.01.2010 at 11:31 PM

i find it very help full for me....can any one can solve me a problem...?

i wana create a calender type of luk to a project and i wana add few controls on each cell of the calender....??

which will be the easiest way to do so....?

thanks....

#25 Prostatitis London

Posted By: Prostatitis London | 1.05.2010 at 12:11 AM

This will be very helpful for all those developers who are looking to develop calendar related applications. :)

#26 tienshealth

Posted By: tienshealth | 1.09.2010 at 3:29 AM

Wonderful and great site for not only beginner developers but also mature and experienced developers

#27 airport bus New York

Posted By: airport bus New York | 1.14.2010 at 10:33 PM

hi i want to make a project on timetable management of college, so there is a need for the format of timetable so by using the calander control can i make it,and i have to store this timetable into database also and updation is also necessary.

#28 airport bus New York

Posted By: airport bus New York | 1.14.2010 at 10:33 PM

I agree with author, anyways great article indeed, I really like the idea of the writer, keep up the good work, cheers Thanks for this information.

#29 web design nyc

Posted By: web design nyc | 1.15.2010 at 2:46 AM

Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

#30 Caviar

Posted By: Caviar | 1.15.2010 at 9:38 PM

Well this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks

#31 Movers Bronx

Posted By: Movers Bronx | 1.16.2010 at 12:22 AM

Well, this is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvellous job!

#32 Watch Anime Online

Posted By: Watch Anime Online | 1.20.2010 at 3:02 AM

Great article you have there

#33 70-298

Posted By: 70-298 | 1.26.2010 at 12:05 AM

CommentConfig manages 4 Windows Shell Extensions

#34 70-299

Posted By: 70-299 | 1.26.2010 at 12:05 AM

Commented Image allows you to add framentext comments onto any image

#35 70-443

Posted By: 70-443 | 1.26.2010 at 12:06 AM

ge Commander is considered as a beneficial and easy to use software that allows you to add text or image watermark to any picture.

#36 Brochure Printing

Posted By: Brochure Printing | 1.27.2010 at 10:05 PM

I am happy to find this post very useful for me, as it contains lot of information.

#37 virginia

Posted By: virginia | 1.30.2010 at 5:27 PM

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebforblogger</a>

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebfor</a>

that was awesome

#38 virginia

Posted By: virginia | 1.30.2010 at 5:29 PM

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebforblogger</a>

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebfor</a>

<a href="http://tutorialwebforblogger.blogspot.com">tutorialblogger</a>

#39 virginia

Posted By: virginia | 1.30.2010 at 5:29 PM

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebforblogger</a>

<a href="http://tutorialwebforblogger.blogspot.com">tutorialwebfor</a>

<a href="http://tutorialwebforblogger.blogspot.com">tutorialblogger</a>

#40 download old dogs

Posted By: download old dogs | 2.08.2010 at 6:54 AM

Very nice indeed!

But I need this in VB..

Thanks.

#41 download the road

Posted By: download the road | 2.08.2010 at 6:54 AM

it was really awesome~!~!

#42 download brothers

Posted By: download brothers | 2.08.2010 at 6:54 AM

very good site for the developers

#43 Medical Spa New York

Posted By: Medical Spa New York | 2.10.2010 at 11:14 PM

I really impressed by your post. Thank you for this great information, you write very well which i like very much.

#44 Josef Ross Santos

Posted By: Josef Ross Santos | 2.17.2010 at 1:06 PM

Thank you for this wonderful tutorial

#45 drugstore

Posted By: drugstore | 2.17.2010 at 2:44 PM

I can Creating a Calendar-Controlled Diary in ASP.NET with PHP???

#46 weeds season 5

Posted By: weeds season 5 | 2.25.2010 at 3:29 AM

Thanks great post

#47 word games

Posted By: word games | 3.07.2010 at 3:31 AM

hello webmaster, I found your blog from ask.com and read a few of your other blog posts. They are superb. Pleasee keep them coming!! Take care, Onder.

#48 House short sale

Posted By: House short sale | 3.10.2010 at 8:01 AM

I am just new to your blog and just spent about 1 hour and 30 minutes lurking and reading. I think I will frequent your blog from now on after going through some of your posts. I will definitely learn a lot from them. Regards - Gerry

#49 jnu

Posted By: jnu | 3.12.2010 at 2:30 AM

jmnujjmuuj

#50 public arrest records

Posted By: public arrest records | 4.09.2010 at 6:47 PM

I was looking for information on using the calender Control as a diary. I usually face problems when using it in ASP.NET, so I am happy to find this post very useful for me. These kind of posts are useful for anyone from beginner to the professional. Thanks for sharing.

#51 logo design

Posted By: logo design | 4.15.2010 at 5:19 AM

[...]I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing [...]

#52 Dentist St Petersburg

Posted By: Dentist St Petersburg | 4.15.2010 at 2:46 PM

I was looking for information related to using Calender Control as Diary in ASP.Net and at last I found a useful post. Its a difficult task for me but now its become easy for me to understand and implement it. Thanks

#53 Obgyn Clearwater

Posted By: Obgyn Clearwater | 4.17.2010 at 4:53 PM

I have been looking for this info for almost two days now ( and pulling my hair out in the process ) Thank you so much

#54 SY0-201 free dumps

Posted By: SY0-201 free dumps | 4.20.2010 at 9:22 AM

I like your blog.

#55 000-025 dumps

Posted By: 000-025 dumps | 4.20.2010 at 9:22 AM

Your blog is great.

#56 000-076 dumps

Posted By: 000-076 dumps | 4.20.2010 at 9:22 AM

Thanks for sharing.

#57 spot uv printing

Posted By: spot uv printing | 4.21.2010 at 7:39 AM

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog

#58 muscle building program

Posted By: muscle building program | 5.11.2010 at 12:27 AM

Will surely take note of the details. Thank you!

#59 Nicholas Brothers Tap Dancer

Posted By: Nicholas Brothers Tap Dancer | 5.19.2010 at 4:30 AM

Looking forward for your next share. Thanks!

#60 wholesale laptop adapter

Posted By: wholesale laptop adapter | 5.21.2010 at 1:54 AM

with the FormView control, we will use the Calendar to display diary entries for specific days. We will highlight each day that has a diary entry, and the user will have the ability to add entries on any day of the calendar. In addition to t

#61 wmns air max

Posted By: wmns air max | 5.23.2010 at 5:06 AM

nike air max sale

#62 wmns air max

Posted By: wmns air max | 5.23.2010 at 5:07 AM

nike air max sale

#63 air max running shoe

Posted By: air max running shoe | 5.23.2010 at 5:10 AM

nike air max sale air max running shoes

#64 wholesale shoes

Posted By: wholesale shoes | 5.24.2010 at 3:36 AM

Spring summer pocket perfect supporting role (figure) except heart shape brooch, earring, necklace,

#65 gold coins

Posted By: gold coins | 5.29.2010 at 5:58 PM

Thank you for the detailed information. I will take note of it. Maybe i can use it in the future.

#66 garden treasures

Posted By: garden treasures | 6.04.2010 at 1:36 AM

Very informative. Well we can customize the look of the Calendar by going into design view and clicking the Smart Tag and choosing Auto Format. We will also be adding more attributes to the tags a little later. So let's move onto the SqlDataSource controls.

#67 vibram five fingers

Posted By: vibram five fingers | 6.05.2010 at 9:38 AM

That great!Great article!useful That what i'm looking for!

#68 nike air max

Posted By: nike air max | 6.05.2010 at 9:39 AM

This article give me a great help!thank you very much!

#69 Corporate Video

Posted By: Corporate Video | 6.07.2010 at 1:20 AM

I've looked at a lot of sites and not come across such a web page as yours that tells everyone everything they need to know.

#70 dental implant dentist

Posted By: dental implant dentist | 6.08.2010 at 4:00 AM

so there is a need for the format of timetable so by using the calander control can i make it.

and i have to store this timetable into database also and updation is also necessary.

is it possible in asp.net?

#71 SEO UK

Posted By: SEO UK | 6.08.2010 at 12:17 PM

looking for information related to using Calender Control as Diary in ASP.Net and at last I found a useful post. Its a difficult task for me but now its become easy for me to understand and implement it

#72 Search Engine Optimization Book

Posted By: Search Engine Optimization Book | 6.08.2010 at 2:54 PM

Thank you for this great information, you write very well which i like very much.

#73 Diaper Bags - Baby Bag

Posted By: Diaper Bags - Baby Bag | 6.08.2010 at 11:41 PM

Calendar by going into design view and clicking the Smart Tag and choosing Auto Format. We will also be adding more attributes to the tags a little later. So let's move onto the SqlDataSource controls.

#74 iPad Point of Sales

Posted By: iPad Point of Sales | 6.10.2010 at 1:23 AM

What should i do if i want to add some new events in my calender .Please give me suggestion for write code in website.

#75 teeth grills

Posted By: teeth grills | 6.11.2010 at 6:09 AM

You guys always deliver useful content. Awesome post. Very interesting and valuable videos. Keep posting more articles. Thanks for sharing useful info.

#76 coach handbags

Posted By: coach handbags | 6.12.2010 at 5:47 AM

To tell you the truth, I was passing around and come across your site. It is wonderful. I mean as a content and design. I added you to my list and decided to spend the rest of the weekend browsing. Well done!!!!

#77 knock off coach purses

Posted By: knock off coach purses | 6.13.2010 at 4:02 AM

Yep, going to try to update

#78 IT Support Services

Posted By: IT Support Services | 6.16.2010 at 6:33 AM

I have been through the whole content of this blog which is very informative and knowledgeable stuff, So i would like to visit again.

#79 pain specialist

Posted By: pain specialist | 6.20.2010 at 7:57 PM

just wanted to leave a quick comment to say thank you for sharing the information. I found reading it to be both educative and informative.

#80 auto insurance quotes

Posted By: auto insurance quotes | 6.22.2010 at 9:23 AM

Well this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks

#81 Shop fixtures

Posted By: Shop fixtures | 6.23.2010 at 1:54 AM

I'm glad I found this web site, I couldn't find any knowledge on this matter prior to. Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. Please stop by and leave a comment sometime!...

#82 full truth about abs

Posted By: full truth about abs | 6.23.2010 at 6:49 AM

Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.will be referring a lot of friends about this.Keep blogging.

#83 Used Auto Parts

Posted By: Used Auto Parts | 7.06.2010 at 8:40 PM

this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it.

#84 yeast infection cure

Posted By: yeast infection cure | 7.10.2010 at 1:27 AM

great site for not only beginner developers but also mature and experienced developers

#85 Single Mother College Scholarship

Posted By: Single Mother College Scholarship | 7.10.2010 at 1:31 AM

design view and clicking the Smart Tag and choosing Auto Format. We will also be adding more attributes to the tags a little later. So let's move onto the SqlDataSource controls.

#86 Wallets

Posted By: Wallets | 7.10.2010 at 4:13 AM

Well, this is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvellous job!

#87 search engine optimi

Posted By: search engine optimi | 7.12.2010 at 3:29 AM

You just boosted my confidence. I had almost dropped the idea of my new project which is very similar. Nice to see that others see it the same way.

#88 exterminator Brooklyn

Posted By: exterminator Brooklyn | 7.12.2010 at 3:38 AM

Couldnt be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

#89 Company party planning

Posted By: Company party planning | 7.12.2010 at 3:52 AM

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

#90 vrimz

Posted By: vrimz | 7.12.2010 at 3:59 AM

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

#91 Ipad Cases

Posted By: Ipad Cases | 7.12.2010 at 4:03 AM

This is a really nice article. I am sure a lot of people will benefit from it. Thanks!

#92 increase fertility

Posted By: increase fertility | 7.12.2010 at 4:07 AM

Hope you haven't copy pasted this from somewhere else ;). Nice post.

#93 Homeloans

Posted By: Homeloans | 7.12.2010 at 4:10 AM

You've made some good arguments, but I'm sure there are people who will disagree with some points.

#94 web design chicago

Posted By: web design chicago | 7.12.2010 at 4:12 AM

Hmmm... Interesting point of view. Ought to be Dugg.

#95 atlantis resort bahamas

Posted By: atlantis resort bahamas | 7.12.2010 at 8:30 AM

This is a really nice post. I am sure a lot of people will benefit from it. Thanks!

#96 portable beer pong tables

Posted By: portable beer pong tables | 7.12.2010 at 8:33 AM

Hope you haven't copy pasted this from somewhere else ;). Nice post.

#97 www.episodeevents.com

Posted By: www.episodeevents.com | 7.12.2010 at 8:36 AM

Hmmm... Interesting point of view. Ought to be Dugg.

#98 Multipost Job Board

Posted By: Multipost Job Board | 7.13.2010 at 2:36 AM

This was an interesting article and great site for not only beginner developers but also mature and experienced developers...

#99 Inspiring Stories

Posted By: Inspiring Stories | 7.13.2010 at 12:39 PM

Using the Calender control just like a diary in your ASP.NEt is really good idea, Thanks for sharing.

#100 Locksmith in Scottsdale

Posted By: Locksmith in Scottsdale | 7.14.2010 at 7:34 AM

Some good information you got here. Could be of some help.

#101 Tiffany Lighting

Posted By: Tiffany Lighting | 7.15.2010 at 11:22 AM

Very interesting find Thor. Hoping to see more posts from you soon.

#102 Dallas Hotels

Posted By: Dallas Hotels | 7.16.2010 at 6:58 AM

Thanks for sharing the information.It is definitely going to help me some time.

#103 Search Engine Optimisation UK

Posted By: Search Engine Optimisation UK | 7.18.2010 at 1:53 PM

the days the have entries in teh database.

Now that we have finished configuring our DataSources, they should look something like this:

#104 Hosting Packages

Posted By: Hosting Packages | 7.18.2010 at 8:54 PM

there is a need for the format of timetable so by using the calander control can i make it,and i have to store this timetable into database also and updation is also necessary.

#105 Attorney

Posted By: Attorney | 7.19.2010 at 2:18 AM

Well this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks and Regards

#106 fl mortgage

Posted By: fl mortgage | 7.19.2010 at 8:36 AM

I'm impressed with the work done on this blog. Go on like this and you'll be helping a lot more people like me. Thanks!

#107 mobility scooters

Posted By: mobility scooters | 7.19.2010 at 3:01 PM

Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.will be referring a lot of friends about this.Keep blogging.

Thanks

#108 Link Building

Posted By: Link Building | 7.20.2010 at 3:22 PM

The result was an ultra-smooth, easy-drinking cocktail that I know we'll be making again. And remember, kids—stir, don't shake, this one!

#109 tiffany co

Posted By: tiffany co | 7.21.2010 at 3:16 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#110 tiffany jewelry

Posted By: tiffany jewelry | 7.21.2010 at 3:16 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#111 tiffany jewellery

Posted By: tiffany jewellery | 7.21.2010 at 3:16 AM

For classic and quality genuine silver jewelry, many people choose Tiffany & Co brand.Now,we present you the hottest Tiffany silver jewelry .get more http://www.tiffanyonsale.com/

#112 learn tap dance

Posted By: learn tap dance | 7.22.2010 at 1:00 AM

Good thing that you provided this information with us. Will bookmark it. Maybe i can use it soon.

#113 Mini Golf Course Builder

Posted By: Mini Golf Course Builder | 7.22.2010 at 4:27 AM

I noticed that using the Calender control just like a diary in your ASP.NEt is really good idea, Thanks for sharing.

#114 authentic jordans

Posted By: authentic jordans | 7.23.2010 at 4:06 AM

addition to the two controls already mentioned, we will also use two SqlDataSource controls; one for the calendar control, and one for the FormView

#115 Best SEO India

Posted By: Best SEO India | 7.24.2010 at 12:23 AM

tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks

#116 delete in c

Posted By: delete in c | 7.24.2010 at 12:56 AM

Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging

#117 Fiesta leasing

Posted By: Fiesta leasing | 7.24.2010 at 1:16 PM

so there is a need for the format of timetable so by using the calander control can i make it.

and i have to store this timetable into database also and updation is also necessary.

is it possible in asp.net?

#118 Make money

Posted By: Make money | 7.24.2010 at 3:18 PM

Well, this is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvellous job!

#119 garden treasures gazebo

Posted By: garden treasures gazebo | 7.25.2010 at 8:05 AM

Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

Thank you for another great article.

#120 cheap hosting

Posted By: cheap hosting | 7.26.2010 at 1:47 AM

this tutorial related to use of Calender Control just like a Diary in ASP is really very helpful and I am happy to find it. Thanks and Regards

#121 LPN Jobs

Posted By: LPN Jobs | 7.26.2010 at 1:53 AM

Finally I am starting to understand ASP.NET.. All thanks to you for sharing this info here.

#122 rent ps2 games

Posted By: rent ps2 games | 7.26.2010 at 3:39 AM

This is a great blog! Very informative..

#123 Black Winter Truffle

Posted By: Black Winter Truffle | 7.26.2010 at 5:27 AM

We can customize the look of the Calendar by going into design view and clicking the Smart Tag and choosing Auto Format. We will also be adding more attributes to the tags a little later. So let's move onto the SqlDataSource controls.

#124 tiffany ring

Posted By: tiffany ring | 7.26.2010 at 7:13 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#125 tiffany bracelet

Posted By: tiffany bracelet | 7.26.2010 at 7:13 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#126 tiffany necklace

Posted By: tiffany necklace | 7.26.2010 at 7:13 AM

This is exactly cheap tiffany jewelry you can get cheap Tiffany Rings, Necklaces, Errings, Bracelets and other Tiffany Jewellery.get more http://www.tiffanyonsale.com/

#127 shoe storage

Posted By: shoe storage | 7.26.2010 at 3:08 PM

I tried the code with C#, and it works very well. However, when I selected a day in another month, the calendar closed before I can select a day. Which means I can only select a day in the current month dropped down from the calendar. So please if you would, send me the codes or show me how to be able to select a day in another month without having the calendar closed before I can select a day in C#. Thank you.

#128 cheap hosting

Posted By: cheap hosting | 7.27.2010 at 2:33 AM

related to using Calender Control as Diary in ASP.Net and at last I found a useful post. Its a difficult task for me but now its become easy for me to understand and implement it

#129 Natural Shampoo

Posted By: Natural Shampoo | 7.27.2010 at 11:47 AM

hi i want to make a project on timetable management of college, so there is a need for the format of timetable so by using the calander control can i make it,and i have to store this timetable into database also and updation is also necessary.

#130 women's wallet

Posted By: women's wallet | 7.28.2010 at 5:01 AM

<a href="http://womens-wallets.net/">women's wallet</a>, <a href="http://womens-wallets.net/">louis vuitton womens wallet</a>, <a href="http://womens-wallets.net/">gucci womens wallet</a>, <a href="http://womens-wallets.net/">prada womens wallet</a>.<br>

#131 In Home Care

Posted By: In Home Care | 7.28.2010 at 7:45 AM

I tried the code with C#, and it works very well. However, when I selected a day in another month, the calendar closed before I can select a day. Which means I can only select a day in the current month dropped down from the calendar. So please if you would, send me the codes or show me how to be able to select a day in another month without having the calendar closed before I can select a day in C#. Thanks.

#132 Ultrasound Equipment

Posted By: Ultrasound Equipment | 7.28.2010 at 10:36 AM

We have been very pleased with their services and most importantly, technical support.

#133 Online Printing Reviews

Posted By: Online Printing Reviews | 7.28.2010 at 10:43 AM

This article will definitely help many working professionals as well as some students working on ASP.net projects.

#134 London Escorts

Posted By: London Escorts | 7.28.2010 at 1:17 PM

Now we have finished the majority of our form, we can complete the Calendar control. We can customize the look with the Auto Format method mentioned earlier, and we also want to add an event handler. Go into design view and select the calendar

#135 Best SEO

Posted By: Best SEO | 7.28.2010 at 1:38 PM

the Calender control just like a diary in your ASP.NEt is really good idea, Thanks for sharing.

#136 outdoor dining furniture

Posted By: outdoor dining furniture | 7.28.2010 at 2:19 PM

Notice that we assign the DataSourceID to the datasource with the parameters. Within the template, we create a form to allow editing of existing diary entries - we provide a textbox, which we bind the todo column to, and then also add a linkbutton to update the data. We assign this the CommandName of Update to ensure that we use the built-in functionality of the FormView.

#137 triple threat muscle review

Posted By: triple threat muscle review | 7.29.2010 at 12:11 AM

Great article!!love to see more!!!

#138 Overnight Printing

Posted By: Overnight Printing | 7.29.2010 at 2:22 AM

Once we have our project created, we will go ahead and add a SQL Server Database. Right-click the App_Data folder in the Solution Explorer, then click Add Ne

#139 bikinis

Posted By: bikinis | 7.29.2010 at 2:35 AM

Well, this is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvellous job!

#140 link building service

Posted By: link building service | 7.29.2010 at 7:19 AM

really impressed by your post. Thank you for this great information, you write very well which i like very much.