I'm using VB.net to create a Crystal Report and using DataGridView to show the data before print it out by Crystal Report. But now I want to:
- Add another column into the DataGridView named: "Print/Not Print"
- Using the value we add permanently into the "Print/Not Print" column as a variable to Print or to Not Print the row which contain it. In this case I prefer "1 = Print" and "0 = Not Print".
- After we change the DataGridView, the databsae in my SQL server still remains the same.
Please help me with this problem!
Jump to Post
you need to add one more column to table Print as boolean and When user selects or unselects the data from Gridview u need to update those columns in DB and Get the data where Print=1 in crystal report.
All 7 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.