Free ebook - C# 4.0 in a Nutshell: The Definitive Reference

Jan 29, 2010 Posted by Lara Kannan 0 comments
When we have questions about how to make make use of of C# 4.0 or the .NET CLR, this rarely acclaimed bestseller has precisely the answers we need.

Uniquely orderly around concepts as well as make make use of of cases, this fourth book includes in-depth coverage of brand new C# topics such as together programming, formula contracts, energetic programming, security, as well as COM interoperability.

You'll additionally find updated report upon LINQ, together with examples which work with both LINQ to SQL as well as Entity Framework. This book has all the necessary sum to keep we upon lane with C# 4.0.

  • Get up to speed upon C# denunciation basics, together with syntax, types, as well as variables

  • Explore modernized topics such as vulnerable formula as well as preprocessor directives

  • Learn C# 4.0 facilities such as energetic binding, sort parameter variance, as well as discretionary as well as declared parameters

  • Work with .NET 4’s abounding set of facilities for together programming, formula contracts, as well as the formula confidence model

  • Learn .NET topics, together with XML, collections, I/O as well as networking, mental recall management, reflection, attributes, security, as well as local interoperability

Free Download Links :

1. Hotfile Link
http://hotfile.com/...Jan.2010.rar.html

2. Megauload Link
http://www.megaupload.com/?d=2FXF6QEU

3. Rapidshare Link
http://rapidshare.com/.../00KB06_R07.rar

'A Thanks' would be nice.

Share
Labels: , ,

10 Things to Consider Before You Send the Next Email

Jan 24, 2010 Posted by Lara Kannan 0 comments
10 Things to Consider Before You Send the Next Email

Email is the primary mode of communication between Internet users. You use email to network with other bloggers, to grow your online business, to convert potential prospects into clients and so on. The micro blogging sites like Twitter, Facebook may have changed the way we share information but when it comes in communicating with web users, email is probably the simplest and universally accepted option.

Having said that, it's obvious that you should pay attention to all those emails you send everyday. Here are a few tips for maintaining proper email etiquette:

1. Use a meaningful subject.

Just as a meaningful title makes a reader read a blog post, a meaningful subject of your email sets it apart from the crowd. A meaningful subject saves time as the recipient can grasp your idea quickly.

For example: If you want to post a guest article at Dailyblogtips and want to contact Daniel, use the subject line as "Guest article" rather than "Hello Daniel".

2. Skip the introductory paragraphs, jump directly to the point

When you are writing an email, keep the purpose in focus. Do not make the email longer by adding unnecessary introductions or links. The person whom you are writing the email may have dozens of emails to read and if you make the email long and boring, he will rather skip reading it.

Thus, avoid the boring intros and jump directly to your point. It saves time at both ends.

3. Use saved templates for answering commonly asked questions

If you get frequent emails where readers ask you the same questions, spend some time writing a template and save it in your drafts folder. Whenever you get a similar message to which you have replied before, just paste the template into the email message.

4. Add a human touch. Make it personal

I just said using templates to answer commonly asked questions. But do not overkill by making everything automated. There are some emails that will need your personal attention. So spend some time on them and try to provide some value. Not only you will get respect from the receiver, it also adds an impression that you care about your prospects.

5. Never write in capital case

WRITING AN EMAIL IN CAPITAL CASE makes it difficult to read and the receiver will get annoyed for sure. Hence, do not write an email in capital letters or else your message might end up in the trash folder.

6. Stick to the proper message thread

Including the earlier conversations in your reply is a good habit. The receiver might not remember the subject and the progress of each and every conversation. Hence an email without a thread will surely frustrate the receiver and he will have to spend some time searching for earlier threads of the conversation.

Gmail automatically includes the threads in your "reply" messages. Whenever you are replying to an email conversation always click "reply" instead of composing a new email message.

7. Read the email before you send it

Before you hit the send button, read what you have just typed. There may be spelling and grammatical mistakes which might have slipped through. Try to read the email from the receivers angle and see if it delivers the same meaning which you are trying to convey.

8. Don’t use abbreviations, slang and emoticons

Business emails should be formal as they reflect the posture of your organization or company. If you lower the weight of your business email by adding lots of abbreviations and smilies (e.g., LOL and :) - smiles ), chances are there that your clients won’t take you seriously.

9. Be careful with formatting

Do not try to decorate your email message with lots of colors and formatted stuff. If you unnecessarily highlight text, the email can appear to be spammy. As a general rule, use black color on a white background.

10. Use short and simple sentences

