I have a gridview databound to an objectdatasource. Everything worked great until I changed 2 columns from asp:BoundField to asp:TemplateField. These are the UPC column and the Part column. I wanted t
I\'d like to use ObjectDataSource with an instance that implements IRepository. I\'d also like to be able to flexibly change the IRepository implementation through dependency injection, and switch bet
I\'m new to ASP.NET, and I\'m trying to implement a custom ObjectDataSource Insert method. The default business method works fine (with a single object parameter). However when I add an extra paramete
I have one list that contains Student informations lsStudents = context.GetTable<Student>().Where(p => p.M_Id.Equals(1)).ToList();
DetailsView is bound to ObjectDataSource. Inside Detailsview’s EditItemTemplate are two TextBoxes ( T1 and T2 ). T1 is mapped to update parameter of type String, while T2 is mapped to update paramete
I send id of my class object from one page to second thi开发者_运维知识库s way : NavigateUrl=\'<%# \"ItemDetail.aspx?itemId=\" + (string)Eval(\"Id\") %>\'
I am using Asp.net 3.5, C#, Visual Studio 2008. Ok, so I admit I开发者_开发百科 am being really lazy here, but I know there\'s got to be a way to do this.
Here\'s the problem I\'m having in my asp project. My shopping cart consists of 3 classes like the picture below.
I don\'t know it happenjust to me or Others have the same situation too . All the time when i bind a DataControl to an ObjectDataSource in \"Configure Data Source\" wizard of ObjectDataSource,开发者_J
I have a GridView that use a stored procedure for custom paging and sorting . It\'s OK and works fine (Both paging and sorting) , But the problem is when i Enable Cachingin ObjectDataSource like: