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

HELP in saving all information in a datagrid in vb6?

P: 26
How to save all the information in a datagrid in just one command button, click, and it will automatically save in the table in access(student name,and student subjects will added and save in table ), regardless on how many records were bind in a datagrid.

im using dataenvironment in connecting my database MS Access 2007, hope you help me on this matter (please just a dataenvironment code) cause modules is too complicated for me..

im working with enrollment system and im stuck in this, student's subject's transaction, i want to save all subjects in my datagrid in just a single click of a command button.

kindly help me ASAP...

that's if your not busy and in a good mood...x)

thanks in advance... GOD bless... and more power... to you...

additional question?

for you, what is the simplest programming language now a days? cause i want to try it for sure... and i want to adapt that new trend programming language..


thanks a lot... sir/maam...


"And if you have a system related to vb6 college enrollment system,please kindly email me at spincer31069@yahoo.com your kindness is much appreciated..." don't worry sir/maam i will promise that i will not copy all you have made for your program i just want to know and analyze some codes that you made... x)

that's all thanks to the answers... note: it is better to give than to....receive... i mean it is better to share your precious knowledge than to keep it forever... that's one of my moto in life x)

--------

below i attach my image form to relate my problems...
Attached Images
File Type: jpg sub.jpg (13.2 KB, 3775 views)
Oct 18 '09 #1
Share this Question
Share on Google+
3 Replies


P: 6
'''' hope this will help

Private Sub Command1_Click()

dim DTL AS NEW ADODB.RECORDSET

If DTL.State = 1 Then DTL.Close

DTL.Open "select FieldName from Table Name", con, adOpenKeyset, adLockPessimistic

If DTL.RecordCount > 0 Then

Set DataGrid1.DataSource = DTL

End sub
Oct 21 '09 #2

P: 12
How are you going to connect one desktop visual basic application to another visual basic application in a network?Please help me....
Oct 21 '09 #3

P: 5
Pls, One more. I would like to display more than 500 icons into the form. Is there an easy way to do it. I know vb.net does not allow to create an array of variable. Can I create one PictureBox and divice it into several pieces.

Antigua Holidays
bra accessories
Oct 24 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.