:(:(اخواني بليز الله يخليكم بسرعه بسرعه
الحقيقه انا مبتدأ جدا على الASP قمت بتصميم نموذج يقوم باضافة بيانات الى قاعدة البيانات لكنني فشلت :(
ارجو ان يقوم احدكم بتضبيطه ووضعه لي
النموذج
<table border="1" cellspacing="1" width="100%" id="AutoNumber12" style="border-width: 0"> <tr> <td width="100%" style="border-style: none; border-width: medium"> </td> </tr> </table> <table id="AutoNumber1" style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-COLLAPSE: collapse; BORDER-RIGHT-WIDTH: 0px" borderColor="#111111" height="171" cellSpacing="0" cellPadding="0" width="100%" border="1"> <tr> <td class="datacell" width="100%" height="67" style="border-bottom-style: none; border-bottom-width: medium"><font class="content"> <table cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td> <table height="186" cellSpacing="0" cellPadding="3" width="100%" border="0" style="border-bottom-width: 0"> <tr vAlign="top"> <td height="180" style="border-bottom-style: none; border-bottom-width: medium"> <table border="1" cellspacing="1" width="100%" id="AutoNumber6"> <tr> <td width="67%"> <input name="BookName" size="66" style="float: right"></td> <td width="59%"> <p align="right" dir="rtl"><font face="Tahoma" color="#FF0000"> اسم الكتاب</font></td> </tr> <tr> <td width="67%"> <p align="right"> <select size="1" name="D1" style="font-family: Tahoma"> <option selected>الكتب العامة</option> <option>الموسوعات</option> <option>القصص</option> <option>الروايات</option> <option>كتب الشعر</option> <option>كتب علمية</option> <option>كتب دينية</option> </select></td> <td width="59%"> <p align="right"> <font face="Tahoma" color="#FF0000"> القسم المراد إضافة الكتاب إلية</font></td> </tr> <tr> <td width="67%"> <p align="right"> <input type="text" name="YourName" size="66"></td> <td width="59%"> <p align="right"><font color="#FF0000" face="Tahoma"> اسمك</font></td> </tr> <tr> <td width="67%"> <p align="right"> <input type="text" name="YourEmail" size="66" dir="ltr"></td> <td width="59%"> <p align="right" dir="rtl"><font face="Tahoma" color="#FF0000">بريدك الالكتروني</font></td> </tr> <tr> <td width="67%"> <p align="right"> <textarea rows="4" name="note" cols="53" style="font-family: Tahoma"></textarea></td> <td width="59%"> <p align="right"> <font face="Tahoma" color="#FF0000"> وصف الكتاب</font></td> </tr> <tr> <td width="67%"> <table border="1" cellspacing="1" width="100%" id="AutoNumber7" style="border-width: 0" height="43"> <tr> <td width="45%" style="border-style: none; border-width: medium" height="16"> <input type="file" name="upload" size="20" style="font-family: Tahoma; float:right"></td> <td width="55%" style="border-style: none; border-width: medium" height="16"> <p align="right" dir="rtl"> <font face="Tahoma" size="1">ا</font><font face="Tahoma" size="2">ذا كان الكتاب بجهازك </font></td> </tr> <tr> <td width="45%" style="border-style: none; border-width: medium" height="17"> <input name="bookUrl" size="49" dir="ltr" style="float: right"></td> <td width="55%" style="border-style: none; border-width: medium" height="17"> <p align="right" dir="rtl"> <font face="Tahoma">رابط تحميل للكتاب</font></td> </tr> </table> </td> <td width="59%"> <p align="right"> <span lang="en-us"><font face="Tahoma" color="#FF0000"> </font></span><font face="Tahoma" color="#FF0000">رابط تحميل الكتاب</font></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </font></td> </tr> </table> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-top-width:0" bordercolor="#111111" width="100%" id="AutoNumber11" align="center" dir="rtl"> <tr> <td width="100%" align="center" bgcolor="#FFFFFF" dir="rtl" style="border-top-style: none; border-top-width: medium"> <input type="submit" value="اضافة الكتاب" name="add" style="font-family: Tahoma"> <span lang="en-us"> </span> </td> </tr> </table>
وقاعدة البيانات مرفق بالموضوع
