This column covers Web application performance with distributed caching, a utility for object-object mapping, and a look at interesting blogs.
MSDN Magazine September 2009
View Complete Post
This column covers common user interface groupings, configuring NHibernate using C#, and a look at interesting books and podcasts.
MSDN Magazine October 2009
This month we look at advanced unit testing, object mocking, profiling, and lots more.
MSDN Magazine January 2008
I am trying to use the chart object provided in vs 2010.
Specifically, I am trying to use the chart object to create a web part.
I noticed that the chart object did not appear in the toolbox when I opened it. I found a link that suggested I run an install program to add the chart object in. I now have the chart object appearing in the toolbox, but when I attempt to
drag it onto the form I keep getting messages about "Error Creating Control" - Object reference not set to an instance of an object.
Where should I go from here? Is the chart a bit unstable? Do I need to reinstall from elsewhere?
I am using XML in getting client data in 3-tier architecture, using XDocument in passing XML among layers.
But when I use it in inserting this XML in XDocument, it throws the following error:
No mapping exists from object type System.Xml.Linq.XDocument to a known managed provider native type.
I am using the following code, it throws the exception at the bold line:
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I am trying to figure a way to SSO with ASP.NET membership and role model.
I can implement custom membership provider which consume web services hosting on a server.
With encryption of data. No problem.
But my question is, If I sign on a website with my provider, got my identity object on that application,
could I pass it to another website on another domain which use the same provider and by doing so, do not need to login again?
If this is possible, I am going to implement this solution. Please tell me what's your take on this.
I want to create object in 1.aspx, and then send it to 2.aspx. This methods are bad, because:
1)Send object with url, like this:
This is not confidential.
Session["field1"] = "12345"; // set
Object foo = Session["field1"]; // get
Could someone please tell me what is wrong with my syntax here? I'd be much appreciative.
objCmd = New SQLCommand("SELECT CASE WHEN objDR('Item') = 'Enter Bill of Lading' then enterbol " _
& "WHEN objDR('Item') = 'Bill of Lading History' THEN bolhistory " _
& "WHEN objDR('Item') = 'Request Transfer' or objDR('Item') = 'View Transfer in Progress' THEN transfers " _
& "END from plantGroups where plantgroupid=@plantgroupid", objConn)
I have a problem I can't figure out.
I've been trying to add a listbox with multi select enabled as a parameter to my select statement in sqldatasource.
So i created a function like this :
string strItemTypes = "";
foreach (ListItem li in lbItemType.Items)
strItemTypes += "," + li.Value;
strItemTypes = strItemTypes.Substring(1);
which gives me the selected items like this for example : "1,2,3"...Then I've been trying to add it to my sql select statement :
SELECT tblOfficesItems.idOfficesItems, tblStockItems.Name, tblStockItems.Description, tblStockItemTypes.TypeItem, tblStockItems.Notes FROM tblOfficesItems INNER JOIN tblStockItems ON tblOfficesItems.fkItem = tblStockItems.idItem INNER JOIN tblStockItemTypes ON tblStockItems.fkTypeItem = tblStockItemTypes.idTypeItem WHERE tblStockItems.fkTypeItem IN ( @fkTypeItems )
using a hiddenfield with a controlparameter of type=objectbut it just don't seem to work, seems like the data just won't bind or something and I don't get any errors so I'm confused!!
then i tried this :
SELECT tblOfficesItems.idOfficesItems, tblStockItems.Name