I am trying to build a drop-down that control what data is shown in a grid view. Here is a work example that does exactly what I need, but it is all handled on the web page. I need to do exactly the same thing, but do it all from the code-behind page. Can someone point me to a tutorial that explains setting up an editable gridview from the code-behind page?