זקוקה לעזרה - דחוף

חמודה01

New member
מבקשת עזרה - דחוף

שלום אני מנסה לכתוב קוד אשר מקבל נתונים מהמשתמש ומכניס אותם לטבלה בבסיס הנתונים. קיימת בדיקה לפי תעודת זהות שלא הוכנס מידע על אותו משתמש פעמיים. הבעיה היא: בהרצת הקוד מתקבלת הההערה הבאה: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30455: Argument not specified for parameter 'tz' of 'Public Function AddEmployee(userName As String, password As String, address As String, sS As String, remark As String, tz As String) As Integer'. Source Error: Line 115: ' "gfhfhgf" Line 116: ' else Line 117: AddEmployee(checkString(textbox1.text), server.htmlencode(textbox2.text), dropdownlist1.selecteditem.value.tostring(), checkString(textbox4.text), checkString(tz)) Line 118: textbox1.text="" Line 119: textbox2.text="" מה פירושה?? אינני מצליחה למצוא את הטעות. מצורף הקוד המלא. תודה
 

חמודה01

New member
זקוקה לעזרה - דחוף

שלום אני מנסה לכתוב קוד אשר מקבל נתונים מהמשתמש ומכניס אותם לטבלה בבסיס הנתונים. קיימת בדיקה לפי תעודת זהות שלא הוכנס מידע על אותו משתמש פעמיים. הבעיה היא: בהרצת הקוד מתקבלת הההערה הבאה: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30455: Argument not specified for parameter 'tz' of 'Public Function AddEmployee(userName As String, password As String, address As String, sS As String, remark As String, tz As String) As Integer'. Source Error: Line 115: ' "gfhfhgf" Line 116: ' else Line 117: AddEmployee(checkString(textbox1.text), server.htmlencode(textbox2.text), dropdownlist1.selecteditem.value.tostring(), checkString(textbox4.text), checkString(tz)) Line 118: textbox1.text="" Line 119: textbox2.text="" מה פירושה?? אינני מצליחה למצוא את הטעות. מצורף הקוד המלא. תודה
 

nattygur

New member
1) תיישרי לשמאל!

2) הקובץ לא מכיל קוד. 3) כנראה tz אינו מכיל ערך. זה שאת מעבירה ל CheckString (שגם אותו לא ראיתי).
 

חמודה01

New member
בעיה חדשה - דחוף

שלום סידרתי את הבעיה הקודמת שרשמתי עליה אבל עכשיו נתקלתי בבעיה חדשה. בהרצת התוכנית אני מקבלת את ההערה הבאה: Compiler Error Message: BC30035: Syntax error. Source Error: Line 104: ds = MyQueryMethod(tZ) Line 105: if ds.tables(0).rows.count > 0 then Line 106: "בחר ת.ז. אחרת" Line 107: else Line 108: ADDEMPLOEEY(checkString(textbox1.text), server.htmlencode(textbox2.text), dropdownlist1.selecteditem.value.tostring(), checkString(tz), checkString(textbox4.text)) שוב מצרפת את הקוד אודה על עזרה
 

gilad g

New member
זה יספיק../images/Emo70.gif ../images/Emo46.gif

א. יישרי את הודעת השגיאה לשמאל - את זה עושים ע"י הכפתורים [תחילת קוד] ו-[סיום קוד], אף אחד פה לא מתכוון לעשות את זה בשבילך. ב. דחוף תגידי לחברים שלך. אנחנו לא עובדים בשבילך, ושום דבר הוא לא עד כדי כך דחוף. ג. היכנסי ללינק האדום שבראש הפורום, כדי ללמוד איך מדברים פה / שואלים פה שאלות. בפעם הבאה אני פשוט אתחיל במחיקות, וחבל.
 
למעלה