
19/10/2004, 17:40
|
 | | | Fecha de Ingreso: abril-2004 Ubicación: Zaragoza
Mensajes: 305
Antigüedad: 20 años, 10 meses Puntos: 0 | |
Sorry...te hará falta el código para borrar. Ahí va...
Dim sConnectionStringDtemp As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath("base.mdb") & ";"
Dim conexionDtemp As New OleDbConnection(sConnectionStringDtemp)
Dim seleccionDtemp As New OleDbCommand
Dim seleccionstringDtemp As String
Dim contadorborrados As Integer
seleccionstringDtemp = "DELETE * FROM tabla Where Identificador = @identificador"
seleccionDtemp = New OleDbCommand(seleccionstringDtemp, conexionDtemp)
seleccionDtemp.Parameters.Add("@identificador", OleDbType.Double, 12)
seleccionDtemp.Parameters("@identificador").Value = (CType(e.Item.FindControl("Label13"), Label)).Text
conexionDtemp.Open()
seleccionDtemp.ExecuteNonQuery()
conexionDtemp.Close()
dtgreservas.DataBind()
BlindDataGridC("identificador")
Response.Redirect("Confirma.aspx")
__________________ Pide lo que quieras...y luego paga por ello |