检索存储在服务器系统的文本文件中的值 [英] retrieve value stored in textfile of server system

查看:60
本文介绍了检索存储在服务器系统的文本文件中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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-尖锐串 [ ^ ]
Check this once..hope it will help...
get-the-value-of-notepad-and-put-it-inside-the-c-sharp-string[^]


你可以这个链接



http://stackoverflow.com/questions/6850850/ read-file-content-to-string [ ^ ]



希望这有帮助......
You can this link

http://stackoverflow.com/questions/6850850/reading-file-content-to-string[^]

Hope this helps...


这篇关于检索存储在服务器系统的文本文件中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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