|
Post by Admin on Jul 20, 2014 23:04:06 GMT
|
|
|
Post by omix on Jul 24, 2014 0:42:32 GMT
hi dear
I want to use fileupload to upload a picture and insert it ...
I learned to use from object database but run it with this method that you said .
thanks a lot ....
|
|
|
Post by Afshar on Jul 24, 2014 9:11:31 GMT
Thanks dear We're waiting for the next part Please start soon.
|
|
|
Post by obalit on Aug 3, 2014 16:22:21 GMT
very very thanks dear, i wait for next video
|
|
|
Post by ptorlop on Aug 5, 2014 13:16:09 GMT
Hi Michiel,
Your videos are awesome! it is the best training I have ever seen. I have a question: My VS EF is publishing everything under the Model.edmx…. . VS EF does not generate any code in the Model.cs. So I have changed the Code Generation Strategy to Default . .. however it’s generate Error: Line 14: using System.Data.Entity.Infrastructure; Line 15: Line 16: public partial class GarageEntities : DbContext Line 17: { Line 18: public GarageEntities () Do you know what is the cause ? Please can you help me with it?
|
|
|
Post by s ali shabaz on Aug 16, 2014 13:13:54 GMT
sir i am waiting for more parts related to this topic like catalog when you are are uploading the complete project
|
|
|
Post by Afshar on Aug 18, 2014 6:54:48 GMT
Hi Michel
When ready to Next Part
|
|
|
Post by Ali on Sept 9, 2014 20:45:59 GMT
PLease Upload Next Tutorial Sir... I need that, as i am trying to make my school project alike to yours...
|
|
|
Post by Connor on Nov 6, 2014 16:37:27 GMT
sir i am waiting for more parts related to this topic like catalog when you are are uploading the complete project Hi there. i am currently stuck on part 3. private Product CreateProduct() { Product product = new Product(); product.Name = txtName.Text; product.Price = Convert.ToDouble(txtPrice.Text); -------------------this line gives me an error cannot convert type double to int(are you missing a cast?) product.TypeID = Convert.ToInt32(ddlType.SelectedValue); product.Description = txtDescription.Text; product.Image = ddlImage.SelectedValue; return product; Please help many thanks
|
|
|
Post by Admin on Nov 7, 2014 10:32:15 GMT
sir i am waiting for more parts related to this topic like catalog when you are are uploading the complete project Hi there. i am currently stuck on part 3. private Product CreateProduct()
{
Product product = new Product();
product.Name = txtName.Text;
product.Price = Convert.ToDouble(txtPrice.Text); -------------------this line gives me an error cannot convert type double to int(are you missing a cast?) product.TypeID = Convert.ToInt32(ddlType.SelectedValue);
product.Description = txtDescription.Text;
product.Image = ddlImage.SelectedValue;
return product; Please help many thanks Hi Connor, It's likely that parameter product.Price has been set to an Integer. Check the file: App_Code/model.cs and look for the 'Product' class. If its type is set to int, update it to a double. Alternatively, you can replace the Convert.ToDouble(txtPrice.Text) to a Convert.ToInt32(txtPrice.Text). Hope that helps!
|
|
|
Post by redbeans on Nov 7, 2014 16:50:56 GMT
Hi Michiel i am having trouble with thise line of code and encountered this error private Product CreateProduct() { Product product = new Product();
product.Name = txtName.Text; product.Price = Convert.ToDouble(txtPrice.Text);
product.TypeId = Convert.ToInt32(ddlType.SelectedValue); product.Description = txtDescription.Text; * product.Image = ddlImage.SelectedValue; ---Error 2 Cannot implicitly convert type 'string' to 'byte[]' return product; }
[Image] [nvarchar](255) NULL,----from the table Product
please help me thanks
|
|
|
Post by Tappsinc on Nov 25, 2014 12:35:49 GMT
I get this when i try to add a product Error:System.Data.Entity.Core.MappingException: The type 'Edm.Int32' of the member 'Price' in the conceptual side type 'tomModel.Product' does not match with the type 'System.Double' of the member 'Price' on the object side type 'Product'. Plz help me
|
|
|
Post by ttt on Dec 19, 2014 19:14:27 GMT
can you help me at 17:55, why i can't add ProductType in here?
|
|
|
Post by screemrus on Dec 21, 2014 21:19:04 GMT
Please help me with this... What went wrong? I get this after running a prog
|
|
|
Post by screemrus on Dec 27, 2014 14:31:59 GMT
SOLVED)
|
|