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.
ページングをオンにしたradGridViewを取得しました。また、フィルター処理されたすべての行をExcelにエクスポートする[Excelにエクスポート]ボタンがあります(現在のページにのみ表示されている行ではなく、すべての行)
行をExcelにエクスポートした後、「エクスポートされた」列のエクスポートされた行の値をtrueに変更したいと思います。それを達成するための最良の方法は何ですか?
このようなフィルター処理されたデータベース クエリがあるとします。
select field1, field2 from table where field1 like 'filter'
where句の代わりに同じクエリを実行し、同じロジックを使用して0または1を選択できます
select field1, field2, case when field1 like 'filter' then 1 else 0 as wasexported from table