public void GetEditdata() { DataSet ds; DataTable dt; CustomProfile profile = CustomProfile.GetProfile(); iProductMasterClient productClient = new iProductMasterClient(); try { ds = productClient.GetEditSpecifcdetail(specifId, profile.DBConnection._constr); dt = ds.Tables[0]; if (dt.Rows.Count > 0) { long Id = long.Parse(dt.Rows[0]["ID"].ToString()); txtudf.Text = dt.Rows[0]["SpecificationTitle"].ToString(); txtvalue.Text = dt.Rows[0]["SpecificationDescription"].ToString(); } } catch { } finally { } }