Hello friend ,
NopObjectContext db = new NopObjectContext();
var Name = from c in db.ProductVariantAttributeValues
where c.Quantity == Quantity1
select new
{
c.Name,
c.ProductVariantAttributeId
};
ddlCardThickness.DataSource = Name;
ddlCardThickness.DataTextField = "Name";
ddlCardThickness.DataValueField = "ProductVariantAttributeId";
ddlCardThickness.DataBind();
i was try to create database object to access a perticular value of a column , but i was not able to create the NopObjectContext object . i was face the following error
The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
Dipesh Jade (INDIA)