Bonjour, j'ai créer un fichier dont l'extesion est .aspx, je veux ajouter le contenu suivant à ce fichier :
sachant que variable est une variable qui doit contenir le nom du fichier ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="variable.aspx.cs" Inherits="_variable" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Page sans titre</title> </head> <body> <form id="form1" runat="server"> <div> </div> </form> </body> </html>
Partager