protected void DetailsView1_ItemInserted(object sender, EventArgs e)
{
using (SqlCommand cmd2 = new SqlCommand("uspUpdateDisplayHours", cn))
{
cn.Open();
cmd2.CommandType = CommandType.StoredProcedure;
cmd2.ExecuteNonQuery();
cn.Close();
}
DetailsView1.DataBind();
}
}
The Stored Procedure is working on SQL Server - Updating a column1 that's on the Form. but not showing the results/data on .net with NO Error.