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
Methoun Ahmed
NA
145
101.7k
Crystal reportviewer ask to enter parameters when click Next
Sep 3 2018 5:08 AM
Crystal reportviewer ask to enter parameters when click Next page,Export and print button.How to solved the problem.I will tried solved the problem long time.Please,help
Bellow is my code.
void DisplayReport()
{
crypt.Load(Server.MapPath("DetailsRpt.rpt"));
SqlDataAdapter sda = new SqlDataAdapter("RptDetails", con);
sda.SelectCommand.CommandType = CommandType.StoredProcedure;
sda.SelectCommand.Parameters.Add("@User", System.Data.SqlDbType.VarChar, 100).Value = lblUser.Text;
sda.SelectCommand.Parameters.Add("@Date1", System.Data.SqlDbType.VarChar, 100).Value = datepicker.Text;
sda.SelectCommand.Parameters.Add("@Date2", System.Data.SqlDbType.VarChar, 100).Value = datepicker2.Text;
DataTable dt = new DataTable();
sda.Fill(dt);
crypt.SetDataSource(dt);
Reportviewer.ReportSource = crypt;
}
Reply
Answers (
1
)
SCCM, Powershell, VB script
Font IDAutomationHC39M not reflecting on Server