Trang tim kiem san pham
Trang tai khoan-Lay lai mat khau
Trang san pham - hinh anh
Trang tai khoan-Chung thuc va phan quyen
Trang dang ky tai khoan
Nhung noi dung vao trang chu - menu ngang - menu trai
Nhung noi dung vao trang chu
Thuc hanh php - SQL
Thuc hanh sql
Trang chi tiet san pham - mua
Thuc hanh php
Friday, December 7, 2012
Wednesday, December 5, 2012
Xử lý ngoại lệ trong dịch vụ web
Service with name “Accounting” have some API as:
- Create_Account(string id, string pin,string fullname,datetime createdate)
- View_Detail(string id)
- Delete_Account(string id) only call by authenticated user with admin permission
----------------------------------------------------------------------------------------------------------------------------
- Create webservice
- Define all necessary API for it
- Using SoapHeader to config using condition of these above API
- Using SoapException to raise and handle error on server also at the client
- Create webservice client
- ASP.Net website as client
i. AddWebReferrences
ii. Create object proxy
iii. Call service API with SoapHeader
iv. Handle exceptions
- Window form as client same as above
http://youtu.be/BEwhsBMHDaM
Xử lý ngoại lệ trong dịch vụ web
VIdeo Exception handling in webservice with asp.net VS 2008 ACCPi10
[youtube=http://youtu.be/7ALn-kPEMf0]
Exception handling in webservice with asp.net VS 2008
Exception handling in webservice with asp.net VS 2008
Tuesday, December 4, 2012
Metro JS
Xây dựng web mang bóng dáng metro với JQuery

Metro JS is a JavaScript plugin for jQuery developed to easily enable Metro interfaces on the web. This release focuses on Live Tiles, the Application Bar and Theming. It's early in the development phase, but all features should work on at least IE7+(Win/WinPhone), Firefox, Chrome, Android, Opera, and Safari(OSX/iOS).
Want to make a 'Me' tile or a 'People' tile like you see on Windows Phone for your website? Metro JS makes it easy!
Với thư viện này việc xây dựng web với giao diện metro rất nhanh chóng.
Metro JS is a JavaScript plugin for jQuery developed to easily enable Metro interfaces on the web. This release focuses on Live Tiles, the Application Bar and Theming. It's early in the development phase, but all features should work on at least IE7+(Win/WinPhone), Firefox, Chrome, Android, Opera, and Safari(OSX/iOS).
Want to make a 'Me' tile or a 'People' tile like you see on Windows Phone for your website? Metro JS makes it easy!
Với thư viện này việc xây dựng web với giao diện metro rất nhanh chóng.
Tuesday, November 27, 2012
Chuyển đổi hình thành chuỗi và ngược lại (IMAGE TO BASE64 STRING and BASE64 STRING TO IMAGE)
Image to Base64 String
[sourcecode language="CSharp"]
public string ImageToBase64(Image image, System.Drawing.Imaging.ImageFormat format)
{
using (MemoryStream ms = new MemoryStream())
{
// Convert Image to byte[]
image.Save(ms, format);
byte[] imageBytes = ms.ToArray();
// Convert byte[] to Base64 String
string base64String = Convert.ToBase64String(imageBytes);
return base64String;
}
}
[/sourcecode]
Base64 String to Image
[sourcecode language="CSharp"]
public Image Base64ToImage(string base64String) {
// Convert Base64 String to byte[] byte[]
imageBytes = Convert.FromBase64String(base64String);
MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length);
// Convert byte[] to Image
ms.Write(imageBytes, 0, imageBytes.Length);
Image image = Image.FromStream(ms, true);
return image;
}
[/sourcecode]
Friday, November 23, 2012
Hướng dẫn tạo và sử dụng webservice với asp.net
http://youtu.be/gkRv24Ma4YA
Hướng dẫn tạo và sử dụng webservice với asp.net
VS 2008
Thursday, November 15, 2012
Hướng dẫn tạo ứng dụng JMS với Netbean 5.5 Sun App
Trong video này chúng ta cùng thực hiện xây dựng một ứng dụng JMS đơn giản.
Subscribe to:
Posts (Atom)