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.9k
Failed to convert parameter value from a String to a DateTim
Aug 13 2018 10:24 AM
Here is my code
void DisplayReport()
{
crypt.Load(Server.MapPath("DetailsRep.rpt"));
SqlDataAdapter sda = new SqlDataAdapter("RptDetails", con);
sda.SelectCommand.CommandType = CommandType.StoredProcedure;
sda.SelectCommand.Parameters.Add("@Date1", SqlDbType.Date).Value =(datepicker.Text);
sda.SelectCommand.Parameters.Add("@Date2", SqlDbType.Date).Value = (datepicker2.Text);
sda.SelectCommand.Parameters.Add("@User", System.Data.SqlDbType.VarChar, 100).Value = lblUser.Text;
DataSet st = new DataSet();
sda.Fill(st, "Details");
crypt.SetDataSource(st);
CrystalReportViewer1.ReportSource = crypt;
}
Reply
Answers (
1
)
install external application exe with licence
How to make Grade report Using MVC 5