Kategori Arşivleri: Asp.net

alt kategori listeleme asp.net

alt kategori listeleme asp.net ayrıca Literal html vs…. kontrol etme… mobillist div oluşturalacak private void solaltipa(string ustgetirkate) { SqlDataAdapter da

If Else Query with Parameters

asp.net If Else Query with Parameters cmd.Connection = con; string dropdownsearch = “@dropdowncategory”; string q; if (dropdownsearch == “ID”) { q = “SELECT * FROM accounts WHERE id = @id”; } else { q = “SELECT * FROM accounts WHERE name = @name”; } cmd.Parameters.AddRange(queryParams.ToArray()); cmd.CommandText = q; con.Open();

IIS7 üzerinde çalışırken maxAllowedContentLength değerini 500MB olarak ayarlamak nasıl?

asp.net web config üzerinde maxAllowedContentLength  ayarı <location path=”upl”> <system.web> <!–The default size is 4096 kilobytes (4 MB). MaxValue is 2147483647 KB (2 TB)–> <!– 100 MB in kilobytes –> <httpRuntime maxRequestLength=”102400″ /> </system.web> <system.webServer> <security> <requestFiltering> <!–The default size is 30000000 bytes (28.6 MB). MaxValue is 4294967295 bytes (4 GB)–> <!– 100 MB in bytes… Okumaya devam edin »