如何在".aspx"页面中显示文本文件? [英] How can I display a text file in a '.aspx' page?

查看:109
本文介绍了如何在".aspx"页面中显示文本文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经提交了我的简历,这是数据库表中的txt或docx文件.现在,我想按".aspx"页面的形式阅读和显示其内容.

我该怎么做?

I have submitted my resume which is a txt or docx file in database table. Now I want to read and display its content as it is in a ''.aspx'' page.

How can I do this?

推荐答案

简单地从数据库中读取它,并将文本设置为某种控件(例如Label.Text属性,从后面的代码中找到library/system.web.ui.webcontrols.label.aspx"target =" _ blank"title =" New Window> ^ ]之类的东西.

干杯
Uwe
Simply read it from the database and set the text to some kind of control (e.g. a Label[^] or something like that) from your code behind, by setting the Label.Text property.

Cheers
Uwe


这篇关于如何在".aspx"页面中显示文本文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