protected void Unnamed_Click(object sender, EventArgs e) { LinkButton _lnk = (LinkButton)sender; DataTable _dttemp = csql.getProjectDetails("SmartConcepcion", Convert.ToInt64(_lnk.ToolTip)); header.InnerText = "Update Project Info"; txtTitle.Text = _dttemp.Rows[0]["title"].ToString(); txtDesc.Text = _dttemp.Rows[0]["description"].ToString(); txtBudget.Text = _dttemp.Rows[0]["title"].ToString(); p_ProjectID = Convert.ToInt64(_dttemp.Rows[0]["ID"].ToString()); upProjectInfo.Update(); }