Click here to Skip to main content
16,013,082 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Delete all .svn folders in Windows Pin
marita728-Jan-10 7:18
marita728-Jan-10 7:18 
AnswerProgrammatically Pin
David Mujica8-Jan-10 8:20
David Mujica8-Jan-10 8:20 
QuestionDatabase Design Pin
Gjm8-Jan-10 2:14
Gjm8-Jan-10 2:14 
AnswerRe: Database Design Pin
David Mujica8-Jan-10 3:31
David Mujica8-Jan-10 3:31 
QuestionNeed help with UserControl events Pin
Spoks_ST7-Jan-10 16:52
Spoks_ST7-Jan-10 16:52 
QuestionImplementing web service issue Pin
Rock Star.7-Jan-10 6:19
Rock Star.7-Jan-10 6:19 
AnswerRe: Implementing web service issue Pin
DJ Matthews7-Jan-10 6:38
DJ Matthews7-Jan-10 6:38 
GeneralRe: Implementing web service issue Pin
Rock Star.7-Jan-10 21:09
Rock Star.7-Jan-10 21:09 
public class Service1 : System.Web.Services.WebService
    {
        public DataSet UserDataset = new DataSet();
        public SqlDataAdapter UserAdapter = new SqlDataAdapter("Select Query",new SqlConnection("connection string"));

        [WebMethod]
        public string HelloWorld()
        {
            return "Hello World";
        }

        [WebMethod]
        public DataSet GetUserData()
        {
            UserAdapter.Fill(UserDataset);
            return UserDataset;
        }

        [WebMethod]
        public DataSet UpdateUserData(DataSet ds)
        {
            if(ds != null)
            {
                UserAdapter.Update(ds);
                return ds;
            }
            else
            {
                return null;
            }
        }

        private void InitializeComponent()
        {
            this.UserDataset = new System.Data.DataSet();
            ((System.ComponentModel.ISupportInitialize)(this.UserDataset)).BeginInit();
            // 
            // UserDataset
            // 
            this.UserDataset.DataSetName = "NewDataSet";
            ((System.ComponentModel.ISupportInitialize)(this.UserDataset)).EndInit();

        }
    }


This is the source code but when I am trying to access any of this method by making an object of Service1 class I am getting only two function in intellisense that are Equals() and ReferenceEquals().

any idea why am I getting this issue?

Rock Star

GeneralRe: Implementing web service issue Pin
DJ Matthews8-Jan-10 2:51
DJ Matthews8-Jan-10 2:51 
GeneralRe: Implementing web service issue Pin
Rock Star.8-Jan-10 4:17
Rock Star.8-Jan-10 4:17 
GeneralRe: Implementing web service issue Pin
DJ Matthews8-Jan-10 4:24
DJ Matthews8-Jan-10 4:24 
GeneralRe: Implementing web service issue Pin
Rock Star.8-Jan-10 5:26
Rock Star.8-Jan-10 5:26 
AnswerRe: Implementing web service issue Pin
marita728-Jan-10 6:58
marita728-Jan-10 6:58 
QuestionAuto-generated service proxy issue [modified] Pin
JOAT-MON6-Jan-10 10:49
JOAT-MON6-Jan-10 10:49 
QuestionClassID for Crystal 12 ActiveXViewer Pin
Ekjon6-Jan-10 9:34
Ekjon6-Jan-10 9:34 
AnswerRe: ClassID for Crystal 12 ActiveXViewer Pin
Ekjon7-Jan-10 10:31
Ekjon7-Jan-10 10:31 
NewsSpecial offers available for your Windows Azure application Pin
brucedkyle5-Jan-10 7:45
brucedkyle5-Jan-10 7:45 
NewsPerfect!! Add video simply to your site; Play video easily on your site Pin
joanumayor4-Jan-10 22:40
joanumayor4-Jan-10 22:40 
GeneralRe: Perfect!! Add video simply to your site; Play video easily on your site Pin
Ashfield5-Jan-10 1:24
Ashfield5-Jan-10 1:24 
GeneralRe: Perfect!! Add video simply to your site; Play video easily on your site Pin
joanumayor6-Jan-10 21:24
joanumayor6-Jan-10 21:24 
Questionfailure email - store in db Pin
Poonam Gandash4-Jan-10 0:25
Poonam Gandash4-Jan-10 0:25 
AnswerRe: failure email - store in db Pin
Eddy Vluggen4-Jan-10 13:33
professionalEddy Vluggen4-Jan-10 13:33 
GeneralRe: failure email - store in db Pin
Poonam Gandash5-Jan-10 22:41
Poonam Gandash5-Jan-10 22:41 
GeneralRe: failure email - store in db Pin
Eddy Vluggen6-Jan-10 0:06
professionalEddy Vluggen6-Jan-10 0:06 
QuestionHow to make background image visible in ie6 Pin
bhavna43213-Jan-10 20:28
bhavna43213-Jan-10 20:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.