Email’s should be simple to read and should convey the meaning as quick as possible. Never think that if your writing is Shakespearean, the recipient will take interest in reading it. Keep the sentences short and simple and never write an email when you are angry – it reflects.

Do you take care of all of the above mentioned emailing habits ? Let us know through the comments section.

Hope this will be useful.

Source : DailyBlogTips

Share
Labels:

Checkbox Validation using jQuery?

Jan 22, 2010 Posted by Lara Kannan 0 comments
How to validate the checkbox using Jquery?

In the HTML form have multiple chekcbox in same using html array element. That time we will use three types of checkbox validation for checked or not.

Multiple checkbox validation has three types.
  • Checkbox validation using Id
  • Checkbox validation using name
  • Checkbox validation using div tag
Let we see via examples:

Take the below html/aspx code likes ...

<form>
<div id="checkboxId">
<input type="checkbox" name="chkBox[]" id="chkBox[]">
<input type="checkbox" name="chkBox[]" id="chkBox[]">
<input type="checkbox" name="chkBox[]" id="chkBox[]">
</div>

<input type="button" name="Btnaction"
value="submit" onclick="return validateId();">
</form>
</div>

// Calling jquery file.
<script language="javascript" src="jquery.js" type="text/javascript"></script>

1. Checkbox validation using Id

<script language="javascript">
function validateId()
{
var selector_checked = $("input[@id=chkBox]:checked").length;
alert(selector_checked);
if (selector_checked == 0)
{
return false;
}
else if (selector_checked == 0)
{
return false;
}
else
{
return true;
}
}
</script>

2. Checkbox validation using Name

Replace the function name from 'validateId' to 'validateName' in the above html/aspx code.

function validateName()
{
var selector_checked = $("input[@name=chkBox]:checked").length;
alert(selector_checked);
if (selector_checked == 0)
{
return false;
}
else if (selector_checked == 0)
{
return false;
}
else
{
return true;
}
}

3. Checkbox validation using Div tag

Replace the function name from 'validateName' to 'validateDiv' in the above html/aspx code.

function validateDiv()
{
if($("#checkboxId input[type='checkbox']:checked").length > 0)
{
return true;
}
}

4. Single checkbox validation.

<div>
<input type="checkbox" name="chkBox[]" id="chkTCAgree" />Agree terms and condition
text here<br />
<input type="button" name="Btnaction" value="submit" onclick="return validateTC();" />
</div>

function validateTC() {
var agree = $('#chkTCAgree').attr('checked');
if (!agree) {
alert("please accept the terms and conditions");
return false;
}
}

Enjoy the technology!

Share
Labels: ,

Free eBook - SQL Tips and Techniques

Jan 21, 2010 Posted by Lara Kannan 0 comments
SQL Tips and Techniques


This books mainly for beginner who learn SQL server. This ebook covers the below 25 topics with samples.

Chapter 1 - Understanding SQL Basics and Creating Database Files

Chapter 2 - Using SQL Data Definition Language (DDL) to Create Data Tables and Other Database Objects

Chapter 3 - Using SQL Data Manipulation Language (DML) to Insert and Manipulate Data Within SQL Tables

Chapter 4 - Working with Queries, Expressions, and Aggregate Functions

Chapter 5 - Understanding SQL Transactions and Transaction Logs

Chapter 6 - Using Data Control Language (DCL) to Setup Database Security

Chapter 7 - Creating Indexes for Fast Data Retrieval

Chapter 8 - Using Keys and Constraints to Maintain Database Integrity

Chapter 9 - Performing Multiple-table Queries and Creating SQL Data Views

Chapter 10 - Working with Functions, Parameters, and Data Types

Chapter 11 - Working with Comparison Predicates and Grouped Queries

Chapter 12 - Working with SQL JOIN Statements and Other Multiple-table Queries

Chapter 13 - Understanding SQL Subqueries

Chapter 14 - Understanding Transaction Isolation Levels and Concurrent Processing

Chapter 15 - Writing External Applications to Query and Manipulate Database Data

Chapter 16 - Retrieving and Manipulating Data Through Cursors

Chapter 17 - Understanding Triggers

Chapter 18 - Working with Data BLOBs and Text

Chapter 19 - Working with Ms-sql Server Information Schema View

Chapter 20 - Monitoring and Enhancing MS-SQL Server Performance

Chapter 21 - Working with Stored Procedures

Chapter 22 - Repairing and Maintaining MS-SQL Server Database Files

Chapter 23 - Writing Advanced Queries and Subqueries

Chapter 24 - Exploiting MS-SQL Server Built-in Stored Procedures

Chapter 25 - Working with SQL Database Data Across the Internet

