Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

updating data in to database.
Last Post 05-05-2010 06:56 AM by David To. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ess essUser is Offline
wading in the water
wading in the water
Posts:33
Avatar

--
05-04-2010 11:56 PM

    Hi,

    I have two pages.In one page i have created a table through dynamic sql statement and inserted data in to that.

    In another page i want to update that table data.How to do it using dynamic forms module and dynamic sql statement.

    Pls help me.

    Regards

    ess

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    05-05-2010 06:56 AM
    HI, yes it can be done strictly with dynamic forms (although normally, for something like this, we would utilize a listing module such as Dynamic Views, Open Web Studio or DNN Reports module) along with Dynamic Forms. But if you only want to use Dynamic Forms to insert/update/delete a custom SQL table, here's the best way to do this:

    On the first page, you have set it to insert data into the SQL table.

    On your second page, have two dynamic forms module, with the top form having a combobox (SQL driven option to select the primary key from your SQL table as the optionvalue). Make sure the shortname for this combobox is DSParam1. Also set this field to pass and retrieve from querystring variable. Also under module configuration / general settings, have it redirect to the same URL.

    On the bottom DF module, under Module Configuration / Initial SQL Rendering Bind, enable this with the initial query:

    select * from tablename where columnname = '$(DSParam1)'

    This form should have all the shortfield names of the SQL table column names (as well as the DSParam1 which would be a hidden field retrieve from querystring). In your completion event, perform an update SQL statement where foreignkeyname = '$(DSParam1)'

    -- David
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi