PNG image 640x480.png (665 bytes)
Date: Tue, 28 Nov 2016 17:16:42 GMT
Server: nginx
X-Powered-By: PHP/5.5.31
What do I need to change in order to get the value in the textbox?
I'm a beginner and I'm also new here, so any advice you could provide me would be very much appreciated.
A:
You need to use the ModelState to set the value of the textbox:
[HttpPost]
public async Task NewItem(NewItemModel itemModel)
{
if (!ModelState.IsValid)
{
return View(itemModel);
}
else
{
//Save the data here
return RedirectToAction("Index");
}
}
Assuming your view has an input named ItemName:
You can bind your textbox from the ViewBag.ItemName (or similar) by using the value of ItemName in your view. This will generate a value in your textbox, when the data is received by the server.
a dose dependent manner. Additionally, lipid accumulation in KK-Ay mice liver was further increased by the treatment of IMD. However, the effect of IMD in liver was totally different from that in adipose tissues. These results suggest that IMD may cause the development of diabetes through the increases in hepatic lipid accumulation. The lipid metabolism of the liver may be more susceptible to the effects of IMD compared with the other major organs.
In conclusion, the present study revealed that IMD stimulated the metabolism of mice and increased plasma lipids. The IMD stimulated lipogenic genes and inhibited lipolytic genes in the white adipose tissues. Additionally, IMD-stimulated lipid metabolism in liver tissues was more pronounced. The administration of IMD induced the development of diabetes mellitus through the increase of plasma lipids. These results demonstrate that IMD can affect the lipid metabolism of mice. Further studies are needed to elucidate the mechanisms of lipid metabolism.
This research was supported by Bio-industry Technology Development Program be359ba680
Related links:
コメント