Leave a Reply

239 Comments on "Create a webshop with Asp.Net – Part 3"

Notify of
avatar

Айка Айка
Guest
Айка Айка
10 days 5 hours ago
Hello, why in model Cart you use table name as db.Carts.Add(cart); At database table name is Cart. Please answer me. It works still I replace <<string clientId = "-1">> to string clientId = Context.User.Identity.GetUserId(); Then I get error <<Input string was not in a correct format.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format.Source Error: Line 24: int amount = Convert.ToInt32(ddlAmount.SelectedValue);Line 25: Line 26: Cart cart =… Read more »
ITQAN Software
Guest
ITQAN Software
22 days 21 hours ago

I love your tutorials videos.Here I have one Error: Line 51: product.Price = Convert.ToDouble(txtPrice.Text);Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0266: Cannot implicitly convert type 'double' to 'int?'. An explicit conversion exists (are you missing a cast?)Every thing is working excellent. Please helpMany thanks

ITQAN Software
Guest
ITQAN Software
22 days 15 hours ago

Blew is the answer …. thank you very much

BRIJ MOHAN Sharma
Guest
BRIJ MOHAN Sharma
1 month 8 hours ago

dear sir in video part 1 i create also master web form but how it will be browsw because no aspx file ctrl f5 erroe

民 民
Guest
民 民
1 month 7 days ago

To anyone who is experiencing this error:The type or namespace name 'ArrayList' could not be found (are you missing a using directive or an assembly reference?)Just add using System.Collections; on top of ManageProducts.aspx.cs

captain price
Guest
captain price
1 month 8 days ago

Mr. There is no "Directory" to choose in String[ ] images =

E.A SALAZAR TECH
Guest
E.A SALAZAR TECH
1 month 13 days ago

Directory and arraylist error, Someone Help me!!

E.A SALAZAR TECH
Guest
E.A SALAZAR TECH
1 month 13 days ago

Please help me, No directory file on code string[] images = Directory.GetFiles(Server.MapPath("~/Images"));

Айка Айка
Guest
Айка Айка
1 month 13 days ago

string[] images = Directory.GetFiles(Server.MapPath("~/images/products/")); you should create "products " folder in "images"

Айка Айка
Guest
Айка Айка
1 month 14 days ago

Hello, please can you tell me about GarageConnectionString? I have problem with it, it is not generate automatically

ALAN LANDS CS A 16-20
Guest
ALAN LANDS CS A 16-20
1 month 30 days ago

Can I code in c# page than in class fileIs that be safe while uploading

ALAN LANDS CS A 16-20
Guest
ALAN LANDS CS A 16-20
1 month 30 days ago

Is that safe During Hosting Time

Crazie Nithu
Guest
Crazie Nithu
2 months 9 days ago

im getting error while inserting name ..Error :System.ArgumentException: Could not find the conceptual model type for 'shoppingModel.Cart'. at System.Data.Metadata.Edm.MetadataWorkspace.GetEdmSpaceType[T](T objectSpaceType) at System.Data.Entity.Internal.InternalContext.UpdateEntitySetMappings() at System.Data.Entity.Internal.InternalContext.TryUpdateEntitySetMappingsForType(Type entityType) at System.Data.Entity.Internal.InternalContext.UpdateEntitySetMappingsForType(Type entityType) at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName) at System.Data.Entity.Internal.Linq.InternalSet`1.Add(Object entity) at System.Data.Entity.DbSet`1.Add(TEntity entity) at ProductTypeModel.InsertProductType(ProductType productType) in c:UsersDELLsourcereposonlineshoponlineshopApp_CodemodelsProductTypeModel.cs:line 18

1 2 3 15
wpDiscuz