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
120
Binding Column data to different labels dynamically..
posted

Hi, 

   I have one table with 4 rows and say "Amount" column with values e.g. 100,200,300,400. 

I want to fetch data from dataset on client side and need to bind it to different labels. e.g. label1,label2,label3,label4 respectively..

Label's visibility will depend on presence of no. of rows in table.. I.e. if 4 rows in table ,then only 4 labels shud appaear.. If 9 rows then 9 labels shud appear.

 

How can it be achieved with minimum code lines..?? please reply asap.

  • 469350
    Offline posted

    Hi,

    I'm afraid I don't understand your question. What do you mean by "bind it to different labels?"

    You are posting in the AppStylist forums for Windows Forms control. But your question does not seem to mention any AppStyling or the environment you are working in or even any Infragistics controls?

    Are you programming in Windows Forms?

    Which Infragistics controls are you trying to use? UltraLabels?