Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27156

[Resolved] VB.NET EOF control

$
0
0
I am new to VB.Net My old VB 6 code is:
Code:

Set conn = "my connection string"
conn.open
Set ce = conn.Execute("select * from table where id = 1")
If ce.EOF Then conn.Execute ("insert into table set name = '" & Text1.Text & "'")

I want get sql table field and if eof then add record using VB.NET. Thanks for help.

Viewing all articles
Browse latest Browse all 27156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>