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
Meet Parekh
NA
39
961
reportviewer displays only design of report not data
Apr 26 2018 4:31 AM
i have follwing code for displaying reprort in reportviewer but it displays only design of report means title,column names etc not data
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from order1";
con.Open();
cmd.ExecuteNonQuery();
con.Close();
SqlDataAdapter da = new SqlDataAdapter(cmd);
rpv.RefreshReport();
rpv.ProcessingMode = ProcessingMode.Local;
rpv.LocalReport.ReportPath = s3;
ReportDataSource rps = new ReportDataSource("dataset1",s3);
rpv.LocalReport.DataSources.Clear();
rpv.LocalReport.DataSources.Add(rps);
please correct it
thaks
Reply
Answers (
1
)
I can Change My Computer Date.Now how can i get today date
how to convert project