Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i'd like to have the source code of an example in vb.net taht shows how to manage a local databse

 

creating db and tabkes...

inserting updating deleting....etc...

 

thank you

Posted

if using a regular webform

you can use

(update)

sqldataadapter1.updatecommand.parameter("@whatever").value = whatever you are using to input the information (ie. textbox1.text)

sqldataadapter1.updatecommand.open()

sqldataadapter1.updatecommand.executenonquery()

SqlDataAdapter1.UpdateCommand.Connection.Close()

SqlDataAdapter1.Fill(DataSet11)

(insert)

SqlDataAdapter1.InsertCommand.Parameters("@Notes").Value = whatever you are using to input the information (ie. textbox1.text)

SqlDataAdapter1.InsertCommand.Connection.Open()

SqlDataAdapter1.InsertCommand.ExecuteNonQuery()

SqlDataAdapter1.Fill(DataSet11)

  • *Gurus*
Posted

kante, you can't expect people to write a complete application for you. Somebody might, if you are very lucky, but I would be surprised.

 

You should find some samples online (there are bound to be dozens) and then try and make your own. If and when you run in to a specific problem, post a question here and it's likely somebody will be able to help you.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Posted

:eek:

i'm not expeting anyone to write some code for me....

 

i just asked that 'cause i posted this thread in the VB6 forum and a guy sent me an address book application that was perfect... bu t i couldn't open that vbproject with vb.net(for the reasons we know... the converter vb6->vb.net sometimes needs some manual actions at code level to work properly)

 

 

now i attach that application...

i'm not asking you boys to convert it.... but if anyone is so gently to do that thing ....:D

 

 

thank you

database.zip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...