Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
¿Cómo agrego datos de la base de datos a la tabla de datos?

Los datos que agregué del modal se guardaron correctamente en la base de datos. Pero no puedo mostrarlo en la tabla. ¿Qué hay de malo en el código de abajo? Soy nuevo en ajax. tabbleadd() se define como onclick en el botón Gracias

onclick="Tabloyaekle()">Guardar cambios

hhfhfhfhfhfhfhfhfhhf

 function Tabloyaekle(data) { $.ajax({ type: "POST", url: '/Haberler/AddNew', data: [], success: function () { var t = $('#exampleModalSizeLg').DataTable(); t.row.add(data); Swal.fire( 'Başarılı', 'Eklendi', 'success' ) }, error: function () { Swal.fire( 'HATA', 'Eklenemedi', 'error' ) } }) }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!