Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Bind Column ValueList directly to a DataTable
posted

Hi,

I have a hierarchical grid, which is bound to a dataset via the DataBind method.

On certain columns I have to display the text in stead of numbers.

I do this at the moment in creating valuelists for these columns by looping thru the rows of a datatable.

Somtimes I need the same valuelists in two columns but different bands or even in two grids on the same form.

To get this working I have to clone the valulists otherwise I get a runtime error.

I'm wondering if there is no way to bind a valuelist of acolumn directly to the dataset.

 

 

 

 

Parents Reply Children
No Data