private int? Ethnic
{
get
{
int? Ethnic = null; // CODE REVIEW: This variable declaration hides Property, consider changing the name or removing the declaration.
if (!string.IsNullOrEmpty(ddlEthnic.SelectedValue)) //not a required field
Ethnic = int.Parse(ddlEthnic.SelectedValue);
return Ethnic;
}
}
ASKER
ASKER
ASKER
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
TRUSTED BY