I am trying to work on the sample in livedoces but I am unable to update the 
database and also I am unable to display the updated contents. Can any one help 
me with it.

I have appended the columns to reduce the content.

Grid2.cfm
<cfquery name="empdata" datasource="CompanyInfo">
  SELECT * FROM Employee
</cfquery>

<cfform name="GridForm"
  action="handle_grid.cfm">

  <cfgrid name="employee_grid"
    height=425
    width=300
    vspace=10
    selectmode="edit"
    query="empdata"
    insert="Yes"
    delete="Yes">
    
    <cfgridcolumn name="Emp_ID"
      header="Emp ID"
      width=50
      headeralign="center"
      headerbold="Yes"
      select="No">
  </cfgrid>
  <br>
  <input type="Submit" value="Submit">
</cfform>

handle_grid.cfm

<cfgridupdate grid="Brand_Grid"
  datasource="BankInfo"
  tablename="tblWebSiteContent">
  
Click <a href="grid2.cfm">here</a> to display updated grid.

Thanks,
Pranathi. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320091
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to