I have generated a utility to take a csv file and dump the data from csv to database.
The utility is working fine.
Now i want to add the categatory in the combo box
which will come dynamically
Due to categorised value the data will go in the respective table
for eg-->In combo box two values are there
1)Personal information-after selecting this data to be dumped in Personal_Info table
2)Stock Position-->Data to be dumped in Stock_Position table.
Can anyone help me for the same

You won't get free code samples unless you submit something by yourself. Don't let others do your job dude.

There are lots of issue in your project,
1.First you have get the from your database to combobox
2.Second thing get the selected value from database
3.Then save the value back into database

So, if think anyone is to Give copy paste option then forget that you have mention specific problem with your work.
I hope you understand what you have to do next

Use SELECT Statement to retrieve data from database and display to combobox.
User can now select a specific data in combobox then add an INSERT statement to save to your database.

Hope this can help.

I have generated a utility to take a csv file and dump the data from csv to database.
The utility is working fine.
Now i want to add the categatory in the combo box
which will come dynamically
Due to categorised value the data will go in the respective table
for eg-->In combo box two values are there
1)Personal information-after selecting this data to be dumped in Personal_Info table
2)Stock Position-->Data to be dumped in Stock_Position table.
Can anyone help me for the same

Better if u use the SelectedIndex Changed Event and later get the Selected value to be stored in a External Variable, Now use the Update Command by giving the Condition that, if index 0 is selected that is Personal Information u update the Variable's value in the Personal_Info Table, and if 1 do to the Stock_Position table.

Hope it will help u

Regards Kalyan.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.