473,587 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'OdbcDataAdapte r1.Update(DataS et11)'

hey,
i have tables in a microsoft access database that i need to update from
an asp.net webform. i know that u use
'OdbcDataAdapte r1.Update(DataS et11)' to update the data back in the
database. but how do i put new data into the dataset before updating
it??? i need the user to input data into textboxes on the webform, and
write this data back to particular fields in different tables back in
the database. its basically on-line booking system, and im taking
credit card info and details of the film booked and storing that in my
database.i can read from the database fine but now that i have to write
to it, im a little stuck.

could anyone point me in the right direction please?

Apr 7 '06 #1
0 817

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

Similar topics

0
1177
by: Steve Roberts | last post by:
First of all let me say that I am very new to .NET and C# and I need help so please bear with me. I have a tree control that is dynamically populated from a dataset of two joined tables. When a node is selected a groupbox is displayed on the right that has textboxes to display fields in the data set from the selected row. The fields are...
0
1729
by: cwbp17 | last post by:
Have a datagrid that displays the price column in this format $12,400.00 from a table. Went to the Property Builder of the datagrid and selected the Price column and changed the Data formatting expression to {0:c} ********* Have the following code in the DataGrid1_UpdateCommand event handler string key = DataGrid1.DataKeys.ToString();
4
1806
by: Joe | last post by:
I have a really simple application for inserting/updating record in a table. The app uses a sqlConnection, sqlDataAdapter and a dataset. I bind the fields to text boxes and a grid to allow for the insert/editing. I also have a button that does a Table.NewRow() and another to do the save. I tried using sqlDataAdapter1.Update(dataset11) but...
2
1085
by: CJ | last post by:
Have problem updating a web form. Unfortunely when i edit one of the feilds and press the button, it loads the old data back without any change !! I be happy if some one help me fix this update problem.Thanks I use the wizard for generating sqlconnection, sqladapter and dataset. AutoPostBack is set to true for all fileds EnableViewState is...
13
7663
by: abdoly | last post by:
i wrote a code to update datagrid with the datagrid updatecommand but i cant get the updated values after being update that is the code private void DataGrid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) TextBox temp temp=(TextBox)e.Item.Cells.Controls String str=temp.Text; str always returnt the old...
0
1219
by: FST | last post by:
Hello All, Why does the database update from inside the Button1_Click event, but won't update from inside the DataGrid1_CurrentCellChanged event when I change cells? The message from inside the DataGrid1_CurrentCellChanged event appears but OleDbDataAdapter1.Update(DataSet11) doesn't happen. Private Sub Button1_Click(ByVal sender As...
5
1551
by: plenahan68 | last post by:
I've made a small vb.net program to read my database and delete records that are specific to my needs. Well, the program says it's complete but nothing is deleted from my database. I've listed the code below. Imports System.data.oledb Imports System.Data Public Class Form1 Inherits System.Windows.Forms.Form Public Enum etif efilename = 0
0
934
by: JIM.H. | last post by:
Hello, I decided to use stored procedure for select, update, insert, and delete and these are my first stored procedures. This code was working when I created my adapter through wizard. DataRow dr= dataSet11.myTableName.NewRow(); string myPar=tb myPar.Text; dr= myPar; dataSet11.Tables.Rows.Add(dr); sqlDataAdapter1.Update(dataSet11,...
11
1452
by: aceaceace | last post by:
Someone please help me and I can't get an answer anywhere. I don't know what I'm doing wrong. When I make a change to the datagrid and click the button that has the following code it doesn't update for some reason. DataGrid1.Update() SqlDataAdapter1.Update(DataSet11)
0
7852
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...
0
8216
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, 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. ...
0
8349
jinu1996
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...
1
7974
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...
0
8221
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6629
agi2029
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...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.