Avatar billede ircnoob Nybegynder
10. oktober 2006 - 09:04

HTML form send

Hej,
i min .net site har jeg indsat html forms ... de skal sende deres data til min "server" side.. men det virker ikke lige :/    hvad kan problemet være ? Har en action der gerne skulle have sendt til  siden "ordremodtaget.aspx" når man trykker på submit knappen ..

Koden i den side:   
Hejsa-sa <%= Request.QueryString["FirstName"]%>

--- problem kode ----
<form id="form1" runat="server" action="OrdreModtaget.aspx" method="get">

    <div>
        <table style="z-index: 100; left: 0px; width: 836px; position: absolute; top: 7px">
            <tr>
                <td style="width: 291px; height: 21px">
                </td>
                <td align="center" style="width: 339px; height: 21px">
                    PC Bestillingsblanket</td>
                <td style="height: 21px">
                </td>
            </tr>
            <tr>
                <td style="width: 300px; height: 21px">
                </td>
                <td style="width: 300px; height: 21px">
                </td>
                <td style="height: 21px">
                </td>
            </tr>
            <tr>
                <td style="width: 291px; height: 21px">
                </td>
                <td style="width: 339px; height: 21px">
                </td>
                <td style="height: 21px">
                </td>
            </tr>
        </table>
        <br />
        <br />
        <br />
        <br />
        <br />
        <hr style="z-index: 101; left: -7px; width: 821px; position: absolute; top: 95px" />
        <br />
        <br />
        <table style="z-index: 102; left: 0px; width: 835px; position: absolute; top: 162px">
            <tr>
                <td style="width: 150px; height: 21px">
                    CPU</td>
                <td style="height: 21px">
               
                    <select id="CPUSelect" style="z-index: 100; left: 173px; width: 73px; position: absolute;
                        top: 0px">
                        <option selected="selected"></option>
                    </select>
                </td>
            </tr>
            <tr>
                <td style="width: 150px">
                    Harddisk</td>
                <td>
                    <select id="HarddiskSelect" style="z-index: 101; left: 176px; width: 70px; position: absolute;
                        top: 27px">
                        <option selected="selected"></option>
                    </select>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Skærm</td>
                <td style="height: 22px">
                    <input id="Checkbox1" checked="checked" style="z-index: 102; left: 164px; position: absolute;
                        top: 52px" type="checkbox" />
                    <input id="Checkbox2" style="z-index: 103; left: 233px; position: absolute; top: 53px"
                        type="checkbox" />
                    &nbsp; &nbsp; &nbsp; &nbsp; 14" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17"</td>
            </tr>
            <tr>
                <td style="width: 150px; height: 10px">
                    Udstyr</td>
                <td style="height: 10px">
                    <input id="Checkbox3" style="z-index: 104; left: 168px; position: absolute; top: 94px"
                        type="checkbox" />
                    <br />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 32xCD/ROM drev<br />
                    <input id="Checkbox4" style="z-index: 105; left: 167px; position: absolute; top: 114px"
                        type="checkbox" />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 56k modem<br />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Soundblaster&nbsp;<br />
                    <input id="Checkbox5" style="z-index: 106; left: 168px; position: absolute; top: 133px"
                        type="checkbox" />
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Software</td>
                <td style="height: 22px">
                    <select id="Select1" style="z-index: 107; left: 172px; width: 138px; position: absolute;
                        top: 172px">
                        <option selected="selected"></option>
                    </select>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                </td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                </td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Fornavn</td>
                <td style="height: 22px">
                    <input id="FirstName" style="z-index: 108; left: 166px; position: absolute; top: 253px"
                        type="text" runat="server"/>
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Efternavn</td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Adresse</td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Kontonr</td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Email</td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                    Kommentarer</td>
                <td style="height: 22px">
                </td>
            </tr>
            <tr>
                <td style="width: 150px; height: 22px">
                </td>
                <td style="height: 22px">
                </td>
            </tr>
        </table>
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <input id="Submit1" style="z-index: 103; left: 9px; position: absolute; top: 615px"
            type="submit" value="enter" runat="server" />
        <br />
        <input id="Reset1" style="z-index: 104; left: 84px; position: absolute; top: 616px"
            type="reset" value="reset" />
        <br />
   
    </div>
    </form>
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester