Forum Moderators: open
<MM:Insert
runat="server"
CommandText='<%# "INSERT INTO Users (JPassword, JUsername) VALUES (?,?,)" %>'
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_first_net") %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_first_net") %>'
Expression='<%# Request.Form("MM_insert") = "form1" %>'
CreateDataSet="false"
SuccessURL='<%# "login.aspx" %>'
Debug="true"
>
<Parameters>
<Parameter Name="@JPassword" Value='<%# IIf((Request.Form("password") <> Nothing), Request.Form("password"), "") %>' Type="WChar" />
<Parameter Name="@JUsername" Value='<%# IIf((Request.Form("username") <> Nothing), Request.Form("username"), "") %>' Type="WChar" />
</Parameters>
</MM:Insert>
Many thanks.
I normally use visual studio and code behind for this so I am not to sure how dreamweaver handles it. If you could post the code for MM_Insert I might be able to help more