By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

Realtime operations in database from VB code?

P: n/a
Hello!

Is there anyway in VB.NET (windows forms) to work in realtime on the
database? I mean entering stuff in a textbox directly, updates the
database...

Best Regards
/Lars
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
... I don't want to have to catch a KeyDown and then Update some DataAdapter
... that will be way to slow I asume!

/Lars
"Lars Netzel" <[stop_spam]@host.topdomain> skrev i meddelandet
news:eR**************@TK2MSFTNGP11.phx.gbl...
Hello!

Is there anyway in VB.NET (windows forms) to work in realtime on the
database? I mean entering stuff in a textbox directly, updates the
database...

Best Regards
/Lars

Nov 21 '05 #2

P: n/a
Lars,

Is there anyway in VB.NET (windows forms) to work in realtime on the
database? I mean entering stuff in a textbox directly, updates the
database

You cannot do anything in VBNet without code why than would you assume this
will work.

(The code is made by the/a designer when you are not making it)

However you can use the executenonquery commands when you are meaning this.

http://msdn.microsoft.com/library/de...querytopic.asp

I hope this helps?

Cpr
Nov 21 '05 #3

P: n/a
Thanx for you answer!

I'm not trying to do ANYTHING without code, just don't think the the
KeyPress would be very good.

I'm pretty sure I in VB 6 in a beginners lesson saw an example of an object
that sort of looked like a database reader... that you could browse thru the
posts in an access database in real time with and if you changed any values
you didn't have to save or anything.

If there are no such thing.. I need to prove to my customer that this is not
possible to do in .NET and if you have anykind of link to a microsoftpage
that will explain that using an Adapter to update (or execute non query)
with is the ONLY and the best way... please post!

/Lars

"Cor Ligthert" <no**********@planet.nl> skrev i meddelandet
news:Oe*************@TK2MSFTNGP12.phx.gbl...
Lars,

Is there anyway in VB.NET (windows forms) to work in realtime on the
database? I mean entering stuff in a textbox directly, updates the
database

You cannot do anything in VBNet without code why than would you assume

this will work.

(The code is made by the/a designer when you are not making it)

However you can use the executenonquery commands when you are meaning this.
http://msdn.microsoft.com/library/de...querytopic.asp
I hope this helps?

Cpr

Nov 21 '05 #4

P: n/a
Lars,

In non Beta, (because I do not know what by instance the Express versions
are able to do in future) is as far as I know all done as you wrote.

dotNet is not a MS Access Application (what is bassicly not a devellopment
tool but an enduser application that uses the MS Access database).

I never saw a feature what can do what your customer wants in dotNet 2002 or
2003

However check this yourself to be sure it is not in there what the customer
wants and will be told to you in future.

Visual Basic 2005 Express:
http://lab.msdn.microsoft.com/expres...c/default.aspx
I hope this helps?

Cor
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.