Download:

Mediafire
http://www.mediafire.com/?imz0kilqojz

Rapidshare
http://rapidshare.com/files/309655849/183.chm.html

Hope this book will be useful. 'A thanks' would be nice.

Share

Free ebook - Accelerated C# 4.0

Jan 18, 2010 Posted by Lara Kannan 0 comments
Accelerated C# 4.0 Description

C# 2010 offers powerful new features, and this book is the fastest path to mastering them—and the rest of C#—for both experienced C# programmers moving to C# 2010 and programmers moving to C# from another object-oriented language.

Many books introduce C#, but very few also explain how to use it optimally with the .NET Common Language Runtime (CLR). This book teaches both core C# language concepts and how to wisely employ C# idioms and object-oriented design patterns to exploit the power of C# and the CLR.

This book is both a rapid tutorial and a permanent reference. You’ll quickly master C# syntax while learning how the CLR simplifies many programming tasks. You’ll also learn best practices that ensure your code will be efficient, reusable, and robust. Why spend months or years discovering the best ways to design and code C# when this book will show you how to do things the right way from the start?
  • Comprehensively and concisely explains both C# 2008 and C# 2010 features
  • Focuses on the language itself and on how to use C# 2010 proficiently for all .NET application development.
  • Concentrates on how C# features work and how to best use them for robust, high-performance code
What you’ll learn
  • How C# works with and exploits the CLR
  • How to use arrays, collections, and iterators
  • How to handle events with delegates and anonymous functions
  • How to design and use generic types and methods
  • How to thread efficiently and robustly
  • How C# anonymous types, lamba expressions, and extension methods work and how to use them
Accelerated C# 4.0 Book download link

http://hotfile.com/.../Apress.Accelerated.CSharp.2010.Jan.2010.rar.html

Hope this post will be helpful to grow up your knowledge.

'A thanks' would be nice!

Share
Labels: , ,

ASP.NET 4 Page Life Cycle

Posted by Lara Kannan 0 comments
When an ASP.NET 4.0 page runs, the page goes through a life cycle in which it performs a series of processing steps. These include
  • initialization
  • instantiating controls
  • restoring and maintaining state
  • running event handler code and
  • rendering.
It is important for you to understand the page life cycle so that you can write code at the appropriate life-cycle stage for the effect you intend.

The following diagram shows some of the most important methods of the System.Web.UI.Page class that you can override in order to add code that executes at specific points in the page life cycle.
It also shows how these methods relate to page events and control events. A preliminary version of the diagram was added to the ASP.NET 4 Beta 2 page life cycle documentation on MSDN.



Use the technology. Happy Coding...!

Share
Labels: ,

Removing non ASCII characters in C#

Posted by Lara Kannan 0 comments
Its one of the C# Tip....

Removing non ASCII characters in C# by using the regular expression.

To make sure you clean your string from non ASCII characters you can use Regex class instead of using string functions. The [\x01-\x1F] is the range you want to keep.

temp = Regex.Replace(temp, "[\x01-\x1F]", "");

Happy coding...

Thanks : http://alpascual.com/

Share

Form Element Resources and Tutorials Using CSS And Javascript (11 Samples) - Part 5

Jan 3, 2010 Posted by Lara Kannan 0 comments

Let's take some other samples designed form elements from scratch ourselves. Its new collections.

Read my previous PART 1 : Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 1
Read my previous PART 2 : Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 2
Read my previous PART 3 : Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 3
Read my previous PART 4 : Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 4

41. Password field with strength meter

These forms do not do anything and have very little validation. They solely demonstrate how you can use Ext Forms to build and layout forms on the fly.



42. Clean and pure CSS FORM design

This tutorial illustrates a proposal about how to design a pure CSS form without using HTML tables.



43. CSS Tableless Form

This is a tableless CSS form which you can use as a template for implementing your own lightweight form. It uses a combination of float and negative margins to create a two column layout for the form.



44. Form Highlighting Redux


View demo & source


45. Styling form controls

36 simple documents, each containing twelve controls of the same kind, but with a different CSS rule for each element. Due to the various controls having different properties to style, there are two
three slightly different sets of rules. Check out also follow-up article.



46. cforms II Wordpress Plugin

cforms is a powerful and feature rich form plugin for Wordpress, offering convenient deployment of multiple Ajax driven contact forms
throughout your blog or even on the same page.



47. A CSS Stylesheet Collection for Web Forms

You can view and download 13 different css stylesheets, great for study!



48. Styling form controls with CSS, revisited


