473,395 Members | 1,484 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,395 software developers and data experts.

VB.NET: Display Method and Refresh

1
Hello,
I am new here...

I am creating a VB.Net program that connects to an oracle db...i built a form to allow you to add, update, search delete save and display...

i dont no how to save chnges to the datagrid so that once you add it is displayed..
i cant get the display buttonn to work...it is supposed to just get records and fill the datagrid with the existing records..


please help... :(
Jan 29 '08 #1
1 1398
daniel aristidou
491 256MB
Hello,
I am new here...

I am creating a VB.Net program that connects to an oracle db...i built a form to allow you to add, update, search delete save and display...

i dont no how to save chnges to the datagrid so that once you add it is displayed..
i cant get the display buttonn to work...it is supposed to just get records and fill the datagrid with the existing records..


please help... :(
Um not sure about vb.net...in vb08.....you have to use
Expand|Select|Wrap|Line Numbers
  1.  
  2. Me.tableadapter.clearbeforefill = true 
  3. me.tableadapter.fill(Yourdataset.yourtable)
  4.  
Saving however is a totally different matter......
Expand|Select|Wrap|Line Numbers
  1. 'You proabaly need to use an insert command here then:
  2. Me.tableadapter.update(yourdataset.yourtable)
  3.  
Jan 30 '08 #2

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

Similar topics

7
by: jez123456 | last post by:
Hi, I have the following method where I need to display which database is being processed, however, the label lblDatabase dosn't seem to work until the end. private void...
13
by: Metallicraft | last post by:
I have a vb6 application. On the main form is a picture box with one or two images and several pieces of text displayed in it. These are created on the fly using gdi32 routines that are all in a...
2
by: Keith Kowalski | last post by:
I anm opening up a text file reading the lines of the file that refer to a tif image in that file, If the tif image does not exist I need it to send an email stating that the file doesn't exist...
1
by: simonyong | last post by:
hello, everyone im a newbie to asp.net, getting nut with just a simple stuff please give me some direction How to use dropdownlist when user select one of the method in dropdownlist The fields...
9
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.