con.Open();
dr = null;
SqlCommand cmd = new SqlCommand("SELECT @@IDENTITY", con);
dr = cmd.ExecuteReader();
while (dr.Read())
try
{
{
LBL.Text = (dr["ID"].ToString());
}
}
I have an error in the red line say
System.IndexOutOfRangeException: DeliveryID
I want to get the new database that just add in on to this page