Flutter Week 2

เอกสารประกอบการสอน 4123006 การพัฒนาโปรแกรมประยุกต์บนอุปกรณ์เคลื่อน Week 2 สร้าง app_week2_01 ขึ้นมา แก้ไขไฟล์ main.dart import ‘package:flutter/material.dart’; void main() { runApp(MyApp()); } class MyApp extends

Read More

wordpress บน iis url จะแสดงผลภาษาไทยไม่ได้ แก้ได้ดังนี้

ปัญหาดังกล่าวเมื่อสร้าง post หรือ page จะพบว่ากด link ไปที่หน้านั้นจะขึ้น page not fond 404 เนื่องจาก link เป็นภาษาไทย สาเหตุเกิดจากใน windows ที่ใช้ iis เป็น web

Read More

Devexpress Editform ถ้าใช้ AspxPageControl เวลามี textbox เวลา edit ต้องอ้าง PageControl ก่อน

protected void ASPxGridView1_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e) { // e.NewValues[“CreateBy”] = sk.mlogin.LoginName; e.NewValues[“CreateDate”] = DateTime.Now; e.NewValues[“CreateBy”] = sk.mlogin.LoginName; ASPxPageControl pageControl =

Read More

Devexpress ASPxRadioButtonList บน ASPxGridView1 เมื่อต้อง edit สามารถให้ selecteditem หรือ checked ได้จากคำสั่ง bind

Value='<%# Bind(“….”) %>’ และต้องตั้ง ValueType=”…” ให้ตรง Format ด้วยเช่นเป็นตัวเลข จะใช้ string ปกติไม่ได้ <dx:ASPxRadioButtonList ID=”CC_Point” runat=”server” ValueType=”System.Int32″ Value='<%# Bind(“CC_Point”) %>’ RepeatDirection=”Horizontal”> <Items>

Read More