how to bind datasouce to the labels and pass parameter in XtraReport ?
Posted
by ahmed
on Stack Overflow
See other posts from Stack Overflow
or by ahmed
Published on 2010-03-28T06:53:43Z
Indexed on
2010/03/28
7:03 UTC
Read the original article
Hit count: 1005
There's something that I don't get it yet in Xtrareport. I have to bind the datasource at runtime and also I have to assign the datasource to the labels programatically.
Binding data at runtime is fine ,(and here's my question)I did not get from any examples to how should I bind the datasource to the labels and how to pass the parameter(UserId) from runtime and how to call the report from a webform.
For example, I have a table called "User" with 3 fields: UserId, Username and Password. In the report designer I place 3 labels. Then I have a webform where the user is entering the userID and pulling some data and I have a print button on that webform when the user clicks the print button the data should be displayed on the report of UserId..
© Stack Overflow or respective owner