apt-get update komutu aşağıdaki gibi root yetkileriyle çalıştırmak için sudo kullanın sudo apt-get update apt-get update –fix-missing apt-get install -f apt-get install -f install apt-get upgrade apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y reboot
Mvc toplu silme
<input type=”checkbox” name=”idler” id=”@item.EmployeeId” value=”@item.EmployeeId”/> <input id=”Submit1″ type=”submit” value=”Sil” /> [HttpPost] public ActionResult ListedeDelete(IEnumerable<int> idler) { var sm = new sampleEntities(); sm.employeeTB.Where(a=> idler.Contains(a.EmployeeId)).ToList().ForEach(b=>sm.employeeTB.Remove(b)); sm.SaveChanges(); return RedirectToAction(“Listele”); } kaynak:http://www.fcakiroglu.com/asp-net-mvc-toplu-silmepratik-bir-sekilde.html
excel şifre aç
Sub SifreAc() Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As Integer Dim i4 As Integer, i5 As Integer, i6 As Integer On Error Resume Next For i = 65…
Visual studio Kaydet
önce comunity indir vs_community.exe –layout C:\vs2017offline –lang en-US indirme kesildiği zaman üzerine devam eder vs_community.exe –layout E:\vs2017offline –lang en-US –fix
jQuery Validation Ondalik Sayı Sorunu
jQuery kodunu jQuery Validation dosyasıdan sonra eklerseniz sorununuz çözülecektir. jQuery.extend(jQuery.validator.methods, { number: function (value, element) { return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:[,.]\d+)?$/.test(value); } }); alıntı:”http://www.sinanbozkus.com/jquery-validation-ondalikli-sayi-double-sorunu/”