C# how to use dictionary
Dictionaries are like two dimensional arrays, I think is the best way to describe it. Anyway, here’s some sample code on how to create and use a dictionary
how to select columns from a stored proc
Okay so recently I’ve had to select only certain columns from a large stored proc that may return like 4 columns. How to do this?
DECLARE @tableVar table (Surname varchar (100), FirstName varchar(255), Email varchar(100), Age int)
INSERT INTO @tableVar EXEC dbo.usp_getSomeData
SELECT Surname, Email FROM @tableVar… Continue reading
ASPxGridView – The target x for teh callback could not be found or did not implement ICallbackEventHandler
Okay, so this error came up the other day as a javascript popup. I was trying to do a gridview within a gridview and give it an editform. So my problem was the event handlers it was listening for, such as OnRowUpdating… etc.
So check you’re code to see if you’re missing any event handlers you haven’t declared. I commonly made this mistake of not deleting old event handlers… Continue reading
