C# and ASP

FacebookTwitter
Suppose I want to display Address details in GridView but don't want to display AddressId then I will hide column that displays AddressId. GridView has CheckBox also to select Addresses. Now at runtime on click of button I want to get AddressId of all selected Addresses in that case if I use gvAddress.Rows[index].Cell[1] to get AddressId it will return Nothing. The reason behind is, if Gridview has any BoundField column for which visible property is set to "false" then that columns is not rendered at runtime in GridView and data of hidden column won’t be available . http://www.codeproject.com/Tips/80964/How-to-get-Hidden-Column-Value-in-GridView

How to get Hidden Column Value in GridView

http://codebetter.com/jeremymiller/2008/06/29/some-concepts-to-know-first/

Before you use an IoC tool, some concepts to know first | Jeremy D. Miller

JEREMY’s NOTE: I’m trying to rewrite the StructureMap documentation today, and I’m going to blog most of it out here as I finish it until Brendan tells me to stop polluting the main feed. This article is intended to be an introduction to the concepts behind an IoC tool for folks with little or no previous exposure. Feedback will be very much appreciated. From my original release back in June 2004: StructureMap is a Inversion of Control (IoC) slash Dependency Injection framework that can be used to improve the architectural qualities of an object oriented system by reducing the mechanical costs of good design techniques.

WCF response with duplicated elements

http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/8a891f54-281f-4fcb-8fd5-db7b27d10cb6/ Hi Steven, Thanks for clarifying that. So what you are, in effect, saying is that it is not possible to directly generate the C# code that will return the expected SOAP data from the given XSD definitions and that whenever we are provided with updated XSDs we will have to manually modify the C# code emitted by svcutil (or create them manually)?
http://jamesshore.com/Blog/Dependency-Injection-Demystified.html When I first heard about dependency injection, I thought, "Dependendiwhatsit?" and promptly forgot about it. When I finally took the time to figure out what people were talking about, I laughed. " That's all it is?" "Dependency Injection" is a 25-dollar term for a 5-cent concept.

Dependency Injection Demystified

Foreach Loop Examples

http://www.dotnetperls.com/foreach Foreach is a loop construct. It does not use an integer index. Instead, it is used on a collection and returns each element in order. This is called enumeration. It eliminates errors caused by incorrect index handling. Example
It is very easy to store the connection string in a config file and there are several benefits in doing so. This article describes why and how to store the connection string in web.config. Introduction It is a good practice to store the connection string for your application in a config file rather than as a hard coded string in your code. http://www.connectionstrings.com/Articles/Show/store-connection-string-in-web-config

Store connection string in web.config - ConnectionStrings.com

n-tier

Open XML

MVC3

Linq