how do you code validation controls using c#?

That's very case dependant. The controls do have a Validation event that can be handled to accept or reject the user input. But, the actual code will depend on the type of data and the values regarded as valid.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.