كود اضافة


 
 Incorrect  syntax near
 
 .ده الكود والمشكلة فى ايه
 Protected Sub Page_Load
 (ByVal  sender As Object ByVal e As System.EventArgs) Handles Me.Load
       cn.ConnectionString   ConfigurationManager.ConnectionStrings
       (quotGiftsShoopConnectionStringquot).ConnectionString
          cn.Open()
           cmd.Connection
            cn  
             cmd.CommandText
              quotinsert  into Categories
              (CategoryNameCategoryImageActiveCategoryDisc)
               values  (@[email protected]@[email protected])
               
               
                      cmd.Parameters.AddWithValue
                      ([email protected] txt_Category.Text)
                            cmd.Parameters.AddWithValue
                            ([email protected]  File_Image.FileName)
                             cmd.Parameters.AddWithValue
                             ([email protected]  chk_Active.Checked)
                             
                                cmd.Parameters.AddWithValue([email protected]
                                txt_CategoryDisc.Text)  
                                 cmd.ExecuteNonQuery()  End Sub

مصر عضوية مدفوعة 12/09/2016

رد الموضوع