将简历粘贴从单词复制到文本框多行 [英] Copy Paste Resume from word to Textbox multiline

查看:102
本文介绍了将简历粘贴从单词复制到文本框多行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在asp.net,c#中开发Portal应用程序.我遇到了一个问题.
现在,我将Word数据从Word数据复制并粘贴到Asp.net文本框,然后单击提交"按钮,使用Filestream对象创建了文本文件.
同时单击查看简历"(< asp:Hyperlink id = txtView runat ="server">查看简历"),然后在URL中打开文本文件.现在我可以在一行中查看所有数据.在粘贴到文本框区域的同时,我检查了5000个仅在文本框中允许的字符.

在我的问题中,如何在文本文件中复制word数据格式?

谢谢,
Santhosh

Hi I am Developing Portal application in asp.net,c#.I am facing one problem.
Now Im copy and paste from Word data to Asp.net Textbox then I click submit button created Text File using Filestream object.
while I click View Resume(<asp:Hyperlink id=txtView runat="server">View Resume) Then open Text file in URL. Now I could See all data in single Line.While paste in textbox area ,I checked 5000 Charecters only allowed in Textbox.

In my Question How to copy word data format in text file?

Thanks,
Santhosh

推荐答案

您不能.文字是文字,仅此而已.它不包含格式信息.

—SA
You cannot. Text is text, nothing else. It does not carry formatting information.

—SA


使用富文本框控件

用于ASP.NET 1.1的RichTextBox用户控件 [ ^ ]

文本框仅支持普通文本(普通字符串).
Word数据采用RTF格式(rtf),因此请使用RTF文本框控件.
Use Rich text box control

RichTextBox user control for ASP.NET 1.1[^]

Text box only support Normal text(normal string).
Word data is in Rich Text Format(rtf)so use Rich text box control.


这篇关于将简历粘贴从单词复制到文本框多行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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