i want quantity * weight (both column's total) in the textbox in crystal report.
the data should retrive from sql database and should display in crystal reports.
sagar.patole1
0
Newbie Poster
Recommended Answers
Jump to PostWelcome on this site! This little snipet might help you out.
Jump to PostIf the datagridview is backed by a datatable filled from something (a database query), then something like this would work.
// make a datatable to simulate a table filled from a database DataTable dt = new DataTable(); DataRow r ; dt.Columns.Add("item", typeof(string)); dt.Columns.Add("quantity", typeof(decimal)); dt.Columns.Add("weight", typeof(decimal)); r …
All 8 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
sagar.patole1
0
Newbie Poster
TnTinMN
418
Practically a Master Poster
sagar.patole1
0
Newbie Poster
sagar.patole1
0
Newbie Poster
sagar.patole1
0
Newbie Poster
sagar.patole1
0
Newbie Poster
sagar.patole1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.