如何使用数据库将带有照片的文本绑定到C#whitout中的文本框 [英] How can I bind a text with photo to a text box in C# whitout using a database

查看:76
本文介绍了如何使用数据库将带有照片的文本绑定到C#whitout中的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我喜欢将带有图片的文本字段和完整的布局(word文档)绑定到文本框中的结果。



因此,如果在文本框中是数字7,它会调用相应的文本文件,其中包含7号文本。



例如,如果文本框中的结果为5,则必须调用与5对应的文件。



在第二位,不同的结果/文件,需要结合报告。



我需要在Visual Studio 2013 C#中编程。



灵感greetins ,



Wilco



我尝试了什么:



我试过这个用单词书签和C#的使用来解决这个问题。

我已经在表格上发布了这个,但是根本没有反应当我要求一个有效的解决方案。

Hi,

I like to bind a text field with pictures and complete layout (word document) to a outcome in a text box.

So if in the text box is the number 7, it calls the corresponding textfile with text for number 7.

The same for example if the outcome in the textbox is 5, the file that correspondent with 5 had to be call.

In seccond place, the different outcomes/files, need combined to a report.

I need to program this in Visual Studio 2013 C#.

Inspired greetins,

Wilco

What I have tried:

I have tried this to work out with bookmarks in word and the use of C#.
I have posted this on the form, but no reaction at all when I asked for a working solution.

推荐答案

我找到了一些代码来合并Word文档,它使用 Microsoft.O ffice.Core library:

Mwalimu的角落:C#教程 - 将多个Word文档合并为一个Word文档 [ ^ ]
I found some code to merge Word documents, it uses the Microsoft.Office.Core library:
Mwalimu's Corner: C# Tutorial - Combine Multiple Word Documents into One Word Document[^]


这篇关于如何使用数据库将带有照片的文本绑定到C#whitout中的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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