اذهب إلى المحتوى

سعاد

الأعضاء
  • المساهمات

    177
  • تاريخ الانضمام

  • تاريخ آخر زيارة

أجوبة بواسطة سعاد

  1. بعد الانتهاء من الدراسة قمت بقضاء عدّة أشهر تدريب في شركة خاصة بالبرمجة، لكن لم أجد ذاتي هناك، فتوقفت عن الذهاب، وبعد البحث على مواقع الأنترنت وجدت ما يسمى بالشهادات التقنية في تخصص معين، فما هي الشهادات المتخصصة في system administrator؟

  2. مُقدمة على دراسة امتحانات ccna، وأريد معرفة الصعوبات التي من الممكن أن أصادفها أثناء ذلك حتى أركز عليها، وكذا المجزؤات الصعبة أثناء الامتحان.

    هل من توضيح بخصوص الأمر؟

  3. داخل موقع مبني بووردبريس، لدي صفحة Html بالشكل التالي:

    <table>
        <tr>
            <td>Name 1</td>
            <td>Name 2</td>
            <td>Name 3</td>
            <td>Name 4</td>  
        </tr>
        <tr>
        .....
    </table>

    وأريد إدراج كود php يعمل على جلب taxonomy terms باستعمال حلقة تكرار، بالطريقة التالية:

    <?php 
        // no default values. using these as examples
        $i          = 0;
        $taxonomies = array( 'urun-kategorileri' );
        $args       = array(
            'orderby'   => 'menu-order',
            'order'     => 'ASC',
        ); 
        $tax_terms  = get_terms( $taxonomies, $args );
    
        echo '<table class="table table-hover"><tr>';  
    
        foreach( $tax_terms as $tax_term ) { {
            $i++;
            if( $i <= 4 ) {
                echo '<td><a href="' . esc_attr( get_term_link( $tax_term, $taxonomy ) ) . '" title="' . sprintf( __( "Profilleri Görüntüle %s" ), $tax_term->name ) . '" ' . '>' . $tax_term->name . '</a></td>';
                echo ("\n"); 
            }
            else {       
                echo '</tr><tr>';
                $i = 0;
            }
        } }
    ?>
    
    </table>

    لكن عند وصول الحلقة إلى الرقم 4 لا تظُهر  أي محتوى، فما العمل؟

  4. داخل استمارة، أريد إعطار زر enter على لوحة المفاتيح نفس خاصية الضغط على زرsubmit على الاستمارة، فكيف ذلك؟

    هذه هي محاولتي:

    <form name="loginBox" target="#here" method="post">
        <input name="username" type="text" /><br />
        <input name="password" type="password" />
        <input type="submit" style="height: 0px; width: 0px; border: none; padding: 0px;" hidefocus="true" />
    </form>

     

  5. أريد عمل حركة على صفحة لي على موقع، وذلك عند الضغط على زر.

    كود Jquery:

    $(".test").click(function() {
      $(".test").removeClass('active');
      $(this).addClass('active');
    })

     

    div{
      list-style-type: none;
    }
    div a {
      text-decoration: none;
    }
    #cont {
      background-color: white;
      width: 100%;
      padding: 2px;
      height: 40px;
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      border-radius: 20px;
    }
    .choice {
      float: left;
      margin-right: 1px;
    }
    .choice div{
      width: 100px;
      padding: 11px 16px;
      text-align: center;
      float: left;
      background: #ff3232;
      margin-left: 10px;
      transition: all 0.4s linear;
      -webkit-border-radius: 20px;
      -moz-border-radius: 20px;
      border-radius: 20px;
    }
    .choice .left {
      background: linear-gradient(to right, white 50%, #b7d4e1 50%);
      background-size: 200% 100%;
      background-position: left bottom;
    }
    .choice .right {
      background: linear-gradient(to right, #b7d4e1 50%, white 50%);
      background-size: 200% 100%;
      background-position: right bottom;
    }
    .choice .left.active {
      background-position: right bottom;
    }
    .choice .right.active {
      background-position: left bottom;
    }
    .choice div a {
      color: black;
    }
    
    

     

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <div class="choice">
      <div id="cont">
        <div class="test left active"><a href="#">Semaine</a>
            </div>
        <div class="test right"><a href="#">Mois</a>
            </div>
      </div>
    </div>

    لكن الحركة لا تعمل على الصفحة بشكل جيد، ما العمل لتصحيح ذلك؟

  6. أريد نيل شهادة SQL، وأستعمل  SQLZOO من أجل ذلك، لكن يبقى العائق أمامي هو وجود قاعدة بيانات مع أسئلة مشابهة لتلك المطروحة أثناء نيل الشهادة، حتى أتأقلم وَ جوِ الأسئلة ونوعيتها، فهل من اقتراح؟

    • أعجبني 1
  7. أتوفر على حقل TextBox وDataGridView على تطبيق بلغة Vb.net، حيث بعد إدخال قيمة في حقل النص والضغط على زر، أريد أن تضاف القيمة المُدخلة إلى جدول datagridview، وهذه هي شيفرة التطبيق:

    Public Class frm_customer_orderproduct
        Dim current_id As String
        Private Sub frm_customer_orderproduct_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
            'Dim regDate As Date = Date.Today()
    
            lbl_user.Text = "Hi, " & custName & "!"
    
            refresh_grid()
            get_current_id()
        End Sub
        Private Sub refresh_grid()
            Dim mysql As String = "SELECT FLD_PRODUCT_ID, FLD_PRODUCT_NAME, FLD_PRODUCT_PRICE FROM TBL_PRODUCTS"
            Dim mydatatable As New DataTable
            Dim myreader As New OleDb.OleDbDataAdapter(mysql, myconnection)
            myreader.Fill(mydatatable)
            grd_product.DataSource = mydatatable
        End Sub
        Private Sub clear_fields()
            txt_id.Text = ""
            txt_name.Text = ""
            txt_price.Text = ""
            txt_qty.Text = ""
        End Sub
        Private Sub get_current_id()
            Dim current_row As Integer = grd_product.CurrentRow.Index
            current_id = grd_product(0, current_row).Value
    
            txt_id.Text = current_id
            txt_name.Text = grd_product(1, current_row).Value
            txt_price.Text = grd_product(2, current_row).Value
        End Sub
    
        Private Sub grd_product_CellClick(sender As Object, e As System.Windows.Forms.DataGridViewCellEventArgs) Handles grd_product.CellClick
            get_current_id()
        End Sub
    
        Private Sub btn_add_Click(sender As System.Object, e As System.EventArgs) Handles btn_add.Click
            If txt_qty.Text = "" Then
                MsgBox("Please insert quantity")
            Else
                Dim dt As New DataTable
                Dim dr As DataRow
    
                dt.Columns.Add("Product ID")
                dt.Columns.Add("Product Name")
                dt.Columns.Add("Price")
                dt.Columns.Add("Quantity")
                dr = dt.NewRow
                dr("id") = txt_id.Text
                dr("name") = txt_name.Text
                dr("price") = txt_price.Text
                dr("qty") = txt_qty.Text
                dt.Rows.Add(dr)
                grd_order.DataSource = dt
    
            End If
    
        End Sub
    End Class

    xPq9F.thumb.jpg.cdf6f2c03aba360e09c2b642

    لكن أحصل على خطأ مبيّن في الصورة التالية:

    s71jf.thumb.jpg.ff7d12a7e8add3054e5c10ab

    ما نوع المُشكل المصادف؟ وكيف أحلّه؟

  8. أود معرف الطريقة الصحيحة  لاستهداف Web service، كمثال أريد إنشاء  web service يتعامل مع مثل هذا الملف على بيئة Vb.net:

    <MXPOSet>
        <PO action="Replace">
          <ALLOWRECEIPT>1</ALLOWRECEIPT>
          <BILLTO />
          <BILLTOATTN />
          <BUYAHEAD>0</BUYAHEAD>
          <BUYER>KRISHNAMURTHYP</BUYER>
          <BUYERCOMPANY />
          <POLINE>
            <ASSETNUM />
            <CATALOGCODE />
            <POCOST>
              <COSTLINENUM>1</COSTLINENUM>
              <LINECOST>520.0</LINECOST>
              <QUANTITY>1.0</QUANTITY>
            </POCOST>
          </POLINE>
          <POLINE>
            <ASSETNUM />
            <CATALOGCODE />
            <POCOST>
              <COSTLINENUM>2</COSTLINENUM>
              <LINECOST>520.0</LINECOST>
              <QUANTITY>2.0</QUANTITY>
            </POCOST>
          </POLINE>
          <POTERM>
            <DESCRIPTION>An acceptance of this order</DESCRIPTION>
            <TERMID>ITTS-PU-002</TERMID>
          </POTERM>
        </PO>
      </MXPOSet>

    كيف ذلك؟

  9. أريد نقل بيانات بين عنصرين من نوع DataGridView على تطبيق Vb.net، هذا هو الكود:

    • frm_1.vb:

    Private Sub btn_purchase_Click(sender As System.Object, e As System.EventArgs) Handles btn_purchase.Click
          Dim newForm As New frm_2من
          newForm.AllRows = grd_order.DataSource
          'what should i put here because the above line is wrong
          newForm.Show()
    End Sub
    • frm_2.vb:
    Public Class frm_2
          Public Property AllRows As DataGridViewSelectedRowCollection
          'I know that DataGridViewSelectedRowCollection is used for the specific row but what about all rows?
    
          Private Sub frm_2_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
          'grd_invoice.DataSource = PassText
          'what should i put here
          End Sub
    End Class

    كيف ذلك؟

×
×
  • أضف...