일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- upbit
- Aspose.cells
- 초딩수학
- Excel
- 오블완
- MSSQL
- MYSQL
- 업비트
- chart.js
- Kakao API Address
- python
- 한글깨짐
- Oracle
- Banker's
- rounding
- LEFT JOIN
- Android
- swift 화면전환
- AIoptimization
- CSV
- 썸머노트
- 일본여행
- MS-SQL
- 나만의 상점
- league of legends
- PromptEngineering
- largelanguagemodels
- Request.Form
- .csv
- Banker's rounding
- Today
- Total
목록[3] Development/MVC(ASP.NET with C#) (30)
DBA
function handleSubmit(event) { event.preventDefault(); // 기본 동작 막기 } $("li a").click(function (e) { e.preventDefault();//링크 방지 });
1. 일단 Layout 파일의 head tag 사이에 .js 파일을 참조 합니다. (단일 페이지로 작업 한다면 그 페이지에 넣어주면 됨) 2. 아래 함수를 넣고 사용 하면 됩니다. function findCookieValue(jsCookieName, jsCookieItemName) { var start = $.cookie(jsCookieName).indexOf(jsCookieItemName); var jsCookieItemValue = ''; if (start != -1) { start += jsCookieItemName.length; var end = $.cookie(jsCookieName).indexOf('&', start); if (end == -1) end = $.cookie(jsCookieNam..
// GET 요청 예시 var response = await client.GetAsync("https://api.example.com/users", content); // PUT 요청 예시 var content = new StringContent(JsonConvert.SerializeObject(user), Encoding.UTF8, "application/json"); var response = await client.PutAsync("https://api.example.com/users/1");
using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; public async Task FunctionName(string pramAuid) { var client = new HttpClient(); var url = "API URL Address"; // 전송할 데이터를 C# 객체로 생성 - body에 추가 var data = new { auid = pramAuid }; // 데이터를 JSON 문자열로 변환하여 StringContent 생성 var json = JsonConvert.SerializeObject(data); var content = new StringContent(json, ..

전달 값이 0으로 시작하는 문자열일때 따옴표로 감싸지 않으면 아래 그림과 같이 엉뚱한 값을 보여준다. ViewBag으로 전달한 값 : 005001 var jsGID = @(ViewBag.GID); console.log("따옴표로 감싼경우 : @(ViewBag.GID)"); console.log("따옴표로 감싸지 않은 경우 : " + @(ViewBag.GID)); console.log("따옴표 없이 변수에 담은 경우 : " + jsGID); 또 아래와 같이 파라미터로 넘길때 따옴표로 묶지 않아도 위 와 같은 결과를 초래 하게 된다. 반드시 문자열은 큰따옴표 또는 작은따옴표로 묶어야 한다. onclick='ShowDeleteConfirm(@item.tempid,@item.targetFacilityID,"@i..
UrlHelper Class : https://learn.microsoft.com/en-us/previous-versions/aspnet/dd492578(v=vs.118) UrlHelper Class (System.Web.Mvc) Table of contents UrlHelper Class Article 06/08/2015 3 minutes to read In this article --> Contains methods to build URLs for ASP.NET MVC within an application. Namespace: System.Web.Mvc Assembly: System.Web.Mvc (in System.Web.Mvc.dll) Inheritance Hie learn.microsoft.c..
Html Helpers : https://www.tutorialsteacher.com/mvc/html-helpers HTML Helpers in ASP.Net MVC HTML Helpers Here, you will learn what HTML helpers are and how to use them in the razor view. The HtmlHelper class renders HTML controls in the razor view. It binds the model object to HTML controls to display the value of model properties into those cont www.tutorialsteacher.com HtmlHelper Class : http..

위와 같을 경우 Web.config 파일에 에 아래 문구 추가 아래 처럼 한글이 깨지지 않고 모두 나타 남. euc-kr 일때는 아래와 같이 추가 한다고 하던데 제 경우엔 컴파일 시 부터 에러 발생 참고: https://webisfree.com/2018-05-25/asp-net-%ED%95%9C%EA%B8%80-%EA%B9%A8%EC%A7%90-%ED%98%84%EC%83%81-%EC%9D%B8%EC%BD%94%EB%94%A9-%ED%95%B4%EA%B2%B0%EB%B0%A9%EB%B2%95 ASP.NET 한글 깨짐 현상 인코딩 해결방법 ASP.NET에서 한글 깨짐 현상이 발생하는 경우 인코딩 설정이 잘못 된 경우일 수 있습니다. 이 경우 어떻게하면 한글 깨짐을 해결할 수 있는지 알아봅니다. webisf..

@model Index.cshtml ---------------------------------------------------------------------------------------------------------------------------- @model List @(Html.DevExtreme().DataGrid() .ID("gridContainerModel") .DataSource(Model) .KeyExpr("SalesQuotaKey") .ShowBorders(true) .Columns(c => { c.Add().DataField("SalesQuotaKey"); c.Add().DataField("Title"); c.Add().DataField("Date"); c.Add().DataF..

Mvc() 이용 : Index.cshtml ---------------------------------------------------------------------------------------------------------------------------- @using DevExtremeMvcApp1.Models @(Html.DevExtreme().PivotGrid() .ID("pivotGridContainer") .AllowSortingBySummary(true) .AllowFiltering(true) .ShowBorders(true) .ShowColumnGrandTotals(false) .ShowRowGrandTotals(false) .ShowRowTotals(false) .ShowColum..