0

how can i insert data from data base with selected Datagridview columns

i have insert combobox to Datagridview and it can load data from DB now i need insert data to another columns in Datagridview when i change combobox items


plzzz helpppppppppppppp

2
Contributors
7
Replies
10
Views
5 Years
Discussion Span
Last Post by kothaisaravan
0

its common for Datagridview

Then ur job becomes easy,

Open database connection,
Use this query to read data from database,

Select * from tablename where column_name='" & combobox1.text & "';

:)

0

i need to know how to set selected data for grid view

From where exactly you select the data? Combobox right?

Check whether is this ur requirement,
when u select the data from combo box, Data Gridview has to display the corresponding values from database.

-1

i need to show database values with combobox selected item

i think u did not understand my problem right :(

Votes + Comments
No! You didn't put your effort to explain your question/problem. Please read forum rule before you post anything.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.