Click here to Skip to main content
16,016,022 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI I USE COMBO BOX IN DATAGRIDVIEW IN VB.NET WINDOW APPLICATION,
I SET COMBOBOX IN DATAGRIDVIEW , BUT I CANT SAVE COMBO VALUE IN DATABASE TABLE, GIVE ME HINT....?
Posted
Comments
LittleYellowBird 28-Jun-10 5:31am    
It is very rude to use entirely capital letters, it looks like shouting (see rule 8 when you posted the Question), next time please type your question properly. Thanks. :)

1 solution

Please convert this C# code to VB.Net

C#
foreach (GridViewRow row in GridView1.Rows)
{
    DropDownList ddl = (DropDownList)row.FindControl("DropDownList1");
    string str = ddl.SelectedItem.Text;
    //write the code for insertion
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900