TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dong Lam Trien
829
986
145.7k
assign the filed for XtraReport ?
Aug 7 2014 6:02 AM
After you assign the DataSource to the Report, I want to assign to the label, textbox, xrTableCell1,... Report should I do? or I want to DataBinding, currently running it does not appear at all records
[CODE]
// After successful connection Northwind
// Create an empty report. XtraReport1 report = new XtraReport1();
string sql = "select * from Customers";
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(sql, cnn);
da.Fill(ds);
report.DataSource = ds;
report.DataAdapter = da;
report.DataMember = Customers; // Table Customers of Northwind
report.ShowPreview();
[/CODE]
Reply
Answers (
0
)
Adding the Database Connection String in a class
combobox background programmatically