Browse by Tags
All Tags »
ASP .NET (
RSS)
This was pissing me off for a good hour: RowDataBound event after you call edit on a row, I was checking for this row's state like this: e.Row.RowState == DataControlRowState .Edit this worked fine with rows No 1, 3, 5... (non-alternating rows), however...
/// <summary> /// This webservice is used with AJAX AutoComplete Extender /// to populate possible car makes for textbox on Sell Your Car form /// </summary> [ ScriptService ()] [ WebService (Namespace = "http://tempuri.org/" )] [ WebServiceBinding...
#region GenerateExcel private void Generate_Excel_Report() { //update month var to prev month Prev_rMonth = rMonth - 1; Prev_rYear = rYear; if ( Prev_rMonth == 0 ) { Prev_rMonth = 12; Prev_rYear = rYear - 1; } string fileName = System.IO. Path .GetFileNameWithoutExtension...
/// <summary> /// Take a file path and return a TextReader /// </summary> /// <param name="file_path"></param> /// <returns></returns> private TextReader OpenFile ( string file_path) { try { // Read the CSV file in...
/// <summary> /// public class. /// </summary> public class DealerShip { ... /// <summary> /// Franchise object /// </summary> public class objFranchise { public string Name; public bool IsSales; public bool IsService; } /// <summary>...
More Posts