tnNSD.Attributes.Add("onClick", "return ShowScrollPopup('NSDEntry.aspx','','','NSD Entry','1000','800');"); --- <% Response.CacheControl = "Private"; Response.Expires= -1; Response.AddHeader("pragma", "no-cache"); %>
private void FillEmployeeNSDDetails() { try { _objnsd = new clsNSD(); string _colname=""; DataTable _dttable = _objnsd.GetNSDDetails(Convert.ToInt64(Session["ECode"]),Session["GpfSuffix"].ToString(),Convert.ToInt32(Session["Desig"]),Convert.ToInt32(Session["BillCode"]),Session["Orderid"].ToString()); if (_dttable.Rows.Count > 0) { foreach(DataColumn dc in _dttable.Columns) { _colname = dc.ColumnName.Trim(); ((TextBox)pnlNSDEntry.FindControl("txt"+_colname)).Text = _dttable.Rows[0][_colname].ToString(); } if(Session["language"].ToString()!="English") btnSave.Text=Session["tupdate"].ToString(); else btnSave.Text = "Update"; } } catch(Exception ex) { ErrorLabel1.Visible = true; ErrorLabel1.ErrorText = ex.Message; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)