C# Tutorial, Tips and Tricks of the Professional C# Programmer

     This section is to give you the tips, tricks and a tutorial of everyday programming problems using C#. The average programmer can easily learn C# and you can learn C#. We will start with the basics of C# programming and move on to advanced C#. Have you ever tried to find the answer to a programming problem you are working on and been frustrated by the solutions found on the web?

Here is a list of problems I have solved over the years. Ideally, I have presented the problem and a solution with all the pieces necessary to resolve the problem situation. I hate going to web sites and they show a small segment of code, that is the right code for your programming problem, but you spend the next three days finding all the other lines to finish your project.

Now, I don't plan to do all your work for you. It is your responsibility to read and study programming, so you understand what is the right piece of the programming puzzle you need for your project.

If you are looking for specific information on SQL programming, then check out the following link.

MSSQL

So take the time to become an expert in C# programming. You can learn C#. You will see the basics of C# up to advanced C# concepts. This C# tutorial will show how to use Visual Studio to handle all the programming challenges you encounter. So here is a list of links to problems I have solved.

StyleSheet Trick
Using ListItem Collection to Populate a ListBox Control
Using client side state management in ASP.Net and C#, QueryStrings and Cookies
Using client side state management in ASP.Net and C#, Hidden Fields and View State
A Simple way in ASP.Net to use Client Side Code
Part 2 of Client Side Code
How to Create a Class
Use A Class
Create a Solution in Visual Studio.Net
Create a Project in Visual Studio.Net
How to Set Events with ASP.Net and C#
Set Events in C#
What is Session State and How Do You Use Session State?
Creating and Using a C# SortedList Object
Using Methods to Create Reusable Object Oriented Code.
Pass Objects to Methods
Pass Objects from Methods
Create an RSS Feed
What is LDAP
Build an LDAP Reader
LDAP To Web Service



Latest Additions to our ASP.Net and C# Pages

Stylesheet Tips for Visual Studio .Net and ASP.Net

YouCanLearnSeries RSS feed for ASP.Net and C# tips and tutorials
I learned something new today that I thought I would share with you. It is a very simple thing concerning CSS and ASP.Net in the Visual Studio .Net environment. In the past, I always added the line of code to attach to the stylesheet, but I always had to look it up, because I couldn't remember the exact syntax. It turns out there is an easy way to add the CSS stylesheet to your webform This article will show you how.

Using ListItem Collection to Populate a ListBox Control

YouCanLearnSeries RSS feed for ASP.Net and C# tips and tutorials
This article shows you how to add items to a ListBox control using ListItem. When you drag and drop a ListBox object onto your web form, there are many ways to populate the ListBox. One of the easiest ways is to add items through the items collection property in the properties tab. But what if you want to populate the ListBox with data captured from other places?

Using Client Side State Management Techniques in ASP.Net and C#

YouCanLearnSeries RSS feed for ASP.Net and C# tips and tutorials
Client Side State Management for ASP.Net and C# includes 4 techniques. This article will discuss the advantages and disadvantages of each method of state management. When your user clicks on an URL or button or server side control, the information goes from your page to the server and then back again to the users web browser. How do you remember the information that is currently on the page. These are the techniques to save the information on the client side and not the server side.
QueryStrings
Cookies
Hidden Fields
ViewState

What is Session State and How do You use Session State?

YouCanLearnSeries RSS feed for ASP.Net and C# tips and tutorials
Session state is a server side tool for managing state. Every time your web app goes to the server to get the next request, the server has to know how much of the last web page needs to be "remembered" when the new information is sent to the web page. The process of knowing the values of controls and variables is known as state management.

A Simple way to Call Client Side Code using ASP.Net and C#

YouCanLearnSeries RSS feed for C# tips and tutorials
The goal of this article is to take an ASP.Net webForm, add a button to the form, do client side onMouseOver events and change background color, button color and fire a Javascript alert message. Most web programmers have used Javascript to do this in old ASP code, this might be a new twist for you and I encourage you to check it out. This uses the control.Attributes command to call the onMouseOver event all on the client side..

Creating and Using a C# SortedList

In this article we discuss the C# object known as a SortedList. The C# SortedList object is part of the System.Collections namespace and is inherited from IList. When do you use a sorted list? All the details are in the article.

Convert an LDAP Server to a Web Service

