Testing the Visual Studio Plug-in

August 12, 2007 at 7:33 pm | Posted in Visual Studio | Leave a comment

Here is a  code snippet from Visual Studio using the plug-in for Windows Live Writer.

        private void button1_Click(object sender, EventArgs e)
            string[] names = { "Scott", "George", "Mike" };

            Database1DataSet.Table1Row row;

            foreach (string name in names)
                row = database1DataSet.Table1.NewTable1Row();
                row["name"] = name;

It works!!!

public void Page_Loaded(object o, EventArgs e)
    // Required to initialize variables
    //Register the scriptable endpoints
    WebApplication.Current.RegisterScriptableObject("basic", this);

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: