Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Form to Web Service

Form to Web Service

Scheduled Pinned Locked Moved C#
graphicsdockerdata-structureshelp
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    babamara
    wrote on last edited by
    #1

    Hi, all. I want to convert this form to a web service but my knowladge is not enough. Please help. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; namespace AlbumViewer { /// /// Summary description for Form1. /// public class MainForm : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox pictureBox; private System.Windows.Forms.MainMenu mainMenu; private System.Windows.Forms.MenuItem menuItem3; private System.Windows.Forms.TreeView treeAlbum; private System.Windows.Forms.MenuItem mnuFile; private System.Windows.Forms.MenuItem mnuOpen; private System.Windows.Forms.MenuItem mnuExit; private System.Windows.Forms.MenuItem mnuOptions; private System.Windows.Forms.MenuItem mnuSlideShow; private System.Data.SqlClient.SqlConnection sqlConn; private System.Windows.Forms.OpenFileDialog FileOpenDlg; private System.Windows.Forms.MenuItem mnuAddPhoto; private System.Windows.Forms.MenuItem mnuRenameAlbum; private System.Windows.Forms.MenuItem mnuDeleteAlbum; private System.Windows.Forms.ContextMenu mnuPhotoPopup; private System.Windows.Forms.MenuItem mnuRenamePhoto; private System.Windows.Forms.MenuItem mnuDeletePhoto; private System.Windows.Forms.ContextMenu mnuAlbumPopup; private System.Windows.Forms.MenuItem mnuNewAlbum; private System.Windows.Forms.TextBox txtDesc; private System.Windows.Forms.Button btnUpdate; private System.Windows.Forms.Label lblDesc; private System.Windows.Forms.MenuItem mnuEditDesc; private System.Windows.Forms.MenuItem mnuAlbumEdit; private System.Windows.Forms.MenuItem mnuPhotoEdit; private System.Windows.Forms.ContextMenu mnuImage; private System.Windows.Forms.MenuItem menuItem1; private System.Windows.Forms.MenuItem menuItem2; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.Run(new MainForm()); } public MainForm() { // // Required for Windows Form Designer support // InitializeComponent(); // Initaliaze the tree control LoadTree(); } /// /// Clean up any resources being used. /// protected override void Dispose( bool dispo

    B 1 Reply Last reply
    0
    • B babamara

      Hi, all. I want to convert this form to a web service but my knowladge is not enough. Please help. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; namespace AlbumViewer { /// /// Summary description for Form1. /// public class MainForm : System.Windows.Forms.Form { private System.Windows.Forms.PictureBox pictureBox; private System.Windows.Forms.MainMenu mainMenu; private System.Windows.Forms.MenuItem menuItem3; private System.Windows.Forms.TreeView treeAlbum; private System.Windows.Forms.MenuItem mnuFile; private System.Windows.Forms.MenuItem mnuOpen; private System.Windows.Forms.MenuItem mnuExit; private System.Windows.Forms.MenuItem mnuOptions; private System.Windows.Forms.MenuItem mnuSlideShow; private System.Data.SqlClient.SqlConnection sqlConn; private System.Windows.Forms.OpenFileDialog FileOpenDlg; private System.Windows.Forms.MenuItem mnuAddPhoto; private System.Windows.Forms.MenuItem mnuRenameAlbum; private System.Windows.Forms.MenuItem mnuDeleteAlbum; private System.Windows.Forms.ContextMenu mnuPhotoPopup; private System.Windows.Forms.MenuItem mnuRenamePhoto; private System.Windows.Forms.MenuItem mnuDeletePhoto; private System.Windows.Forms.ContextMenu mnuAlbumPopup; private System.Windows.Forms.MenuItem mnuNewAlbum; private System.Windows.Forms.TextBox txtDesc; private System.Windows.Forms.Button btnUpdate; private System.Windows.Forms.Label lblDesc; private System.Windows.Forms.MenuItem mnuEditDesc; private System.Windows.Forms.MenuItem mnuAlbumEdit; private System.Windows.Forms.MenuItem mnuPhotoEdit; private System.Windows.Forms.ContextMenu mnuImage; private System.Windows.Forms.MenuItem menuItem1; private System.Windows.Forms.MenuItem menuItem2; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; /// /// The main entry point for the application. /// [STAThread] static void Main() { Application.Run(new MainForm()); } public MainForm() { // // Required for Windows Form Designer support // InitializeComponent(); // Initaliaze the tree control LoadTree(); } /// /// Clean up any resources being used. /// protected override void Dispose( bool dispo

      B Offline
      B Offline
      babamara
      wrote on last edited by
      #2

      Is there some convertor or good article which can help me.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups