<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>beachside</author_name>
  <author_url>https://blog.hatena.ne.jp/beachside/</author_url>
  <blog_title>BEACHSIDE BLOG</blog_title>
  <blog_url>https://blog.beachside.dev/</blog_url>
  <categories>
    <anon>VB</anon>
    <anon>ASP.NET</anon>
    <anon>WebForms</anon>
  </categories>
  <description>久々にVBとWebFormsをいじる用事があったので書き留めました。ページをロードするときに、formのactionを書き換えようって話です。 環境は VS2013、.net framework4.5 VB、ASP.NET WebForms です。方法としては、 Page_Loadの動作時に、なんらかの条件をもとに、指定のformのactionを書き換える。 jsonで、キーとなる値とそのactionとなる値を持っておき、キーが条件とマッチするactionに書き換える。 って感じです。jsonさんは、簡易なリストを作って、プロジェクトの直下においておきました。 [ { &quot;Ip&quot;: &quot;ip1&quot;,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beachside.dev%2Fentry%2F2015%2F01%2F21%2F020000&quot; title=&quot;page_load時にfromタグのactionを変更（VB、WebForms） - BEACHSIDE BLOG&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/b/beachside/20150121/20150121112730.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-21 02:00:00</published>
  <title>page_load時にfromタグのactionを変更（VB、WebForms）</title>
  <type>rich</type>
  <url>https://blog.beachside.dev/entry/2015/01/21/020000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
