How to create a billing form in C# winform


In a billing form there should be product id ,product name, price of each product , quantity .
My question is the seller can sell as many items as he can but how can I do that? Which tool I should use? I thought textBox but how many should I put in form?
I am confused ..Can any Expert advise me that?

Thanking you,

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shahan AyyubSenior Software EngineerCommented:
See the attachment.

It is just for the idea.

ANINDYAAuthor Commented:
Expert Shahan_Developer
Thanks for the image .I have a small  question that is which toolbox item is used here to show the list of items that is itemID,Item Name, quantity ,item price etc.
It looks to me datagridview.
Is it the case that datagridview items ,that is cell values,  are saved in the table of database?
Thakns for the response
Shahan AyyubSenior Software EngineerCommented:

You guess is correct, thats' a 'DataGridView'.
Yes it is possible to save and retrieve data from the db through.I want you to refer these two links:

/////// for accessing value of cell to store in db.

//// To link DataGridView to db for retrieving records. (It's in but there is not much difference in //// &

This will help you to deal with this control

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ANINDYAAuthor Commented:
Expert Shahan_Developer
Thanks a lot for your timely suggestion as for the past 2 days I lost my sleep as I am a fresher..
Again thanking you,
Anindya Chatterjee
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.