Skip to Content

ASP.NET Programming

Validate RadioButtonList and Textbox in FormView

After weeks of researching for answer, I finally came up with the solution of how to validate objects within a FormView using ASP.NET 2.0 programming language.

Assuming you have a FormView, and you require users to update information to the SQL database. There is a RadioButtonList and a TextBox. The entry within the textbox is optional, but it will be mandatory if one of the option is chosen. Take for example, the screen-shot below.

(find out how to solve the validation issue...)

Named Pipes Provider, error 40

This error arises usually for the first time a user attempts to connect the SQL Server 2005 using Visual Web Developer 2005.

"Named Pipes Provider, error 40 - Could not open a connection to SQL Server"

It is definitely not a good sign. However, the solution is very simple! Just that Microsoft had made it in a way such that the system becomes too rigid.

(let's go and find the solution...)

Syndicate content