Problems with the Delete

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Problems with the Delete

    i have this code i want to add, delete information to a sql data pressing
    agregar
    how can i add information to the database? what i miss????

    <CFQUERY NAME="contactlist" DATASOURCE="myaccount">
    Select NombreApellidos, NombreUsuario, Clave, IdUsuario
    from dbo.Usuarios
    </CFQUERY>


    <cfdump var="#form#">
    <cfform name="addressBook" format="flash" width="410" height="310">
    <cfformgroup type="panel" label="Contacts">

    <cfgrid name="contactList" query="contactlist" height="220"
    rowheaders="false" selectmode="edit">
    <cfgridcolumn name="idusuario" header="Delete" type="boolean"
    width="45"/>
    <cfgridcolumn name="nombreapellidos" header="apellido" />
    <cfgridcolumn name="nombreusuario" header="nombre" />
    <cfgridcolumn name="clave" header="contrase?a" />
    </cfgrid>
    <cfformgroup type="horizontal">
    <cfinput type="button" name="addContact" value="Agregar"
    onClick="#agregar#;"/>
    <cfinput type="button" name="removeContact" value="Eliminar"
    onClick="GridData.deleteRow(contactList);"/>
    <!---<cfinput type="button" name="selectBtn" width="90" value="Check all"
    onClick="#selectToggle#"/>--->
    <cfinput type="submit" name="submitBtn" value="Aceptar"/>
    </cfformgroup>
    </cfformgroup>
    </cfform>


    gcmenotti Guest

  2. Similar Questions and Discussions

    1. Delete form - Post data to a table and delete uponsubmit.
      I have a delete form that I'd like to post the data to a table (delete_pcn) and delete upon submit, so that all deletions may be kept track of in...
    2. delete button problems in datagrid
      i have a datagrid with a delete button which for some reason quit working, i'm thinking its a problem with the database but here is the code:...
    3. Cache DataGrid Datasource, Add/Delete rows and rebind problems
      Hi all, Is there any way to cache the Datasource of datagrid and allow to add/delete row in cache, then rebind the datagrid from cached...
    4. SELECT OK, INSERT and DELETE Problems in Windows 2003
      Hi, I´m not getting write, alter or exclude any register in my table. Only read without problems. What is happening ? Generate the error:
    5. Problems in Delete Row
      hi, i have a datagrid and got a delete column <asp:datagrid id="dgpayer" runat="server" CssClass="text" OnItemDataBound="SplitDetails"...
  3. #2

    Default Re: Problems with the Submit

    " what i miss????" a few more CFGRID parameters along with the SelectMode:

    SELECTMODE="Edit"
    INSERT="Yes"
    DELETE="Yes"
    INSERTBUTTON="Add a row "
    DELETEBUTTON="Del that row"
    JMGibson3 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139