Insert Record problems with Stystem.Data

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Insert Record problems with Stystem.Data

    Hi.
    I am trying to create a "create new user" form on my site with ASP.NET. I am
    using DWMX 2004 and Access 2003 to do this. I can create the form ok and have
    it show up on a browser preview. However, when I add in the Insert Record
    behaviour from Dreamweaver, the page displays the following error:

    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to
    service this request. Please review the following specific parse error details
    and modify your source file appropriately.

    Parser Error Message: The located assembly's manifest definition with name
    'System.Data' does not match the assembly reference.

    Source Error:

    Line 2: <%@ Import Namespace="System.Data" %>
    Line 3: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,cultu
    re=neutral" %>
    Line 4: <MM:Insert
    Line 5: runat="server"
    Line 6: CommandText='<%# "INSERT INTO CustomerList (BillingAddress,
    BillingCity, BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer,
    FirstName, LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
    ?, ?, ?, ?, ?, ?, ?)" %>'


    Source File: c:\inetpub\wwwroot\hockeycards\registration.aspx Line: 4

    Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.0.2914.16

    All the code is DW made, except line 2. I was told adding that line in may fix
    the problem, but it didn't.

    Here is the code for my page:
    <%@LANGUAGE="VBSCRIPT"%>
    <%@ Import Namespace="System.Data" %>
    <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,cultu
    re=neutral" %>
    <MM:Insert
    runat="server"
    CommandText='<%# "INSERT INTO CustomerList (BillingAddress, BillingCity,
    BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer, FirstName,
    LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
    ?, ?, ?, ?, ?, ?, ?)" %>'
    ConnectionString='<%#
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_STRING_hoc
    keycards") %>'
    DatabaseType='<%#
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_DATABASETY
    PE_hockeycards") %>'
    Expression='<%# Request.Form("MM_insert") = "form1" %>'
    CreateDataSet="false"
    Debug="true"
    >
    <Parameters>
    <Parameter Name="@BillingAddress" Value='<%#
    IIf((Request.Form("billingaddress") <> Nothing),
    Request.Form("billingaddress"), "") %>' Type="WChar" />
    <Parameter Name="@BillingCity" Value='<%# IIf((Request.Form("billingcity")
    <> Nothing), Request.Form("billingcity"), "") %>' Type="WChar" />
    <Parameter Name="@BillingPostalCode" Value='<%#
    IIf((Request.Form("billingpostalcode") <> Nothing),
    Request.Form("billingpostalcode"), "") %>' Type="WChar" />
    <Parameter Name="@BillingProvince" Value='<%#
    IIf((Request.Form("billingprovince") <> Nothing),
    Request.Form("billingprovince"), "") %>' Type="WChar" />
    <Parameter Name="@Email" Value='<%# IIf((Request.Form("email") <>
    Nothing), Request.Form("email"), "") %>' Type="WChar" />
    <Parameter Name="@FavoriteNHLPlayer" Value='<%#
    IIf((Request.Form("favoritenhlplayer") <> Nothing),
    Request.Form("favoritenhlplayer"), "") %>' Type="WChar" />
    <Parameter Name="@FirstName" Value='<%# IIf((Request.Form("fname") <>
    Nothing), Request.Form("fname"), "") %>' Type="WChar" />
    <Parameter Name="@LastName" Value='<%# IIf((Request.Form("lname") <>
    Nothing), Request.Form("lname"), "") %>' Type="WChar" />
    <Parameter Name="@Password" Value='<%# IIf((Request.Form("password") <>
    Nothing), Request.Form("password"), "") %>' Type="WChar" />
    <Parameter Name="@PhoneNumber" Value='<%# IIf((Request.Form("phonenumber")
    <> Nothing), Request.Form("phonenumber"), "") %>' Type="Integer" />
    <Parameter Name="@ShippingAddress" Value='<%#
    IIf((Request.Form("shippingaddress") <> Nothing),
    Request.Form("shippingaddress"), "") %>' Type="WChar" />
    <Parameter Name="@ShippingCity" Value='<%#
    IIf((Request.Form("shippingcity") <> Nothing), Request.Form("shippingcity"),
    "") %>' Type="WChar" />
    <Parameter Name="@ShippingPostalCode" Value='<%#
    IIf((Request.Form("shippingpostalcode") <> Nothing),
    Request.Form("shippingpostalcode"), "") %>' Type="WChar" />
    <Parameter Name="@ShippingProvince" Value='<%#
    IIf((Request.Form("shippingprovince") <> Nothing),
    Request.Form("shippingprovince"), "") %>' Type="WChar" />
    <Parameter Name="@Username" Value='<%# IIf((Request.Form("username") <>
    Nothing), Request.Form("username"), "") %>' Type="WChar" />
    </Parameters>
    </MM:Insert>
    <MM:PageBind runat="server" PostBackBind="true" />
    <%@ Import Namespace="System.Data" %>
    <MM:InsertCommand
    runat="server"
    CommandText='<%# "INSERT INTO CustomerList (BillingAddress, BillingCity,
    BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer, FirstName,
    LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
    ?, ?, ?, ?, ?, ?, ?)" %>'
    ConnectionString='<%#
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_STRING_hoc
    keycards") %>'
    DatabaseType='<%#
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_DATABASETY
    PE_hockeycards") %>'
    Expression='<%# Request.Form("MM_insert") = "form1" %>'
    CreateDataSet="false"
    SuccessURL='<%# "received.asp" %>'
    Debug="true"
    ><Parameters>
    <Parameter Name="@BillingAddress" Value='<%#
    IIf((Request.Form("billingaddress") <> Nothing),
    Request.Form("billingaddress"), "") %>' Type="WChar" />
    <Parameter Name="@BillingCity" Value='<%# IIf((Request.Form("billingcity")
    <> Nothing), Request.Form("billingcity"), "") %>' Type="WChar" />
    <Parameter Name="@BillingPostalCode" Value='<%#
    IIf((Request.Form("billingpostalcode") <> Nothing),
    Request.Form("billingpostalcode"), "") %>' Type="WChar" />
    <Parameter Name="@BillingProvince" Value='<%#
    IIf((Request.Form("billingprovince") <> Nothing),
    Request.Form("billingprovince"), "") %>' Type="WChar" />
    <Parameter Name="@Email" Value='<%# IIf((Request.Form("email") <> Nothing),
    Request.Form("email"), "") %>' Type="WChar" />
    <Parameter Name="@FavoriteNHLPlayer" Value='<%#
    IIf((Request.Form("favoritenhlplayer") <> Nothing),
    Request.Form("favoritenhlplayer"), "") %>' Type="WChar" />
    <Parameter Name="@FirstName" Value='<%# IIf((Request.Form("fname") <>
    Nothing), Request.Form("fname"), "") %>' Type="WChar" />
    <Parameter Name="@LastName" Value='<%# IIf((Request.Form("lname") <>
    Nothing), Request.Form("lname"), "") %>' Type="WChar" />
    <Parameter Name="@Password" Value='<%# IIf((Request.Form("password") <>
    Nothing), Request.Form("password"), "") %>' Type="WChar" />
    <Parameter Name="@PhoneNumber" Value='<%# IIf((Request.Form("phonenumber")
    <> Nothing), Request.Form("phonenumber"), "") %>' Type="Integer" />
    <Parameter Name="@ShippingAddress" Value='<%#
    IIf((Request.Form("shippingaddress") <> Nothing),
    Request.Form("shippingaddress"), "") %>' Type="WChar" />
    <Parameter Name="@ShippingCity" Value='<%# IIf((Request.Form("shippingcity")
    <> Nothing), Request.Form("shippingcity"), "") %>' Type="WChar" />
    <Parameter Name="@ShippingPostalCode" Value='<%#
    IIf((Request.Form("shippingpostalcode") <> Nothing),
    Request.Form("shippingpostalcode"), "") %>' Type="WChar" />
    <Parameter Name="@ShippingProvince" Value='<%#
    IIf((Request.Form("shippingprovince") <> Nothing),
    Request.Form("shippingprovince"), "") %>' Type="WChar" />
    <Parameter Name="@Username" Value='<%# IIf((Request.Form("username") <>
    Nothing), Request.Form("username"), "") %>' Type="WChar" />
    </Parameters>
    </MM:Insert><%@ Import Namespace="System.Data" %><!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Sideline Sportscards Your best source for hockey cards!</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
    i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }

    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
    x.src=x.oSrc;
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
    x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
    x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    .style1 {color: #FFFFFF}
    -->
    </style></head>

    <body
    onLoad="MM_preloadImages('art/navbar/indexover.png','art/navbar/rookiesover.png'
    ,'art/navbar/gameover.png','art/navbar/autoover.png','art/navbar/autoover.gif','
    art/navbar/indexover.gif','art/navbar/searchover.gif','art/navbar/rookiesover.gi
    f','art/navbar/gameover.gif','art/navbar/specialover.gif','art/navbar/orderover.
    gif','art/navbar/insertsover.gif')">
    <table width="100%" border="4" bordercolor="#0033FF">
    <tr valign="top">
    <td colspan="2"><img src="art/CSS%20Pictures/thefinalheader.jpg"
    width="100%" height="80"></td>
    </tr>

    InvisibleBunnyKing Guest

  2. Similar Questions and Discussions

    1. Insert Record and Redirect Data
      I have a website where we are adding articles to categories. I need to be able to have a user add an article and then have the option to add that...
    2. Insert record
      Hi all, I'm having a bit of a problem at the moment. I'm basically trying to insert a record to a MS Access database. I'm using dreamweaver MX. What...
    3. Problems with INSERT record. What's goin on!?
      I'm trying to setup a very basic user registration form. It contains basic user input and uses the insert record behavior to insert the data into a...
    4. Insert Record, Display Data
      What is the best way to perform an INSERT RECORD (with the same page being the target page after insertion) in php and then displaying the inserted...
    5. How to insert a new record
      I am having problems with inserting a new record into access database using the detailsview control, the autonumber of the control does not update...
  3. #2

    Default Re: Insert Record problems with Stystem.Data

    The dreamweaver assemby contains its own references for handling inserts so
    line 2 should be deleted.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "InvisibleBunnyKing" <webforumsuser@macromedia.com> wrote in message
    news:d4o61k$j99$1@forums.macromedia.com...
    > Hi.
    > I am trying to create a "create new user" form on my site with ASP.NET. I
    am
    > using DWMX 2004 and Access 2003 to do this. I can create the form ok and
    have
    > it show up on a browser preview. However, when I add in the Insert Record
    > behaviour from Dreamweaver, the page displays the following error:
    >
    > Server Error in '/' Application.
    > Parser Error
    > Description: An error occurred during the parsing of a resource required
    to
    > service this request. Please review the following specific parse error
    details
    > and modify your source file appropriately.
    >
    > Parser Error Message: The located assembly's manifest definition with
    name
    > 'System.Data' does not match the assembly reference.
    >
    > Source Error:
    >
    > Line 2: <%@ Import Namespace="System.Data" %>
    > Line 3: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    >
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,c
    ultu
    > re=neutral" %>
    > Line 4: <MM:Insert
    > Line 5: runat="server"
    > Line 6: CommandText='<%# "INSERT INTO CustomerList (BillingAddress,
    > BillingCity, BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer,
    > FirstName, LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    > ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?,
    ?, ?,
    > ?, ?, ?, ?, ?, ?, ?)" %>'
    >
    >
    > Source File: c:\inetpub\wwwroot\hockeycards\registration.aspx Line: 4
    >
    > Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.0.2914.16
    >
    > All the code is DW made, except line 2. I was told adding that line in
    may fix
    > the problem, but it didn't.
    >
    > Here is the code for my page:
    > <%@LANGUAGE="VBSCRIPT"%>
    > <%@ Import Namespace="System.Data" %>
    > <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    >
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,c
    ultu
    > re=neutral" %>
    > <MM:Insert
    > runat="server"
    > CommandText='<%# "INSERT INTO CustomerList (BillingAddress, BillingCity,
    > BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer, FirstName,
    > LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    > ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?,
    ?, ?,
    > ?, ?, ?, ?, ?, ?, ?)" %>'
    > ConnectionString='<%#
    >
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_STRING
    _hoc
    > keycards") %>'
    > DatabaseType='<%#
    >
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_DATABA
    SETY
    > PE_hockeycards") %>'
    > Expression='<%# Request.Form("MM_insert") = "form1" %>'
    > CreateDataSet="false"
    > Debug="true"
    > >
    > <Parameters>
    > <Parameter Name="@BillingAddress" Value='<%#
    > IIf((Request.Form("billingaddress") <> Nothing),
    > Request.Form("billingaddress"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingCity" Value='<%#
    IIf((Request.Form("billingcity")
    > <> Nothing), Request.Form("billingcity"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingPostalCode" Value='<%#
    > IIf((Request.Form("billingpostalcode") <> Nothing),
    > Request.Form("billingpostalcode"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingProvince" Value='<%#
    > IIf((Request.Form("billingprovince") <> Nothing),
    > Request.Form("billingprovince"), "") %>' Type="WChar" />
    > <Parameter Name="@Email" Value='<%# IIf((Request.Form("email") <>
    > Nothing), Request.Form("email"), "") %>' Type="WChar" />
    > <Parameter Name="@FavoriteNHLPlayer" Value='<%#
    > IIf((Request.Form("favoritenhlplayer") <> Nothing),
    > Request.Form("favoritenhlplayer"), "") %>' Type="WChar" />
    > <Parameter Name="@FirstName" Value='<%# IIf((Request.Form("fname") <>
    > Nothing), Request.Form("fname"), "") %>' Type="WChar" />
    > <Parameter Name="@LastName" Value='<%# IIf((Request.Form("lname") <>
    > Nothing), Request.Form("lname"), "") %>' Type="WChar" />
    > <Parameter Name="@Password" Value='<%# IIf((Request.Form("password")
    <>
    > Nothing), Request.Form("password"), "") %>' Type="WChar" />
    > <Parameter Name="@PhoneNumber" Value='<%#
    IIf((Request.Form("phonenumber")
    > <> Nothing), Request.Form("phonenumber"), "") %>' Type="Integer" />
    > <Parameter Name="@ShippingAddress" Value='<%#
    > IIf((Request.Form("shippingaddress") <> Nothing),
    > Request.Form("shippingaddress"), "") %>' Type="WChar" />
    > <Parameter Name="@ShippingCity" Value='<%#
    > IIf((Request.Form("shippingcity") <> Nothing),
    Request.Form("shippingcity"),
    > "") %>' Type="WChar" />
    > <Parameter Name="@ShippingPostalCode" Value='<%#
    > IIf((Request.Form("shippingpostalcode") <> Nothing),
    > Request.Form("shippingpostalcode"), "") %>' Type="WChar" />
    > <Parameter Name="@ShippingProvince" Value='<%#
    > IIf((Request.Form("shippingprovince") <> Nothing),
    > Request.Form("shippingprovince"), "") %>' Type="WChar" />
    > <Parameter Name="@Username" Value='<%# IIf((Request.Form("username")
    <>
    > Nothing), Request.Form("username"), "") %>' Type="WChar" />
    > </Parameters>
    > </MM:Insert>
    > <MM:PageBind runat="server" PostBackBind="true" />
    > <%@ Import Namespace="System.Data" %>
    > <MM:InsertCommand
    > runat="server"
    > CommandText='<%# "INSERT INTO CustomerList (BillingAddress, BillingCity,
    > BillingPostalCode, BillingProvince, Email, FavoriteNHLPlayer, FirstName,
    > LastName, Password, PhoneNumber, ShippingAddress, ShippingCity,
    > ShippingPostalCode, ShippingProvince, Username) VALUES (?, ?, ?, ?, ?, ?,
    ?, ?,
    > ?, ?, ?, ?, ?, ?, ?)" %>'
    > ConnectionString='<%#
    >
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_STRING
    _hoc
    > keycards") %>'
    > DatabaseType='<%#
    >
    System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_DATABA
    SETY
    > PE_hockeycards") %>'
    > Expression='<%# Request.Form("MM_insert") = "form1" %>'
    > CreateDataSet="false"
    > SuccessURL='<%# "received.asp" %>'
    > Debug="true"
    > ><Parameters>
    > <Parameter Name="@BillingAddress" Value='<%#
    > IIf((Request.Form("billingaddress") <> Nothing),
    > Request.Form("billingaddress"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingCity" Value='<%#
    IIf((Request.Form("billingcity")
    > <> Nothing), Request.Form("billingcity"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingPostalCode" Value='<%#
    > IIf((Request.Form("billingpostalcode") <> Nothing),
    > Request.Form("billingpostalcode"), "") %>' Type="WChar" />
    > <Parameter Name="@BillingProvince" Value='<%#
    > IIf((Request.Form("billingprovince") <> Nothing),
    > Request.Form("billingprovince"), "") %>' Type="WChar" />
    > <Parameter Name="@Email" Value='<%# IIf((Request.Form("email") <>
    Nothing),
    > Request.Form("email"), "") %>' Type="WChar" />
    > <Parameter Name="@FavoriteNHLPlayer" Value='<%#
    > IIf((Request.Form("favoritenhlplayer") <> Nothing),
    > Request.Form("favoritenhlplayer"), "") %>' Type="WChar" />
    > <Parameter Name="@FirstName" Value='<%# IIf((Request.Form("fname") <>
    > Nothing), Request.Form("fname"), "") %>' Type="WChar" />
    > <Parameter Name="@LastName" Value='<%# IIf((Request.Form("lname") <>
    > Nothing), Request.Form("lname"), "") %>' Type="WChar" />
    > <Parameter Name="@Password" Value='<%# IIf((Request.Form("password") <>
    > Nothing), Request.Form("password"), "") %>' Type="WChar" />
    > <Parameter Name="@PhoneNumber" Value='<%#
    IIf((Request.Form("phonenumber")
    > <> Nothing), Request.Form("phonenumber"), "") %>' Type="Integer" />
    > <Parameter Name="@ShippingAddress" Value='<%#
    > IIf((Request.Form("shippingaddress") <> Nothing),
    > Request.Form("shippingaddress"), "") %>' Type="WChar" />
    > <Parameter Name="@ShippingCity" Value='<%#
    IIf((Request.Form("shippingcity")
    > <> Nothing), Request.Form("shippingcity"), "") %>' Type="WChar" />
    > <Parameter Name="@ShippingPostalCode" Value='<%#
    > IIf((Request.Form("shippingpostalcode") <> Nothing),
    > Request.Form("shippingpostalcode"), "") %>' Type="WChar" />
    > <Parameter Name="@ShippingProvince" Value='<%#
    > IIf((Request.Form("shippingprovince") <> Nothing),
    > Request.Form("shippingprovince"), "") %>' Type="WChar" />
    > <Parameter Name="@Username" Value='<%# IIf((Request.Form("username") <>
    > Nothing), Request.Form("username"), "") %>' Type="WChar" />
    > </Parameters>
    > </MM:Insert><%@ Import Namespace="System.Data" %><!DOCTYPE HTML PUBLIC
    > "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    > <title>Sideline Sportscards Your best source for hockey cards!</title>
    > <script language="JavaScript" type="text/JavaScript">
    > <!--
    > function MM_preloadImages() { //v3.0
    > var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    > var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length;
    > i++)
    > if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    > }
    >
    > function MM_swapImgRestore() { //v3.0
    > var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
    > x.src=x.oSrc;
    > }
    >
    > function MM_findObj(n, d) { //v4.01
    > var p,i,x; if(!d) d=document;
    > if((p=n.indexOf("?"))>0&&parent.frames.length) {
    > d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    > if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
    > x=d.forms[n];
    > for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    > x=MM_findObj(n,d.layers.document);
    > if(!x && d.getElementById) x=d.getElementById(n); return x;
    > }
    >
    > function MM_swapImage() { //v3.0
    > var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
    > for(i=0;i<(a.length-2);i+=3)
    > if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
    > x.oSrc=x.src; x.src=a[i+2];}
    > }
    > //-->
    > </script>
    > <style type="text/css">
    > <!--
    > .style1 {color: #FFFFFF}
    > -->
    > </style></head>
    >
    > <body
    >
    onLoad="MM_preloadImages('art/navbar/indexover.png','art/navbar/rookiesover.
    png'
    >
    ,'art/navbar/gameover.png','art/navbar/autoover.png','art/navbar/autoover.gi
    f','
    >
    art/navbar/indexover.gif','art/navbar/searchover.gif','art/navbar/rookiesove
    r.gi
    >
    f','art/navbar/gameover.gif','art/navbar/specialover.gif','art/navbar/ordero
    ver.
    > gif','art/navbar/insertsover.gif')">
    > <table width="100%" border="4" bordercolor="#0033FF">
    > <tr valign="top">
    > <td colspan="2"><img src="art/CSS%20Pictures/thefinalheader.jpg"
    > width="100%" height="80"></td>
    > </tr>
    >

    Paul Whitham TMM Guest

  4. #3

    Default Re: Insert Record problems with Stystem.Data

    Thanks for answering, but that did not seem to fix the problem. I get the exact same message.
    Any other suggestions????

    Clint Rivest
    InvisibleBunnyKing 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