Sir error on this e.Graphics.DrawString(DataGridView1.Rows(i).Cells(6).Value * DataGridView1.Rows(0).Cells(7).Value, F4, Brushes.Black, Rect14, Center)
First you wrote Rows(i), than you wrote Rows(0) I think problem is here. You should write Rows(i) on both places. I Advise you to clear your Concept of "Loops" in VB.Net. Watch Some videos on this topic.
Thanks for the helpful video, but i have question my brother may allah bless you, How can i make the item row resized by the text in the invoice, for example: If the (Rect4) for item size is 60 | Item | |Mango| If i write text length more than 5 it will cutt like this: | Item | | strawberry | Not like this | Straw | berry I want it to resizing by the words not specific size. I hope you understand my point😂
Yes , I got your Point. In my opinion, it is better choice to show like this |Straw berry | Because if you increase column widths to show like this | Strawberry |, Next Columns (Qty, Price, Totals) will be affected . 1 method I have tried, that show only 5 letters and hide the rest like this | Straw |. Column width resize may be possible by some method, but it will affect next Columns Widths in the same row And these columns will get a disorder .
@@ComfortAreena No i want it expands vertically not horizontally, I want it when i type long sentences the rectangle expands vertically the name and qty and price all these expands vertically. Sorry to bothering you😅 I hope that you got my point.
nice video it will help me lot
The video was a big help ❤
Thank you very much
Thanks a lot. This video helps me to solve my many software problems.
Thanks lot sir 😁
Very nice sir
Sir error on this
e.Graphics.DrawString(DataGridView1.Rows(i).Cells(6).Value * DataGridView1.Rows(0).Cells(7).Value, F4, Brushes.Black, Rect14, Center)
First you wrote Rows(i), than you wrote Rows(0)
I think problem is here. You should write Rows(i) on both places.
I Advise you to clear your Concept of "Loops" in VB.Net. Watch Some videos on this topic.
Thanks for the helpful video, but i have question my brother may allah bless you, How can i make the item row resized by the text in the invoice, for example:
If the (Rect4) for item size is 60
| Item |
|Mango|
If i write text length more than 5 it will cutt like this:
| Item |
| strawberry |
Not like this
| Straw |
berry
I want it to resizing by the words not specific size.
I hope you understand my point😂
Yes , I got your Point.
In my opinion, it is better choice to show like this
|Straw
berry |
Because if you increase column widths to show like this | Strawberry |, Next Columns (Qty, Price, Totals) will be affected .
1 method I have tried, that show only 5 letters and hide the rest like this | Straw |.
Column width resize may be possible by some method, but it will affect next Columns Widths in the same row And these columns will get a disorder .
@@ComfortAreena No i want it expands vertically not horizontally, I want it when i type long sentences the rectangle expands vertically the name and qty and price all these expands vertically.
Sorry to bothering you😅
I hope that you got my point.
Yahi same video A4 size page ke liye banao sir
You can set any paper size as we have explained it in this video.