C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,411 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
public partial class Form1 : Form
{
CatDao catdao;
public Form1()
{
HttpChannel channel = new HttpChannel();
ChannelServices.RegisterChannel(channel, false);
InitializeComponent();
catdao = (CatDao)Activator.GetObject(typeof(CatDao), "http://localhost:8090/CatDao.soap");
DataSet catdata = catdao.getCatDataSet();
comboBox1.DisplayMember = "catName";
comboBox1.ValueMember = "catPictureUrl";
comboBox1.DataSource = catdata.Tables["cat"];
}
This is my code, somethings wrong, I can feel it