微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在MVC表单中输入HTML输入字段的值?

如何解决如何在MVC表单中输入HTML输入字段的值?

我有一个HTML表单

   <NavigationContainer>
      <Tab.Navigator
        removeClippedSubviews={true}
        tabBarOptions={{
          renderIndicator: () => null,}}>
        <Tab.Screen name="Camera" component={HomeScreen} />
        <Tab.Screen name="Home" component={AppTabScreen} />
        <Tab.Screen name="Chat" component={SettingsScreen} />
      </Tab.Navigator>
    </NavigationContainer>

在提交此表单时,认的DateTimes值为“ 09/10/2020”。如何发送在 @using (Html.BeginForm("WorksCompletedToday","Report",new { DateTimes = "09/10/2020" },FormMethod.Post,new { role = "form",enctype = "multipart/form-data" })) { <div class="col-md-4 col-sm-4 col-xs-12"> <label>Search by Date:</label> <div class="form-inline"> <input type="text" class="form-control col-sm-6 col-xs-12" id="toDate"> <button type="submit" class="btn btn-primary col-sm-4 col-xs-12">Search</button> </div> </div> } 的输入标签中输入的值?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。