473,586 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dataset, sqladapter

How to refresh dataset and sqladapter after using store procedure?
I tried to call update on sqladapter but it doesn't work. Only when I close
program and call it again a change is visible.

Hrcko
Apr 24 '06 #1
1 3665
Assuming that you ran the SP on the server, and not through the DataSet and
DataAdapter, you would call the Fill method of the DataAdapter to update the
DataSet. See:

http://msdn.microsoft.com/library/de...ataadapter.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Hrvoje Voda" <hr*********@lu atech.com> wrote in message
news:e2******** **@ss408.t-com.hr...
How to refresh dataset and sqladapter after using store procedure?
I tried to call update on sqladapter but it doesn't work. Only when I
close program and call it again a change is visible.

Hrcko

Apr 25 '06 #2

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

Similar topics

2
284
by: Larry Stewart | last post by:
I am using VS.NET 2003 and I have a simple WinForm that uses a SQLConnection, SQLAdapter, and a DataSet. I am binding the DataSet values to TextBoxes ( I don't want a grid for this situation). The problem is that I can not get the dataSet to recognize the user has changed a textbox field without going to a different row.
1
1895
by: Iwan Petrow | last post by:
Hi, I have the following situation: Two tables with relation: T1: Id_T1:Primary key Data1_T1 Data2_T2 Id_T2:Secondary key
9
1684
by: Stephen | last post by:
OK, I have filled a DataSet with an SqlDataAdapter and I just want the data in one column of one row. How can I do this since the following gives me the infamous 'Object reference not set to an instance of an object' error: strng = datset.Tables("Users").Rows(0).Item("Users").ToString() My table is called Users and I want the first row, and...
3
1094
by: Anthony | last post by:
Hi There When trying to add a dataset to a web form I get the following error msg. "There were problems generating . To resolve this problem build the project, fix the errors and generate the dataset again." My SQLadapter is configured properly and I can preview
3
3349
by: Mike N. | last post by:
Using VB.Net and ADO: I've created a public variable on my main form and set it to = a dataset which was crrated with the designer. I have another form with a datagrid on it. In the designer, I can't set the datasource property to the dataset on the main form, although i can do it in code. Can someone tell me how to declare a dataset,...
2
2013
by: Fabian | last post by:
Hello everybody, I would like to know if someone can help me with a DataSet. In my case the select command that fills the DataSet is a view (sql2000) that contains 10 tables, I have defined the SQLDataAdapter as follows: Dim SqlAdapter As New SqlDataAdapter("SELECT * FROM vw_DG_PERSONAS", SqlCon) En evento Load del Frm tengo esto:...
5
1424
by: David Harris | last post by:
I am developing a type of data warehouse. Basically, we have 20 client survey machines that are each separated from the server by space and lack of network. Yet both need to speak to each other such that the clients know the latest configuration information and the server contains completed survey data from the clients. Currently I'm...
0
1175
by: BVA3105 | last post by:
i update a database with a dataset and a SqlAdapter with success but when i clear and refill my dataset i always retreive the old values. I have to wait for 5 seconds to get the corrects values. ' Step one ==update directly the dataset in memory Dataset.table.item(0)._Date = DateValue Dataset.table.item(0).Time = TimeValue...
1
2767
by: sachinkale123 | last post by:
Hi I am working in a Windows C# application. I m using Dataset. But whenever I updated the dataset it gets updated. I can see the changes in dataset but using SQLAdapter.Update(Dataset) command It is not updating the table. See my Code: string connectionString = ...
0
7915
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, 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...
0
7841
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
8339
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
7965
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
6617
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...
1
5712
isladogs
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...
0
5392
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
3838
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...
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.