473,387 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

database update problem usig visual studio.net c#

I created a mock databse table caleld custifo. it has
customer infformation like name, address etc. In visual
studio.net, I created a form that would allow users to
input the last name have all the related information of
the customer come up. If they need to make any changes in
the information, they simply make the changes and hit the
update button. But Ihave noticed, any changes made do not
get saved after hittin update'! same old information comes
up. Please do tell me what is worng. I am new to visual
studio.net, have not done any programming earlier (from
industrial engg background :)..hence the silly question!

Also if I want to add new customer information to the
table from the 'user interface', can I just put in the
information and hit update? and it will created a new row
in the table? I dont think it sounds logical, just want to
confirm it :)

Thanks so much.
Nov 15 '05 #1
1 1550
WTF?

Look, in order to help we gotta see some code. No offense, but it sounds
like your taking the "Visual" part of studio too literally. What is the
code behind that you are using to update the data? Are you using text
boxes, grids, custom controls or what?

Nick Harris, MCSD
http://www.VizSoft.net
"Shweta Agnihotri" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
I created a mock databse table caleld custifo. it has
customer infformation like name, address etc. In visual
studio.net, I created a form that would allow users to
input the last name have all the related information of
the customer come up. If they need to make any changes in
the information, they simply make the changes and hit the
update button. But Ihave noticed, any changes made do not
get saved after hittin update'! same old information comes
up. Please do tell me what is worng. I am new to visual
studio.net, have not done any programming earlier (from
industrial engg background :)..hence the silly question!

Also if I want to add new customer information to the
table from the 'user interface', can I just put in the
information and hit update? and it will created a new row
in the table? I dont think it sounds logical, just want to
confirm it :)

Thanks so much.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Carlos Eduardo Peralta | last post by:
Hello: Can i update a MySQL database with just copy the files MYI MYD and FRM in the right dir? I know this work. The question is how MySQL manage the user that are usig that database in that...
2
by: pisaac | last post by:
I am considering purchasing Visual Basic .net 2003 Standard Editon to do some development work with Web Forms and I need to know whether this edit will allow me to update an Access database (mdb)...
15
by: philip | last post by:
On a form, I have a datagridview. This datagridview is constructed on a dataset filled by a tableadapter. The table adapter do very well what it must do when filling dataset. Insertions,...
1
by: radhikabista | last post by:
hey friends , i m not being able to save the updates in datagrid view when i press buttonsave_ gridview i have a class customer with two methods one to get the dataset and other to update database:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.