C#: window form with repeater control


I've a window form; I would like to use Repeater control. In this control, I will be having three columns
1. City1 dropdown
2. City2 dropdown
3. Salary text box

I need to give option to user to add at run time row and by default; there will be one row only. User can add N number of rows and for business persepective; it should be 10.


1. once user clicks on "Add" button then another row should be created with aforesaid controls.
2. I need to give delete option from repeater control so that user can delete any row
3. Once, user enter 10 rows for e.g. then I need to send all rows values in database with delimited values at column and row level.

Can any one assist on it with code?

Best Regards,
Mohit Pandit
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.

MohitPanditAuthor Commented:
not yet, need to start.
MohitPanditAuthor Commented:
the link is not useful as per requirement; we are using VS 2008. Can you please check & confirm?
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

MohitPanditAuthor Commented:

Repeater is not available in window forms. Can you please let me know if I want to achieve using data grid view?

Best Regards,
Repeater is not available in winforms by default but you can get it by download Visual Basic Powerpacks (google it).

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
MohitPanditAuthor Commented:
Thank you.
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

From novice to tech pro — start learning today.