hi!
i have this datatable:
adpt = New OleDbDataAdapter("select * from design where id=2", cnn)
adpt.fill(header)
header.Rows(0).Item("font") = lbl.Font
header.Rows(0).Item("fore_color") = lbl.ForeColor
header.Rows(0).Item("font_size") = lbl.Font.Size
header.Rows(0).Item("italic") =...
hi!
i have an openfiledialog.
i want only the name+postfix of the file.
in asp.net i have this code:
sFileName = Right(Submit1.PostedFile.FileName.Trim, _Len(Submit1.PostedFile.FileName.Trim) - i)
(i can write openfiledialog.filename.trim instead of submit1.postfile.filename)
but in vb.net...
i am tryning to update my access database, but i get this error message:
An unhandled exception of type 'System.InvalidOperationException' occurred in system.data.dll
Additional information: Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.