A terrific location to acquire digital objects like books and software. /stories/5088170-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What a great location to acquire digital objects like books and software. /stories/1063862-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What a great spot to acquire digital objects like books and software. /stories/1287842-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What a wonderful location to get digital goods like books and software. /stories/1637354-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What an excellent location to acquire digital goods like books and software. /stories/1727667-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What a great place to get digital goods like books and software. /stories/1757731-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What an excellent location to acquire digital products like books and software. /stories/1883464-_verified_-contoh-aplikasi-program-penjualan-dengan-vb-net-2008
contoh aplikasi program penjualan dengan vb.net 2008
What a great location to obtain digital products like books and software. /stories/1958053-_verified_-contoh-aplikasi-program-penjualan-dengan-vb- 01e38acffe
A:
Its because your are trying to use a string instead of a cell, but your trying to cast that to a double. Change the line:
Decimal num1 = (Decimal)row["Prix"];
To:
Decimal num1 = Convert.ToDecimal(row["Prix"]);
And it should work fine.
Q:
How to make the data type of my column equal to 'none' when using SQL?
I have a column in my mysql table that is set to none, so how to make the data type of that column equal to number(6,2)?
A:
you can add a trigger on that column
CREATE TRIGGER SET_TYPE
AFTER INSERT ON
FOR EACH ROW
BEGIN
IF NEW.type OLD.type THEN
ALTER TABLE CHANGE TYPE ;
END IF;
END
this way you can set the column to any type you want
Q:
The Html.DropDownList not shown
I am trying to dynamically add a DropDownList to the View.
My Class:
public class HomeEditViewModel
{
public SelectList CountryList { get; set; }
public SelectList CityList { get; set; }
}
And My Controller:
[HttpPost]
public ActionResult Edit(HomeEditViewModel model)
{
if (ModelState.IsValid)
{
//update
return View(model);
}
return View(model);
}
View:
@model MvcApplication1.ViewModels.HomeEditViewModel
@{
ViewBag.Title = "Index";
}
Index
@Html.ActionLink("Create New", "Create")
@Html.ValidationSummary(true, "", new { @class = "text-danger"
Related links:
Comments