전체 글31 [JSP] 메시지팝업 ALERT 사용방법 JSP에서 JavaScript 메시지 팝업(alert) 사용방법 입니다. 1 2 3 4 5 Colored by Color Scripter cs 2021. 1. 13. C# Linq Where 사용법(DataTable) DataTable을 사용한 Linq Where절 사용방법 입니다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 //검색조건 String _SelectValue = "P01"; //Linq Where절 var query = from order in _dtSource.AsEnumerable() where order.Field("PBOXID") == _SelectValue select new { BAR_CD = order.Field("BAR_CD"), ITEM_NM = order.Field("ITEM_NM"), CNT = order.Field("CNT"), CREATE_DT = order.Field("CREATE_DT") }; //그리에 DataSource RGrid.DataSo.. 2021. 1. 8. C# Linq Group By 사용법(DataTable) DataTable을 사용하여 Linq Group By 사용방법 입니다. 1234567891011121314151617181920 //Data 조회 _dtSource = Query.GET_MAP_HIS(); //Linq Group by var query = from order in _dtSource.AsEnumerable() group order by new { PBOXID = order.Field("PBOXID"), P_MODE = order.Field("P_MODE") } into g select new { PBOXID = g.Key.PBOXID, P_MODE = g.Key.P_MODE }; //Linq to Arry변화하여 그리드 DataSource 할당 LGrid.DataSource = query... 2021. 1. 8. C# Ping 테스트 동기적, 비동기적 방법 C# Ping 테스트 동기적방법 using System; using System.Net; using System.Net.NetworkInformation; using System.Text; namespace Examples.System.Net.NetworkInformation.PingTest { public class PingExample { // args[0] can be an IPaddress or host name. public static void Main (string[] args) { Ping pingSender = new Ping (); PingOptions options = new PingOptions (); // Use the default Ttl value which is 128, //.. 2011. 1. 19. 이전 1 2 3 4 5 6 7 8 다음