2018-01-01から1年間の記事一覧
ずばり、こう まずusingするもの using System; using System.Collections; using System.IO; using System.Net; using System.Net.Security; using System.Text; GETメソッドを使う場合 var html = ""; using (var wc = new WebClient()) { // SSL/TLSに対…
やりたいこと <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> // ここでデータソースのデータを用いて分岐処理する </ItemTemplate> </asp:Repeater> 上記のように、Repeaterコントロールの中で、 データバインディング式を用いて分岐し、表示内容を制御したいとする。 問題点 普通にできそうだが、普通にできない。 hoge" ) {%> これだ…
エラーメッセージ InvalidCastException: 型 'System.Char' のオブジェクトを型 'hogehoge' にキャストできません。 問題のコード <asp:Repeater id="Repeater1" runat="server" DataSource=''> 原因は... :お前だ!!!!!:: お前ダァぁああああああああ!!!コロン「:」リピーターのデータソースに気付かずコロンを</asp:repeater>…