این خط رو

string d_id = lbl_id.Text.ToString();

تبدیل به


int d_id =int.Parse(lbl_id.Text);


کنید