private void UploadFile() { //excel 생성. // Get the object used to communicate with the server. FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://000.000.000.000/up_gmkt_get_delivery_driver_list.sql"); request.Method = WebRequestMethods.Ftp.UploadFile; // This example assumes the FTP site uses anonymous logon. request.Credentials = new NetworkCredential("your id", "your password"); ..
/*=============================================================================================-- Author:장정훈-- Description:상품 목록을 가져온다.-- Note:-- Modify Log::-- Test:exec QfsInventoryList_james '100054651', '0000019358', '', '', '', N''============================================================================================= */alter procedure dbo.QfsInventoryList_james@customerNo varchar(10),..
public ActionResult GetInventoryExcel(GetInventoryListModel getInventoryListModel) { // Validation if (getInventoryListModel.SearchStartDate == DateTime.MinValue) { getInventoryListModel.SearchStartDate = DateTime.Now.AddYears(-50); } if (getInventoryListModel.SearchEndDate == DateTime.MinValue) { getInventoryListModel.SearchEndDate = DateTime.Now; } getInventoryListModel.CustomerNo = LoginServi..
CallConvertToList(datatableResource) Methodpublic List ConvertToList(DataTable dt) { dt = dt ?? new DataTable(); var columnNames = dt.Columns.Cast() .Select(c => c.ColumnName) .ToList(); var properties = typeof(T).GetProperties(); return dt.AsEnumerable().Select(row => { var objT = System.Activator.CreateInstance(); foreach (var pro in properties) { if (columnNames.Contains(pro.Name)) pro.SetVal..
File.cspublic class ProductsController : ApiController { Product[] products = new Product[] { new Product { Category = "category1", Id = 1, Name = "name1", Price = 1 } , new Product { Category = "category2", Id = 2, Name = "name2", Price = 2 } }; public IEnumerable GetAllProducts() { return products; } public IHttpActionResult GetProduct(int id) { var product = products.FirstOrDefault((p) => p.I..
다국어 지원 웹사이트 만들기1. 리소스 파일을 만들다. (Global.resx, Global.ko.resx)* Custom Tool Namespace를 "Language"로 설정* Access Modifier는 "public"으로 설정* Name은 동일하고 Value는 각 언어에 맞게 작성할것!!! 2. Global.asax 파일 소스 추가protected void Application_AcquireRequestState(object sender, EventArgs e) { string culture = "en-US"; if (Request.UserLanguages != null) { culture = Request.UserLanguages[0]; } Thread.CurrentThread.CurrentC..
- Total
- Today
- Yesterday
- App Store
- 명령어
- 특정 문자를 기준으로 자르기
- 문자 자르기
- Task
- 앱 스토어
- .submit()
- html tag
- 공백제거
- async
- nl2br
- System.Diagnostics
- system.io
- trim
- 제품 등록
- MainActor
- hyper-v
- 상품 등록
- In App Purchase
- await
- 진수 변환
- 아이폰
- FileUpload
- mssql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |