Hi, there!

How can I fill in a column in the datagrid with value using codes?
I was trying to use

datagrid1.columns(1).value=txtInput

but received error message.


If I want to use the SQL statement

str="insert into ..."

How can I execute this "str". I could not use ADO.database.execute.
What should I use?


Many thanks