224 screenshots showing the effects of various CSS rules applied to form controls. The screenshots are taken from 8 browsers on 4 operating systems, for a total of 14 different browser + OS combinations. Huge article!



49. 5 uniquely designed and coded web form styles


CSSGlobe is giving away 5 really good web form style designs, which can be used freely and studied as well.
View demo & source


50. 10 Tips for Incredible Web Forms!

In this great article from DesignReviver you will be walked through web form building with explained basic code examples, several tools to help you build up your form as well as incredible contact pages found over the web for inspiration. Must read!



51. Tips For Creating Great Web Forms

Excellent article from CSS-Tricks with 7 tips how to create better web forms.

Thanks : Smashingmag.

I hope this will be useful. Feel the CSS stuffs!

Share
Labels: , ,

Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 4

Posted by Lara Kannan 0 comments

Let's take some other samples designed form elements from scratch ourselves. Its new collections.

Read my previous PART 1 : Creating a forms without table (10 Samples) - Part 1
Read my previous PART 2 : Creating a forms without table (10 Samples) - Part 2
Read my previous PART 3 : Creating a forms without table (10 Samples) - Part 3

31. LiveValidation

LiveValidation is a small open source javascript library for making client-side validation quick, easy, and powerful. It comprises of two main parts. Firstly, it provides developers with a rich set of core
validation methods, which can also be used outside the context of forms. Secondly, it provides your visitors with real-time validation information as they fill out forms, helping them to get it right first time, making the forms easier, quicker and less daunting to complete.

View demo & source


32. PrettyForms



View demo & source


33. Pretty Checkboxes, a solution to checkboxes

This script is for people who wants to have a consistent look for checkboxes across browser or those who simply want them to look better. By using this script you wont loose any of the regular inputs usability.



34. Validation Hints for your form



View demo & source


35. Building a better web forms: Context highlighting using jQuery


View demo & source


36. Control.SelectMultiple


Unobtrusive select multiple input alternative for Prototype.



37. Really Easy Field validation with Prototype


Here’s a form validation script that is very easy to use.
View demo & source


38. Autotab: jQuery auto-tabbing and filter plugin

Autotab is a jQuery plugin that provides auto-tabbing and filtering on text fields in a form. Once the maximum number of characters has been reached within a defined text fields, the focus is automatically set to the defined target of the element.



39. Grow a textarea

Just make a form, and this script will add the ability to resize each textarea…if you want to, based on MooTools.



40. Checkboxes, Radio Buttons, Select Lists, Custom HTML Form Elements

This JavaScript and CSS will allow you to use custom images for checkboxes, radio buttons and select lists.


Thanks : Smashingmag.

I hope this will be useful. Feel the CSS stuffs!

Share
Labels: , ,

Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 3

Posted by Lara Kannan 0 comments

Let's take some other samples designed form elements from scratch ourselves. Its new collections.

Read my previous PART 1 : Creating a forms without table (10 Samples) - Part 1
Read my previous PART 2 : Creating a forms without table (10 Samples) - Part 2

21. Form field hints with CSS and JavaScript


It’s a basic example of how helpful a little JavaScript and CSS can be in a form. Instead of the input hints always showing and potentionally cluttering a very simple form, only the hint for the currently focused input will show. This article will show a way to do this.

View demo & source/


22. Improve form usability with auto messages

Animated auto messages are useful to improve FORM usability and Scriptaculous is a great framework to use in this case.

Download source



23. Nice & Clean Sliding Login Panel built with jQuery



View demo & source


24. “Select” Something New

With a little DOM scripting and some creative CSS, you too can make your <select>s beautiful… and you won’t have to sacrifice accessibility, usability or graceful degradation.

View demo & source


25. Uni-Form

Uni-Form is an attempt to standardize form markup (xhtml) and css, "modularize" it, so even people with only basic knowledge of these technologies can get nice looking, well structured, highly customizable, semantic, accessible and usable forms.




26. CSS-Only, Table-less Forms

Modern and comprehensive web form example. It works in Win/IE6, Firefox v1.0+, Win/Opera v8.0, has minor layout differences in Mac/Safari v1.0.3 and Mac/Safari v1.2, and is usable but fairly buggered in Mac/IE5.2.



27. FancyForm

FancyForm is a powerful checkbox replacement script used to provide the ultimate flexibility in changing the appearance and function of HTML form elements. It’s accessible, easy to use and degrades gracefully on all older, non-supporting browsers.

View demo & source


28. Showing Good Form

The function of the interface is to input information, so semantically this is a form, so way of building it will be using form elements: fieldset, legend, label and input.

View demo & source


29. jQuery checkbox

