for example , <appSettings>
<add key="DataGridCount" value="15"></add>here we can define a DataGridCount 's property , so in your App, you can read it and handle it as a constant , so the datagrid can paginate every 15 lines
<add key="DataGridCount" value="15"></add>here we can define a DataGridCount 's property , so in your App, you can read it and handle it as a constant , so the datagrid can paginate every 15 lines
解决方案 »
- 【求救】AJAX 传递参数只能放在URL里面吗
- 请教
- 怎样将一个ASP.NET控件从当前位置移动到另一个<TD>里边
- 怎样在电子地图(如深圳市地图)上做矢量图,比如对福田区用一个颜色块标识.罗湖区用另一个颜色标识???
- 怎么用正则表达式来分析格式的正确性??
- 使用DataSet更新数据库数据时出现语法错误,太奇怪了!
- DataGrid行里日期时间显示问题?
- “/”应用程序中的服务器错误
- 求大神支招 An incompatible SQL server version was detected
- Request.QueryString["Page"]是静态变量吗
- Session的简单问题?
- 100分求,怎么加密在网页上播放的影音的地址
<SourceViewer>
<add key="modules" value="jhgjh" />
</SourceViewer>
应用:
private void Button1_Click(object sender, System.EventArgs e)
{
Label1.Text=System.Configuration.ConfigurationSettings.AppSettings["connectionString"];
NameValueCollection settings;
settings = (NameValueCollection) System.Configuration.ConfigurationSettings.GetConfig("SourceViewer");
Object setting = settings["modules"];
Label1.Text= (String)setting;
}