전체 글175 [MVC3]ImageActionLink ImageActionLink public static MvcHtmlString ImageActionLink(this HtmlHelper htmlHelper, string imageUrl, string altText, string actionName, object routeValues, object htmlAttributes = null) { TagBuilder imgBuilder = new TagBuilder("img"); imgBuilder.MergeAttribute("src", imageUrl); imgBuilder.MergeAttribute("alt", altText); var urlHelper = new UrlHelper(htmlHelper.ViewContext.RequestContext, htm.. 2011. 11. 10. 별 보기 ㅋㅋ 첨 찍어봤네요.. 오늘 릴리즈 사서... 2011. 9. 27. [MVC] DropDownList에 Enum 바인딩 MVC DropDownList에 Enum 바인딩 public static IEnumerable ToSelectList(Enum enumValue) { List items = new List(); items.Add(new SelectListItem() { Selected = true, Text = "전체", Value = "" }); var slt = from Enum e in Enum.GetValues(enumValue.GetType()) select new SelectListItem { Selected = false, Text = e.ToString(), Value = e.ToString() }; items.AddRange(slt); return items.AsEnumerable(); } @Html.D.. 2011. 9. 21. 추석 심심 포스팅[사진] 추석이다~ 근데 심심하다... 비오는 추석연휴 집앞뜰에 핀 ... 이름이 뭐더라? 집옆 길가에 핀 코스모스~ 고추가 금값이라네.. 근데 올해 비가 너무 와서 우리집도 고추농사가 별로... 요건 언제 쓸려고 놔둔 옥수수지? 즐거운 추석 보내시고... 맛있는거 많이 드세요.. ㅋ 2011. 9. 11. 황당한 AdMob 간만에 AdMob에 로그인좀 할려고 했더니 google 계정으로 로그인 하라네~ google 계정으로 로그인 하니 이미 연결되어 있다고 하고.. 기존의 등록해 놓은 광고수익은 조회 조차도 안되네... 이미 연결되어 있는데 구글 로그인 화면을 왜 보이는데.. 로그인되어 있는데~ 이런 황당할때가 있나? 지롤하는 google 같으니.. 니넨 그래서 안돼는 거야~ 2011. 9. 6. C# machine key 생성하기 Visual C# .NET을 사용하여 폼 인증에서 사용할 키를 만드는 방법 http://support.microsoft.com/default.aspx?scid=312906 using System; using System.Text; using System.Security.Cryptography; namespace Crypto { public class KeyCreator { public static void Main(String[] args) { String[] commandLineArgs = System.Environment.GetCommandLineArgs(); string decryptionKey = CreateKey(System.Convert.ToInt32(commandLineArgs[1])); s.. 2011. 7. 5. 이전 1 ··· 9 10 11 12 13 14 15 ··· 30 다음