This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Termine l'envoi de message et avance la partie "visualisation"
- Loading branch information
Showing
5 changed files
with
122 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 35 additions & 2 deletions
37
contenu/HobbyCartes/HobbyCartes/MembreVisualiserMessages.aspx.vb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,41 @@ | ||
Public Class MembreVisualiserMessages | ||
Imports MySql.Data.MySqlClient | ||
|
||
''' <summary> | ||
''' Page de visualisation des messages du membre | ||
''' </summary> | ||
Public Class MembreVisualiserMessages | ||
Inherits System.Web.UI.Page | ||
|
||
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load | ||
''' <summary> | ||
''' La liste des messages | ||
''' </summary> | ||
''' <remarks></remarks> | ||
Private messages As List(Of Entitees.Message) | ||
|
||
''' <summary> | ||
''' La connexion a la base de donnees | ||
''' </summary> | ||
Private dbCon As MySqlConnection | ||
|
||
''' <summary> | ||
''' Chargement de la page | ||
''' </summary> | ||
Protected Sub Page_Load() Handles Me.Load | ||
' Ouvre la connexion a la base de donnees | ||
dbCon = New MySqlConnection("Server=G264-11;Database=test;Uid=root;Pwd=toor;") | ||
dbCon.Open() | ||
' Chargement de la liste de messages | ||
messages = Entitees.Message.getListe(1, dbCon) | ||
For i As Integer = 1 To 5 | ||
|
||
Next | ||
End Sub | ||
|
||
''' <summary> | ||
''' Fermeture de la page | ||
''' </summary> | ||
Protected Sub Page_Unload() Handles Me.Unload | ||
dbCon.Close() | ||
End Sub | ||
|
||
End Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters