تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
سؤال بعد اذن اخواتي الافاضل ارجو مشاركتي
#9
(24-10-19, 06:01 PM)AbdoDabak كتب :
اخي جرب هاد الكود
PHP كود :
Dim ii As Integer DataGridView1.Rows.Count 1
        
If TextBox1.Text.Contains(vbCrLfThen
            TextBox1
.Text TextBox1.Text.Replace(vbCrLf"")
            DataGridView1.Rows.Add()
            DataGridView1.Rows(ii).Cells(0).Value 4
            DataGridView1
.Rows(ii).Cells(1).Value "4"
            DataGridView1.Rows(ii).Cells(2).Value "+4"
            DataGridView1.Rows(ii).Cells(3).Value "4@yahoo.com"
            DataGridView1.Rows(ii).Cells(4).Value "4‏"
            Label1.Text TextBox1.Lines.Count
            Button1
.PerformClick()
        ElseIf TextBox1.Text.Contains(vbCrLfThen
            TextBox1
.Text TextBox1.Text.Replace(vbCrLf"")
            DataGridView1.Rows.Add()
            DataGridView1.Rows(ii).Cells(0).Value 3
            DataGridView1
.Rows(ii).Cells(1).Value "3"
            DataGridView1.Rows(ii).Cells(2).Value "+3"
            DataGridView1.Rows(ii).Cells(3).Value "3@yahoo.com"
            DataGridView1.Rows(ii).Cells(4).Value "3‏"
            Label1.Text TextBox1.Lines.Count
            Button1
.PerformClick()
        ElseIf TextBox1.Text.Contains(vbCrLfThen
            TextBox1
.Text TextBox1.Text.Replace(vbCrLf"")
            DataGridView1.Rows.Add()
            DataGridView1.Rows(ii).Cells(0).Value 2
            DataGridView1
.Rows(ii).Cells(1).Value "Hossam Ibrahim"
            DataGridView1.Rows(ii).Cells(2).Value "+201202179000"
            DataGridView1.Rows(ii).Cells(3).Value "hhxx61@yahoo.com"
            DataGridView1.Rows(ii).Cells(4).Value " ‏الأقصر‏"
            Label1.Text TextBox1.Lines.Count
            Button1
.PerformClick()
        ElseIf TextBox1.Text.Contains(vbCrLfThen
            TextBox1
.Text TextBox1.Text.Replace(vbCrLf"")
            Label1.Text TextBox1.Lines.Count
            DataGridView1
.Rows.Add()
            DataGridView1.Rows(ii).Cells(0).Value 1
            DataGridView1
.Rows(ii).Cells(1).Value "AhMed El-Qon"
            DataGridView1.Rows(ii).Cells(2).Value "+201010759698"
            DataGridView1.Rows(ii).Cells(3).Value "NON"
            DataGridView1.Rows(ii).Cells(4).Value "‏‎Sidi Salim, Kafr Ash Shaykh, Egypt‎‏"
            Button1.PerformClick()
        Else
            Label1.Text TextBox1.Lines.Count
            MsgBox
("لا يوجد بيانات للرقم الذي تطلبه")
        End If 

ملاحظة : يجب اضافة سطر عند كتابة اخر رقم

شكرا اخي لي تعبك ولكن ما زالت يظهر مسدج انا اود ان يعمل كما شرحت لك لكن لو علي المسدج بوكس فالامر سهل 
ولكن ليس هذا المطلوب
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
RE: سؤال بعد اذن اخواتي الافاضل ارجو مشاركتي - بواسطة اليوم السابع - 24-10-19, 06:38 PM

المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  سؤال عن الاسمبلي و النيم سبيس justforit 0 106 07-12-25, 12:28 AM
آخر رد: justforit
  فائدة بخصوص التعامل مع علامات التنصيص مع {سؤال} justforit 4 277 02-11-25, 11:19 PM
آخر رد: justforit
  [نقاش] سؤال MetoDas 2 1,491 20-04-25, 10:21 PM
آخر رد: Kamil
  [سؤال] سؤال ترددت قبل نشرة:طابعة الباركود لماذا تطبع أكثر من ليبل فارغ قبل السليم dr.programming 1 513 20-04-25, 09:26 PM
آخر رد: Kamil
  ارجو تعديل الكود بواستطة الاجراء المخزن new_programer 3 677 03-04-25, 02:44 PM
آخر رد: princelovelorn
  سؤال لو سمحتم احبتى فى الله خالد كامل1 4 809 09-02-25, 12:02 AM
آخر رد: princelovelorn
  ارجو تعديل الكود جلب البيانات عن طريق اجراء مخزن - مرفق مثال new_programer 0 621 05-02-25, 01:51 AM
آخر رد: new_programer
  سؤال واستفسار خالد كامل1 1 404 04-02-25, 09:31 PM
آخر رد: aliday03
  سؤال فى تقرير كريستال خالد كامل1 0 396 04-02-25, 05:50 AM
آخر رد: خالد كامل1
Question [VB.NET] هناك سؤال يهم كل مبرمج الماذا برنامجك يظهر على بعض الشاشات اكثر دقه بشكل مصغر ومشوه Microformt 0 448 01-02-25, 03:48 PM
آخر رد: Microformt

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم