473,685 Members | 2,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

data grid in visual basic

1 New Member
i have created a form in visual basic in which i have placed one combo box to select dept no and one data grid in which details of all the employees appear for that dept which i selected using combo box. Now, I want to update the details of an employee. While updating, It seems that it is getting updated in data grid but it is not getting updated in the access database. Pl get me the solution.
Jun 15 '07 #1
1 1438
39 New Member
i have created a form in visual basic in which i have placed one combo box to select dept no and one data grid in which details of all the employees appear for that dept which i selected using combo box. Now, I want to update the details of an employee. While updating, It seems that it is getting updated in data grid but it is not getting updated in the access database. Pl get me the solution.

Hi there raman,
Could you please tell me how you update / edit data in you datagrid. Is it by clicking a data in your datagrid, show it on texboxes, and then you save it back, OR else? It's related with how you gonna update your access database.

Jun 18 '07 #2

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

Similar topics

by: Omar | last post by:
Hi Developers, I am trying to access an Excel data file through a VB.Net application. I have the following code: =================================== VB.Net Code =================== Dim sSqlString = "" Dim rCount As Integer = 0 Dim sDataSet As New DataSet() sSqlString = "Select * From "
by: sajijkumar | last post by:
How can I take backup of the database to flash drive. I used a Dir and Drive list box controls to select the perticular dir, and Wrote the code, Shell "command.com /c copy " & App.Path & "\AlkushDB.mdb " & Drive1.Drive, vbNormalFocus but it is not working. Now I changed my DB to SQL. I must take the backup of this sql database also. (Restore also.)
by: AnjuP | last post by:
Hello i have develped a software using vb6.0 as front end and sql server as back end. the program runs suceesfully on server where sql server is installed. but when i run the exe of program on client computer,the data is sucessfully store in sql server ie. sql server is connected prorperly.but when i want to show data using data report it give error invalid data source. i am using data environment as a data source (sql server - driver) ...
by: Chris Asaipillai | last post by:
Hi there My compay has a number of Visual Basic 6 applications which are front endeed onto either SQL Server or Microsoft Access databases. Now we are in process of planning to re-write these applications into Visual Basic.Net. My managers main thought is that Visual Basic 6 is (or has!) stopped being supported by Microsoft.
by: nithya jayaraman | last post by:
hi now i am using vb with MS Access ... but i have some information in excel wook sheet , so access that data and store to data grid then find out the average of the sheet 1 and sheet 2 and finaly store result in sheet 3 like this data stored in sheet 1 have cell name A1:A10 call Name B1:B10 Sheet 2 have
by: jonjon sanchez | last post by:
Hi I'm Jon I want to asked a help about vb6.0 access data on microsoft access database. I going to used log in form using vb, I want save several username and password in my database that distinguished the login users. I want to searched my vb to my data base the login user if its on the record. How to do that? what are the command, syntax or the steps to do it. please help me. Thanks Jon
by: qwer | last post by:
Hi, I'm desperately trying to import and store data from Visual Basic.Net to Microsoft Access. Does anyone have any idea what codes I have to add in apart from adding the .Jet method as shown below? Private Const cnstr = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = carpark1.mdb" If possible can you please provide some relevant programming or Access samples or examples? You can contact me through my email: Thanks
by: homs | last post by:
Hello I am developing an application in Visual Basic 6. I am using a data grid. Having a problem in adding the data to the grid. Entering the code:- Dim qry, src, cr As String 'generating Connection qry = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & App.path & "\flying0.mdb;" _ & "Persist Security Info=False" 'qry = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\ddd\wtndata.mdb;Persist Security Info=False"
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.