what is "q" equal to?
i did not see it defined in your previous post.
make sure even if "q" is defined, that it has a value assigned to it...
also if "q" is a string, you will need to change your syntax...
Code:
TeX='" & q & "'
TeX='" & q & "'
Dim key as String = Datagrid1.DataKeys(e.Item.ItemIndex)
StoryDA.SelectCommand.CommandText = "SELECT * FROM Story_Master WHERE SID=" & key
StoryDA.UpdateCommand = OleDbUpdateCommand1
Dim workParm As OleDbParameter = StoryDA.UpdateCommand.Parameters.Add(key, OleDbType.Integer)
workParm.SourceColumn = "SID"
workParm.SourceVersion
Leave a comment: