本文介绍了安装时客户端系统上映像文件的位置.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装应用程序时,映像文件在客户端系统上的位置应该是什么.

What should the position of an image file on the client system while installation of application. Where the image has to be displayed and printed in DataGridView report through PrintPage() event.

推荐答案

This code shold be copied in .aspx page:


<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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>File Upload Sample</title>

</head>

<body>

  <form id="form1" runat="server">

    <div>

      <table cellpadding="10" cellspacing="0" border="2" width="40%" height="100px">

        <tr>

        <td align="center" valign="top" style="padding-top:20px; background-color: #ffccff;">

           <asp:FileUpload ID="FileUpload1" runat="server" BackColor="#C0FFFF" BorderColor="Cyan" ForeColor="Green" /><br /><br />

           <asp:Button ID="Button1" runat="server" Onclick="Button_click" Text="Upload File" BackColor="#C0C0FF" BorderColor="#8080FF" BorderStyle="Outset" />

           <asp:RegularExpressionValidator  id="FileUpLoadValidator" runat="server"



            ErrorMessage="Upload Jpegs and Gifs only."



ValidationExpression="^(([a-zA-Z]:)|(\\{2}\w+)\




这篇关于安装时客户端系统上映像文件的位置.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 07:10