Lightweight custom styled checkbox implementation for jQuery 1.2.x and 1.3.x.



30. AutoSuggest: An AJAX auto-complete text field

The AutoSuggest class adds a popdown menu of suggested values to a text field. The user can either click directly on a suggestion to enter it into the field, or navigate the list using the up and down arrow keys, selecting a value using the tab key. The values for the suggestion list are to provided as XML (by a PHP script, or similar).
View demo & source


Thanks : Smashingmag.

I hope this will be useful. Feel the CSS stuffs!

Share
Labels: , ,

Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 2

Posted by Lara Kannan 0 comments
Let's take some other samples designed form elements from scratch ourselves. Its new collections.

Read my previous PART 1 : Creating a forms without table (10 Samples) - Part 1

11. Style:Phreak’s Standard Form Layout Revisited


View demo & source


12. Tableless forms

Create beautiful web forms using just CSS, very good tutorial!
View demo & source


13. A form with style

7 different style examples, where you can study code and creat good looking forms.


14. A Simple Tableless Form

Use CSS to build your form without any use of tables. Code examples are written in good-old-fashioned HTML instead of ASP.NET and do not contain validation, ID’s, etc. Continue with second part on their
website, to learn how to send and receive that data – Staying in Touch – How to Build a Contact Form .


15. Fancy Form Design Using CSS


View demo & source


16. Make your forms beautiful with CSS

In this tutorial, you’ll learn how to take a standard form and then make it special with some simple CSS tricks and techniques. You will improve the usability, aesthetics and layout, while picking up design cues from the existing design elements.
Download tutorial files


17. How to create perfect form markup and style it with CSS

This post will explain choices when marking up the forms, and the CSS styling involved in making them cross-browser compatible.
View demo & source


18. Background Images into Form Fields with CSS

Adding some expressive background images to your HTML form can be considered sometimes as a relevant point. This can be done easily with pure CSS.
Download link


19. Formy – CSS Form Framework

This is universal CSS for forms who will interact in the simple natural way with HTML form and HTML form will work decently well even without CSS.
View demo & source

20. Changing Form Input Styles on Focus with jQuery

A lot of forms can be boring and plain, don’t let yours blend in. This tutorial will show you how to spice them up with CSS classes and default values that change according to which form item is selected. All with just a splash of jQuery.
View demo & source


Thanks : Smashingmag.

I hope this will be useful. Feel the CSS stuffs!

Share
Labels: , ,

Form Element Resources and Tutorials Using CSS And Javascript (10 Samples) - Part 1

Jan 2, 2010 Posted by Lara Kannan 0 comments
Let's take a look how to create outstanding and beautifully designed form elements from scratch ourselves.

Things can get tricky even if you are experienced designer. It’s hard to attract visitors attention, but this article should help to stand out and create semantically correct, good looking and accessible web forms, checkboxes, radio buttons, buttons, fieldsets – everything you can think of when you are creating contact or login page!

1. How create good looking form without table

This tutorial explains how to design a good form using a clean CSS design with only label and input tags to simulate an HTML table structure. You can use all CSS/HTML elements to design your custom form for your web projects.

View demo & source


2. Simple Form Example

Very well explained tutorial showing crucial points you should give attention to.
View demo & source


3. Prettier Accessible Forms

View demo & source


4. Adding Style with CSS: A Beautiful Form

Forms don’t have to be ugly and boring, and certainly don’t have to be inside tables to look nice and aligned.
View demo & source


5. NiceForms

Niceforms is a script that will replace the most commonly used form elements with custom designed ones. You can either use the default theme that is provided or you can even develop your own look with minimal effort.

View demo & source


6. Turn postcard photo into a stunning comment form using CSS

This tutorial will teach you how to make a stunning comment form using an old postcard photo.

View demo & source


7. Enhance your input fields with simple CSS tricks

The example you are going to see is something that you use every day: blog comment form.

View demo & source


8. Fun with forms – customized input elements

Ever wanted to match the look of your HTML forms with the rest of
your website? This article demonstrates how to apply customized
backgrounds to HTML forms, while preserving stucturally clean markup
and accesibility.

View demo & source


9. Forms markup and CSS – Revisited



View demo & source


10. Semantic horizontal Forms

Semantically correct web forms with fieldsets, legends, labels and some CSS styling. It’s been tested in FF1.x, IE6 and Opera8. (looks a little quirky in IE5.x but still usable).

View demo & source

Thanks : Smashingmag.

I hope this will be useful. Feel the CSS stuffs! 'A Thanks' would be nice!

Share
Labels: , ,