如何在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 (将#修改为@)