Diễn đàn    Các Projects Dotnetnuke (DNN)    Ai giup em huong dan chi tiet cach lam module DUBAO THOI TIET tren DNN 05.00.01 Em xin chan thanh cam on va HAU TA

Thành viênTrả lời
quanict902011


2  bài
8-6-2011 7:34:2
Em dang lam bai tap ve phat trien module DNN em thay modul DU BAO THOI TIET update tu trang wweb ve thay hay hay nhung khong hieu cach lam ntn fro nao biet xin chi giao!thanh cong em xin cam on va hau ta!pm yahoo:hoabeotay_92
 
chuandh@yahoo.com


3  bài
9-6-2011 11:47:45
trên mạng thiếu gì, hoặc dnn nó cũng có đấy
 
quanict902011


2  bài
9-6-2011 12:34:41
Fro ơi giúp mình với!mình mới làm quen với dotnetnuke lên cô giáo bắt tìm hiểu cách làm 1 module đơn giản!chỉ cần hiểu là được.Fro có thể chỉ giáo cách làm chi tiết cái module đó không?mình cảm ơn nhiều lắm!mình đang rất cần
 
gamaige


17  bài
10-6-2011 11:29:0
weather_forex_gold.rar

codervn có đấy, chỉ việc chuyển sang dnn là okie thôi,

hoặc sưu tầm rss của msn cũng đc.
 
quanict902010


2  bài
12-6-2011 14:37:40
uhk thack fro nhe`!y minh la cach lam ra no co!nhung du sao cung thak fro da quan tam
 
quanict902010


2  bài
12-6-2011 15:38:33
fro nao giai thick cho e doan code nay voi em doc ma e chang hieu cai j ca!mong duoc cac fro giup do em cam on nhieu
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Web.UI;
using System.Web.UI.WebControls;

using DotNetNuke;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Modules.Actions;
using DotNetNuke.Security;
using DotNetNuke.Services.Exceptions;
using DotNetNuke.Services.Localization;
using System.Net;
using System.Text;

namespace SK.Weather
{
/// -----------------------------------------------------------------------------
/// <summary>
/// The Weather_KTTVTW class displays the content
/// </summary>
/// <remarks>
/// </remarks>
/// <history>
/// </history>
/// -----------------------------------------------------------------------------
partial class Weather_KTTVTW : PortalModuleBase
{
#region Private Methods

/// <summary>
/// Gets the weather info.
/// </summary>
/// <returns></returns>
public string GetWeatherInfo()
{
try
{
WebClient client = new WebClient();
client.Encoding = Encoding.UTF8;

string content = client.DownloadString("http://www.nchmf.gov.vn/web/vi-VN/43/Default.aspx");

string strBegin = @"<!-- Begin Display content -->";
string strEnd = "<TD class=\"thoitiet_rightbox_ver\"></TD>";

content = content.Substring(content.IndexOf(strBegin) + strBegin.Length, content.IndexOf(strEnd) - content.IndexOf(strBegin) - strBegin.Length);

content = content.Replace("class", " ");

return content;
}
catch (Exception ex)
{
return "Loading....";
}
}

#endregion

#region Event Handlers

/// -----------------------------------------------------------------------------
/// <summary>
/// Page_Load runs when the control is loaded
/// </summary>
/// <remarks>
/// </remarks>
/// <history>
/// </history>
/// -----------------------------------------------------------------------------
protected void Page_Load(System.Object sender, System.EventArgs e)
{
try
{
if (!Page.IsPostBack)
{
this.lblContent.CssClass = "text-weather";
this.lblContent.Text = this.GetWeatherInfo();
}
}
catch (Exception exc) //Module failed to load
{
Exceptions.ProcessModuleLoadException(this, exc);
}

}

#endregion
}
}
 

Chủ đề gần đây :

Cùng loại :

Tên file Mô tả chi tiết Ngày
NWeb.zip (1) Module đơn giản Newsweb trên Dotnetnuke v10.x.x.x10/18/2025 8:08:11 AM
vspforum.zip (11) Ma nguon vspforum ngay xua4/18/2023 6:38:37 AM
pdfjs.rar (2) pdfjs 2017 : hiển thị tốt trên iphone 11, 12, 13 không lỗi, bản 2012 sẽ lỗi trên iphone6/21/2022 11:52:48 AM
pdfjs2.rar (2) Xem file pdf bằng viewer.hml cua pdfjs (thư viện chuẩn mozilla) 2012. https://mozilla.github.io/pdf.js/getting_started/#download có thể download bản prebuild tại đây6/21/2022 11:52:04 AM
runner.zip (0) using three.js, orbitcontrol to view an object move random on map. Di chuyển 1 đồ vật ngẫu nhiên trên bản đồ, sử dụng với demo nhân viên di chuyển trong văn phòng. Toàn js download về là chạy12/5/2019 5:55:14 PM
gmap.zip (1) google map + marker7/17/2019 2:25:05 PM
vinsmarthomeservice.zip (1) java post json to api, use AsyncTask, event listener7/9/2019 5:00:10 PM
fblogin.zip (0) Login facebook bang javascript SDK7/9/2019 9:16:37 AM
autocomplete-location.zip (2) autocomplete location geo from google place, html + js7/4/2019 4:37:55 PM
WebAPI.zip (8) api for android access db (v1.0.0)7/4/2019 9:14:17 AM