添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Title = "选择文件";
openFileDialog.FileName = string.Empty;
openFileDialog.FilterIndex = 1;
openFileDialog.RestoreDirectory = true;
openFileDialog.DefaultExt = "txt";
if(openFileDialog.ShowDialog()==true)
return openFileDialog.FileName;
}else
return "";
redis hget key redis hget keys

四、Redis常用命令更多命令可以参考Redis中文网:https://www.redis.net.cn4.1、字符串String操作命令Redis 中字符串类型常用命令如下 SET key value 设置指定keyGET key 获取指定key的值SETEX key seconds value 设置指定key的值,并将 key 的过期时间设为 seconds 秒SETNX key value