0

I need to add data in datagrid by using a button but without using a database. Just add textdata in a Datagrid.

Like this

text1.text="Hi"

It will display in datagrid column "hi!"

How i can do this?

0

1 Answer 1

1
DataGrid1.Columns(<column index>) = "Hello, world!"
Sign up to request clarification or add additional context in comments.

3 Comments

how a bout i add multiple text sir how? if i add new it will add in next row? thanks for reply sir
Set the Row property to determine which row to use.
the thing sir is how i'm just a beginner sorry sir i dont know how

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.