I'm replacing the part to create a new row. Well, it's working if he's already had a table in his project.
I'm replacing the part to create a new row. Well, it's working if he's already had a table in his project.
Shorten it down like this:
dim dr As New DataRow("Your row's name")
dt.Rows.Add(dr)
If I don't want to change the database in SQL, what should I do instead?
Could you show me by code please? I'm pretty confusing here. (I've just started learning VB.net recently).
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!
I need some help with Crystal Report and really couldn't find it via Google.
I have a report which is like an 8 columns table and the thing is I only want to print out the 7 last ones but not the 1st. Using "Suppress" won't allow me to view the 1st column through CrystalReportViewer, are there some other ways? Please show me carefully cuz I'm only a newbie.