This will transform the value to a currency format when displayed in the browser.
Finally, the last column is a Command Field with Show Edit Button enabled.
For details about the Bitwise operator see: Bitwise Operators in C#.
Once we've manage to determine the edit-state then we can now begin accessing the controls using the Find Control() method and bind it with the corresponding Data Sources.
Now let's go ahead and do the highlight of this exercise (which is the implementation of the cascading dropdownlist). The gv Products_Row Data Bound event is where we bind the Drop Down List with the data from our Data Source.