Conversion failed when converting the nvarchar value 'Please Select' to data type int.
The Initial value has to be added programmaticall y
How do I fix the error,below is my code which works correctly except if the initial value is selected.
Code:
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
Leave a comment: