检索存储在服务器系统的文本文件中的值

人气:611 发布:2022-09-22 标签: asp.net ASP.NET

问题描述

Hi Team, 我们如何使用< appsettings>将存储在系统(应用程序安装系统)中的文本文件中的值检索到asp应用程序在web.config文件中

Hi Team, How can we retrieve value stored in a text file in system(application installed system) to the asp application using <appsettings> in web.config file

推荐答案

您可以使用 System.IO.File 类打开任何文本文件。 阅读C#中的文本文件 [ ^ ] 但我不明白你对使用web.config文件中的asp应用程序的意思。 You can open any text file using the System.IO.File class. Reading a text file in C#[^] But I don't understand what you mean about the "to the asp application using in web.config file".

检查一次..希望它会有所帮助...... 得到最值的-记事本和 - 把-IT-内部-的-C-尖锐串 [

768