الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

الرساله اللى بتظهر ( يزوج على نحو غير ملائم)

بدأه abo_shroook في 20 أغسطس 2008 · 1 رد · 460 مشاهدة · في Microsoft Visual Basic.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

ياترى يا اخوان فين الخطا فى الكود التالى :-

Dim user_no, user_name, user_pass As String

user_no = TextBox1.Text

user_name = TextBox2.Text

user_pass = TextBox3.Text

If user_no = "" Or user_name = "" Or user_pass = "" Then

MsgBox("ادخل كلمه السر الصحيحه من فضلك ")

Exit Sub

End If

Dim dr As OleDbDataReader

cm.CommandText = (" select * from pass where user_no = '" & user_no & "'")

cm.Connection = cnn

dr = cm.ExecuteReader

Do While dr.Read

If user_name = dr("user_name") And user_pass = dr("user_pass") Then

MsgBox(" ربنا ادخلنا مدخل صدق واخرجنا مخرج صدق")

Form1.Show()

Me.Close()

Else

MsgBox("تحقق من كلمه السر من فضللك ")

End If

Loop

dr.Close()

		Dim user_no, user_name, user_pass As String
		user_no = TextBox1.Text
		user_name = TextBox2.Text
		user_pass = TextBox3.Text
		If user_no = "" Or user_name = "" Or user_pass = "" Then
			MsgBox("ادخل كلمه السر الصحيحه من فضلك ")
			Exit Sub
		End If
		Dim dr As OleDbDataReader
		cm.CommandText = (" select * from pass where user_no = '" & user_no & "'")
		cm.Connection = cnn
		dr = cm.ExecuteReader
		Do While dr.Read
			If user_name = dr("user_name") And user_pass = dr("user_pass") Then
				MsgBox(" ربنا ادخلنا مدخل صدق واخرجنا مخرج صدق")
				Form1.Show()
				Me.Close()
			Else
				MsgBox("تحقق من كلمه السر من فضللك ")
			End If
		Loop
		dr.Close()

الخير هنا ربى اغفر لى ولوالدى وللمؤمنين يوم يقوم الحساب000 امين

#2

اين رسالة الخطأ ؟!

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…