Click here to Skip to main content
16,012,223 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to pass values from textbox to datagridview in VB 2008????
Posted
Comments
Maciej Los 9-Apr-13 6:53am    
What have you done till now?
Where are you stuck?

Please provide more details...

ASP.NET? WinForms? WPF?

VB
DataGridview1.Rows(RowNo).Cells(ColNo).Value = Textbox1.Text

Happy Coding!
:)
 
Share this answer
 
you can use this way to pass value from text box to data grid
DataGridView1.Item(0, 0).Value = TextBox1.Text

the item property should define tow parameter first one the (column index) and (row index)
be careful the indexs should be in the range
 
Share this answer
 
v2

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