15,900,461 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Patel Shweta (Top 14 by date)
Patel Shweta
28-May-14 4:19am
View
ok sure
Patel Shweta
8-May-14 3:54am
View
my activity.cs file code is:
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using webserviceexample.com.cdy.ws;
using System.Net;
using System.IO;
using System.Text;
namespace webserviceexample
{
[Activity(Label = "webserviceexample", MainLauncher = true, Icon = "@drawable/icon")]
public class Activity1 : Activity
{
int count = 1;
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
// Set our view from the "main" layout resource
SetContentView(Resource.Layout.Main);
// Get our button from the layout resource,
// and attach an event to it
Button button = FindViewById<Button>(Resource.Id.MyButton);
TextView lable = FindViewById<textview>(Resource.Id.lbltxt);
com.cdy.ws.Androidhelloo dd = new com.cdy.ws.Androidhelloo();
lable.Text = dd.HelloWorld();
button.Click += delegate { button.Text = string.Format("{0} clicks!", count++); };
}
}
}
My webservice code is
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
namespace AndroidHello
{
///
/// Summary description for Androidhelloo
///
[WebService(Namespace = "http://127.0.0.1:8012/Androidhelloo.asmx")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
[System.Web.Script.Services.ScriptService]
public class Androidhelloo : System.Web.Services.WebService
{
[SoapDocumentMethod(Action = "http://127.0.0.1:8012/Androidhelloo.asmx")]
[WebMethod]
public string HelloWorld()
{
return "Hello World";
}
public string Namespace { get; set; }
}
}
Patel Shweta
8-May-14 3:26am
View
ya sure
Patel Shweta
10-Mar-14 8:34am
View
:(
Patel Shweta
10-Mar-14 8:25am
View
no.I want to Decode generated Captcha
Patel Shweta
22-Jan-14 7:04am
View
I know your answer is right But I want to Create Image Resize class using Class file. @ Nirav Prabtani
Patel Shweta
13-Nov-13 22:29pm
View
public void update(propertylayer p)
{
cmd = new SqlCommand("updatedata", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@id", p.id);
cmd.Parameters.AddWithValue("@name", p.name);
cmd.Parameters.AddWithValue("@city", p.city);
cmd.Parameters.AddWithValue("@state", p.state);
cmd.Parameters.AddWithValue("@birthdate", p.birthdate);
cmd.Parameters.AddWithValue("@education", p.education);
cmd.Parameters.AddWithValue("@address", p.address);
cmd.Parameters.AddWithValue("@gender", p.gender);
cmd.Parameters.AddWithValue("@hobby", p.hobby);
con.Open();
cmd.ExecuteNonQuery();
con.Close();
}
Patel Shweta
13-Nov-13 14:19pm
View
i dont get any error but its not upadating data in my table
i dont why whats the mistake in my code. please give ans.
Patel Shweta
13-Nov-13 14:17pm
View
Deleted
no i dont get any error.
Patel Shweta
13-Jun-13 13:04pm
View
Thank you .. its working :)
Patel Shweta
13-Jun-13 9:14am
View
still not display result in lable
Patel Shweta
26-Apr-13 9:31am
View
from above coding i can easily edit my profile but when i click on second button (save) to save my updated data in database it gives this error. may be my 2 button click event code is wrong.
Patel Shweta
26-Apr-13 9:28am
View
Upid is user profile id in my database which is set to auto increment.
Patel Shweta
26-Apr-13 9:27am
View
updatedata query causing error. In my database Upid is user profile id which is auto increment.
Show More