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.

A daily check list you can use to check your blog success. Tips on what should you do today. How to monetize your blog. How to get traffic.

Latest You Can Learn Series Blog Articles:

We Arrive in Santiago de Compestela Spain

We walked for Thirty Three days straight

We have arrived in Santiago. We walked for 33 straight days. Some days were 12 milers and as many as 18 miles or more in one day. We reached our destination. We decided not to rush to reach the city. Mary had accidentally banged her knee on the table at the restaurant the night before and it was a little tender.


Day 31 Palas de Rei to Ribadiso

We have walked 31 days to Santiago de Compostela

Today we started early because we had reserved a room at an albergue and we had to get there by 2pm or we lost the reservation. Mary set a blistering pace in the dark morning mist. Sunrise is at 8 am but this morning we had clouds and fog so it was darker than yesterday. The path through the city was okay but then leaving the city it became more difficult.


Three days of walking left in our Camino

We only have 66 kilometers to Santiago

We have walked for 30 days with only 3 days till we reach our destination of Santiago de Compostela. It has been an amazing journey. We are in the Galicia region of Spain known for the rain it receives. Well we are extremely lucky because the weather has been beautiful for walking. It starts out cool in the high 40s but then warms up to the low to mid 70s. With plenty of sunshine.


We arrived in Sarria

Five walking days to Santiago

Today we started late at 8 am. We were almost the last people out of Triacastela walking the Camino.


Ocebreiro to Triacastela

Only 6 days remaining on the Camino de Santiago

We are sitting in a restaurant in the little village of Triacastela on day 27 having tapas. It was a short 12 miles that were mostly down. Tomorrow we hope to go to Sarria.


Views from Astorga Spain

From Leon to Astorga on the Camino de Santiago

We visited Leon, Spain yesterday and then we walked 35Km today. Leon was wonderful. Today we walked in rain for the first time. We went 35 KM yesterday for no other reason than we could.


Walked 17 Miles Today

Today we walked 17 miles on the Camino

Today we are sitting at the albergue in Terradillos de las Templarios. We are at the halfway point in our journey. We have walked over 250 miles or 400 kilometers. I truly didn't think we would be able to do this. Mary has been a real trouper walking through bad knees and the pain of shin splints.


Finished a Third of our Camino Experience

We have walked a Third of the way to Santiago

Today finds us in Ages, Spain only 14 miles from Burgos. We are quite excited that we have managed this distance. We hoped we could but we had doubts especially those first few days where we hurt so much.


The Path to Najera Spain

Eight Days of Walking

We have been walking for 8 days now. It has been interesting, tiring, painful, fun and a real learning experience.


Walking Through the Pyrenees

Walking Through the Pyrenees

Mary and I started our journey to Santiago Spain. The first day we started in Saint Jean Pied de Port in France. The goal was to arrive in Roncevalle, Spain before nightfall.




Home| About Us | NewsLetters | Contact Us |

Copyright © 2004-2014 You Can Learn Series

You Can Learn Series Home Page You Can Learn Series
You Can Learn Series Home Page Home            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     



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

Bill Welter - The Prepared Mind of a Leader




Americas Public Schools