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.
グリッドビューの選択列を画像に変更することはできますか? ユーザーが選択をクリックすると、グリッドビューからPDFが開きます。選択リンクの代わりに小さな pdf アイコンを使用することは可能ですか? 同時に、次のように呼び出すことができます。
Protected Sub GridView1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GridView1.SelectedIndexChanged
選択した列を に変換してから、内部を にTemplateField変更します。これは、GridView がイベントを発生させて処理するために使用するものであるためです。ButtonImageButtonCommand="Select"SelectedIndexChanged
TemplateField
Button
ImageButton
Command="Select"
SelectedIndexChanged