コード例 #1
0
        protected void btnBodyOk_Click(object sender, EventArgs e)
        {
            ConexionSql conectSq = new ConexionSql();
            try
            {
            conectSq.eliminaralarma(lbEliminar0.SelectedItem.ToString());

            }
            catch (Exception x)
            {
                // TextBox1.Text = x.Message.ToString();

            }
        }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ConexionSql linqObject = new ConexionSql();
     int magnitud = Convert.ToInt32 ( Request.QueryString["m"]);
     linqObject.guardar(magnitud);
 }