|
-
Mar 30th, 2003, 06:05 PM
#1
Thread Starter
Sleep mode
Update existing info in db ?
What object should I use along with Update SQL Statement to update my current record ?
Thank you !
-
Mar 30th, 2003, 07:11 PM
#2
Thread Starter
Sleep mode
This is the array , I use it to save data against database .
I wanna do the same ,edit these data , and push them all at once to database .Is it possible ?
VB Code:
Dim DataArry() As Object = {TextBox1.Text, TextBox2.Text, _
TextBox3.Text, TextBox4.Text, TextBox5.Text, TextBox6.Text, ComboBox1.Text, ComboBox2.Text, ComboBox3.Text}
-
Mar 30th, 2003, 08:13 PM
#3
PowerPoster
You could use the Command object.
-
Mar 31st, 2003, 01:27 AM
#4
Thread Starter
Sleep mode
OK , How about SQL Statement that accepts string array to update all records ??
Thanks
-
Mar 31st, 2003, 09:34 AM
#5
Fanatic Member
are the controls going in the same record (i.e. same row, different columns) or are they going in a different row each?
-
Mar 31st, 2003, 02:46 PM
#6
Thread Starter
Sleep mode
Yes , same record , same location .
-
Mar 31st, 2003, 03:40 PM
#7
Fanatic Member
just do an insert query if it's a new record or an update if it is one that needs updating.
You could just use a command object for this like the person before said.
know anything about asp.net?
http://www.vbforums.com/showthread.p...hreadid=238352
Last edited by nswan; Mar 31st, 2003 at 03:45 PM.
-
Mar 31st, 2003, 03:42 PM
#8
Thread Starter
Sleep mode
The link isn't working
-
Mar 31st, 2003, 03:44 PM
#9
Thread Starter
Sleep mode
No . I don't know about ASP.NET . Why?
-
Mar 31st, 2003, 03:45 PM
#10
Fanatic Member
just coz i am stuck on that link i put up
-
Apr 1st, 2003, 04:40 PM
#11
Hyperactive Member
Pirate,
try this:
My eBook
any feedback would be appreciated too.
cheers
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Apr 1st, 2003, 04:49 PM
#12
Thread Starter
Sleep mode
That's cool stingrae . That would answer all database related question. Keep it up .
-
Apr 1st, 2003, 04:52 PM
#13
Hyperactive Member
thaks pirate. i think i will now post so all can use.
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|