Loading

TextBox Control Using Data Readers and ExecuteNonQuery

Submitted by: 


This tutorial is part of Database Programming Made Easy Series.

[inline:textbox control using data readers and executenonquery.jpg=How to Retrieve and Save Data using TextBox Control]

In this tutorial you'll learn how to retrieve and save data back to the database using Data Readers and ExecuteNonQuery.

Microsoft Access database and Microsoft SQL Server sample is provided.

Previous: How to Retrieve and Save Data using TextBox Control

Next: Using Datasets and Data Adapters




Comments

If the Search Customer ID have duplication. How do i retrieve the data using TextBox control? Please advice.
Thanks

admin's picture

I will create a tutorial on this in the coming day.

pls send me how to add, delete, update record using executenonquery im using ms sql lan based the example you post is for updating and searching record because of the UPDATE command in it.. here is my email kentlytears@yahoo.com

i download your code and it works but it doesnt add or insert new data from the text boxes it only updates the record.. hope you can send me codes for adding/inserting new record...ty

im kenlty from the Philippines

can you make an example using MySQL as your back end database

please send me the value

thank you

it say's that "The imported project "c:/microsoft.visualbasic.targets" not found". What does this mean sir?

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.