YouCanLearnSeries RSS feed for C# tips and tutorials
What is LDAP, Lightweight Directory Access Protocol. This article is to teach you how to build a web service to access your LDAP server. Businesses are reaching the conclusion that they have too many repositories of information and they need to create a single login for all their applications. They are turning to LDAP servers to meet that need.

Reading Information from the LDAP Server

YouCanLearnSeries RSS feed for C# tips and tutorials
How to connect to an LDAP server and how to iterate through the SearchResultCollection object to retrieve information from an LDAP server. How to use the DirectorySearcher object and the DirectoryEntry object all within C#.Net.

Building an LDAP Web Service

YouCanLearnSeries RSS feed for C# tips and tutorials
Converting LDAP to Web Service. If you place all the work of querying the LDAP server and the connectivity issues in another class, then the WebMethods from the WebService are simple to create and clutter free. If you have multiple LDAP servers to access, then create a configuration file and get the connectivity information from the configuration file.

Home| About Us | NewsLetters | Links | Contact Us |

Copyright © 2004-2008 You Can Learn Series

Free Games Online
Enjoy 1000's of Free Online Video Games
Sacramento Computer Support
Computer and Technical Support
Gardening Resources Southeast
Issues for Southeast Gardens & Landscapes
Midwestern Landscaping Resources
Issues for Midwest Gardens and Landscapes
You Can Learn Series Home Page You Can Learn Series
You Can Learn Series Home Page Home      Web DirectoryWeb DIrectory      About the creators of YouCanLearnSeriesAbout Us      Contact YouCanLearnSeriesContact Us      Site map of YouCanLearnSeriesSite Map      Privacy Policy of You Can Learn SeriesPrivacy Policy       Terms of Use of You Can Learn Series web siteTerms of Use       YouCanLearnSeries RSS feed for C# and ASP.Net tips and tutorials     
C# and ASP.Net Programming TipsC# and ASP.Net      SQL Tutorial, tips and tricks for DBA'sSQL       Landscaping Tips for Home GardenersLandscaping       WeightLifting Tips for the Young and OldWeightLifting       Good health TipsGoodHealth       Learn about Great Travel DestinationsTravel     Web Business TipsWeb Business      Services Available from You Can Learn SeriesServices    



You Can Learn C# and ASP.Net SeriesC# and ASP.Net
  Using Client Side Code in C# and ASP.NetClient Side Code
  Using Client Side State Management in C# and ASP.NetClient Side State Management
  Create a C# Class in Visual StudioCreate A Class
  Use A Class in C#Use A Class
  Create a Solution in Visual StudioCreate a Solution
  Create a Project in Visual StudioCreate a Project
  Create an RSS Feed for your Web SiteCreate an RSS Feed
  Create an RSS Feed for your Web SiteListItemCollection
  Set Events in ASP.NetSet Events ASP.Net
  Set Events in C#Set Events C#
  What is SessionState and How to use Session StateSession State
  Creating and Using a C# SortedList ObjectSortedList Object
  Stylesheet Tips for Visual Studio .Net and ASP.NetStyleSheet Tricks
  Using C# MethodsUsing Methods
  Pass Objects to MethodsPass Objects to Methods
  Pass Objects from MethodsPass Objects from Methods
  Using Client side State management like ViewState and Hidden fieldsView State
  LDAP, What is Lightweight Directory Access ProtocolWhat is LDAP
  Build an LDAP ReaderBuild an LDAP Reader
  Convert information from LDAP to a Web ServiceLDAP To Web Service
  Question of the dayQuestion of the Day
You Can Learn SQL SeriesSQL
You Can Learn Landscaping and Gardening SeriesLandscape Tips
You Can Learn WeightLifting SeriesWeightLift Tips
You Can Learn Good Health SeriesGood Health Tips
You Can Learn Good Series NewslettersNewsletters
Learn about Great Travel DestinationsTravel
You Can Learn Series Web Business SuccessWeb Business Tips
Services Available from You Can Learn SeriesServices
Money Saving Coupons from You Can Learn SeriesCoupons

Reverse Funnel System
Shop the one-cent sale at SpringHillNursery.com!
Buy one, get one free at MichiganBulb.com!
Your 125 X 125 Banner Ad on You Can Learn Series Website for 30 days only $10.00 dollars

Recommended Blog!
Click Image for Info

Subscribe to Blog Reader

Subscribe to You Can Learn Series -- Kenno's Blog by Email

Newsletter Signups
You Can Learn Series

Bay Area Word

Alpha Industries &
UK Army Surplus


Tree Tree Designs

Sunset Midwestern Landscaping Book