473,406 Members | 2,352 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,406 software developers and data experts.

ado.net apllication

hi i m mohsin............
i made a application in ado.net using c# at front end and sql server
2005 at back end..........
i apply 4 text boxes in the apllication and bind it to the service
_maintenance table in sql derver........
there are 4buttons also naming add, save,delete and
update..............
first three buttons are joing properly but now i want that if i change
any value in the text boxes
and click on update the value wil get save in sql server 2005.....
can u plz provide me the code for doing so............
Aug 24 '08 #1
1 1191
On Sun, 24 Aug 2008 01:29:09 -0700, mo/-/sin wrote:
and click on update the value wil get save in sql server 2005.....
can u plz provide me the code for doing so............
var BindingSourcesQuery =
from Component bindingSources in this.components.Components
where bindingSources is BindingSource
select bindingSources;

foreach (BindingSource bindingSource in BindingSourcesQuery)
{
bindingSource.EndEdit();
}
tableAdapterManager.UpdateAll(myDataset);
Aug 24 '08 #2

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

Similar topics

1
by: Aged | last post by:
Hi I have asked several groups now for advise but I feel I must be confusing either them or myself, but anyway here goes! Below is code taken from the "OnClick" function of a command button...
4
by: jam | last post by:
Dear all Process checkpro = Process.GetProcessesByName("abc"); Console.WriteLine(checkpro ); correct ma?? how should i do?? jam
1
by: David | last post by:
Hello. I start programing in Visual C++.NEt 2003, When I make Windows Form application(.NET) Vs.NEt make me project with Form, and it looks like C# or Vb.net But when I want make Managed...
1
by: samrat | last post by:
can we creat speech apllication using sdk beta 2 s/w and without using internet explorer
0
by: Sateesh Kumar E C | last post by:
Dear all, I have developed a voice-enabled(SALT) web application on Windows 2003 platform using SASDK Beta 4 using VisualStudio.NET. I run the application with Speech Plug-in(Beta 3) installed,...
8
by: Glenn Thimmes | last post by:
I am needing to read and write application settings from within my ASP.NET application. My web.config is not an option since I need to be able to write settings as well. My database is not an...
7
by: Bill | last post by:
I am in the process of converting 'classic' asp to asp.net. At application startup (global.asax) I create a prototype of table structure. Throughout my system I copy that application prototype...
2
by: ruca | last post by:
Hi, I'm currently facing problems in my Web Application when I try to use a Microsoft Database. With SQL and OrACLE works fine. I only can access with a user at time. No more than one user....
4
by: purnimakhamri | last post by:
hi can any body tell the code for date time picker using calendar control .Am using ASP.NET 2.0 ..calandar control must be in hidden field ,if i click on that it will pop up and display the date and...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...
0
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,...

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.