public void insert() { try { Label1.Text = ""; clsjob obj = new clsjob(); obj.UP_FileName = txtfilename.Text; obj.UP_FileTypeId = 1;// Convert.ToInt32(cmbfiletype.SelectedValue); obj.UP_Discription = txtdiscptn.Text; obj.UP_Comment = txtcommnt.Text; obj.UP_PrivateKey = LTRPRIKEY.Text; obj.UP_r_id = Convert.ToInt32(Session["sessionuserid"]); obj.advnInsertfile(); } catch { } }
public void insert() { try { Label1.Text = ""; clsjob obj = new clsjob(); obj.UP_FileName = txtfilename.Text; obj.UP_FileTypeId = 1;// Convert.ToInt32(cmbfiletype.SelectedValue); obj.UP_Discription = txtdiscptn.Text; obj.UP_Comment = txtcommnt.Text; obj.UP_PrivateKey = LTRPRIKEY.Text; obj.UP_r_id = Convert.ToInt32(Session["sessionuserid"]); obj.advnInsertfile(); } catch { } }
public void insert() { try { Label1.Text = ""; clsjob obj = new clsjob(); obj.UP_FileName = txtfilename.Text; obj.UP_FileTypeId = 0; obj.UP_Discription = txtdiscptn.Text; obj.UP_Comment = txtcommnt.Text; obj.UP_PrivateKey = LTRPRIKEY.Text; obj.UP_r_id = Convert.ToInt32(Session["sessionuserid"]); obj.baseInsertfile(); } catch { //Label1.Visible = true; //Label1.Text = "Error Please try again."; //Label1.ForeColor = System.Drawing.Color.Red; } }
public void insert() { try { Label1.Text = ""; clsjob obj = new clsjob(); obj.UP_FileName = txtfilename.Text; obj.UP_FileTypeId = 0; obj.UP_Discription = txtdiscptn.Text; obj.UP_Comment = txtcommnt.Text; obj.UP_PrivateKey = LTRPRIKEY.Text; obj.UP_r_id = Convert.ToInt32(Session["sessionuserid"]); obj.baseInsertfile(); } catch { //Label1.Visible = true; //Label1.Text = "Error Please try again."; //Label1.ForeColor = System.Drawing.Color.Red; } }