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

using a webservice to input information into a database

hallo
I am a bit new with asP.net and I want to use a webservice to add information to a database. It is easy enough to establish a connection with the database using a Web Method but to add information seems tricky as I don't have access to the controls that are situated in the website to be able to add this info to the data base using a web service.

Does this make sense.
Can anyone please help.
kind regards
Apr 11 '11 #1
2 2043
Frinavale
9,735 Expert Mod 8TB
What have you tried so far to add information?

Your web method should have some parameters for the values that you want to add into the database...you should be able to pass these values to the web service.

What exactly are you having problems with?
Are you trying to do use the web-service via Ajax?
Or are you trying to use the web-service from your server-side code?

-Frinny
Apr 14 '11 #2
Thanks for the response.
I learned that keywords such as User and password can cause problems as far as access goes so including brackets ([userName],[password]) to the INSERT statement have solved the problem with inserting the info into the database.

Kind regards
arian
Apr 15 '11 #3

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

Similar topics

15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
1
by: chris | last post by:
I am new to web services but want to know if it would be a viable solution for a project we are considering. I have a site in the US that i want to use a webservice to pull data out off SQL Server...
1
by: smart | last post by:
While getting the dataset using webservice, the following error occur: An unhandled exception of type 'System.PlatformNotSupportedException' occurred in mscorlib.dlls Additional information:...
1
by: Ed Dickerson | last post by:
I need a web page where users can input information which I can then reformat and print. I can't find a good tutorial. wondering if anyone knows of one. EDD --
17
by: perhapscwk | last post by:
For example, i have 2 frame, one in left side and one in right side. for the right side frame, i can;t alter the code in the right frame and i just know it have a textbox id=customer then i...
3
by: perhapscwk | last post by:
Is there any ways we can make something to help us input information to textbox which in different domain?
1
by: ruxhxNim | last post by:
Hi, I am new to webservice ,can anyone could help me out to know the code which help me to read xml file by using webservice. .XML file contains following type of tag (for eg.) <order> ...
0
by: Wendi Turner | last post by:
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005 --------------------------------------------------------------------------------------------------- I have successfully created a...
2
by: Wendi Turner | last post by:
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005 --------------------------------------------------------------------------------------------------- I have successfully created a...
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
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
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
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...
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.