Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バカバカしいとは思うけど、なんだろう…
これは、ドロップダウン リスト イベントを処理する 2 行のメソッドです。
resolve = (Button)FormView1.FindControl("btn_resolve"); resolve.Visible = true;
以前は私と一緒に働いていました!現在動作していません
次のようなformview Databoundイベントを使用する必要があります
protected void FormView1_DataBound(object sender, EventArgs e) { if (FormView1.CurrentMode == FormViewMode.Edit) { btn_resolve = (Button)FormView1.FindControl("btn_resolve"); resolve.Visible = true; } }