• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

根据日期选择器的数据

用户头像
it1352
帮助1

问题说明

这个过程是



i填充下拉列表只有Rname和我放置两个日历

the process is

i fill dropdown only with Rname and i place two calendars

<input type="text" ID="fromdate" />
      <input type="text" ID="todate" />





现在我想要从下拉菜单中选择价值从日历中选择日期然后我想代表这个显示数据



我尝试过:



查询我试试





html





now i want when i select value from dropdown and select date from calendar then i want to display data on behalf of this

What I have tried:

query which i try


html

<input type="text" ID="fromdate" />
     <input type="text" ID="todate" />





但错误发生





but error occur

The name 'todate' does not exist in the current context<br />
<br />
The name 'fromdate' does not exist in the current context

正确答案

#1
我建议在MSDN KB上阅读这篇文章:编译器错误CS0103 [ ^ ],可以帮助您找到错误信息的原因。
I'd suggest to read this article on MSDN KB: Compiler Error CS0103[^], which may help you to find the reason of error message.

Other resources:
c# - The name &#39;controlname&#39; does not exist in the current context - Stack Overflow[^]
c# - Name does not exist in the current context - Stack Overflow[^]
C# Troubleshooting - The name NNNN does not exist in the current context.[^]

Good luck!

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcfgaag
系列文章
更多 icon
同类精品
更多 icon
继续加载