sp_configure ‘show advanced options’, 1; GO RECONFIGURE; GO sp_configure ‘max server memory’, 4096; GO RECONFIGURE; GO source = http://msdn.microsoft.com/en-us/library/ms178067.aspx
Yazar: webadmin
<script language=”JavaScript”> var nav = window.Event ? true : false; if (nav) { window.captureEvents(Event.KEYDOWN); window.onkeydown = NetscapeEventHandler_KeyDown; } else { document.onkeydown = MicrosoftEventHandler_KeyDown; } function NetscapeEventHandler_KeyDown(e) { if (e.which == 13 && e.target.type != ‘textarea’ && e.target.type != ‘submit’) { return false; } return true; } function MicrosoftEventHandler_KeyDown() { if (event.keyCode == 13 && event.srcElement.type … Read More “ASP.Net page enter key causing post back” »
private void ListControlCollections() { ArrayList controlList = new ArrayList(); AddControls(Page.Controls, controlList); foreach (string str in controlList) { // Response.Write(str + “<br/>”); cbx_control.Items.Add(str); } Response.Write(“Total Controls:” + controlList.Count); } private void AddControls(ControlCollection page, ArrayList controlList) { foreach (Control c in page) { if (c.ID != null) { controlList.Add(c.ID); } if (c.HasControls()) { AddControls(c.Controls, controlList); } … Read More “Finding All Controls on Page in Asp.net” »
Telefonun pil ömrünü uzatmak istiyenler bu yazıyı mutlaka okuyun!http://tinyurl.com/ayybpqy
Link
XtraReport CreateReprt() { rpp_donemsel rpr = new rpp_donemsel(); DataSet ds = new DataSet(); using (SqlConnection conn = new SqlConnection(Degiskenler.SqlStr)) { conn.Open(); using (SqlCommand cmd = new SqlCommand(“sp_DonemselRpr”)) { cmd.CommandType = CommandType.StoredProcedure; cmd.Connection = conn; cmd.Parameters.AddWithValue(“@tarih”, Request[“yil”]); using (SqlDataAdapter adp = new SqlDataAdapter(cmd)) { adp.Fill(ds); rpr.DataSource = ds; } } } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rpr.dt_detay.DataBindings.Add(“Text”, rpr.DataSource, “Detay”);