I have a custom control inheriting from a GridView. That gridview already has items in its smart tasks list. I want to add a few to that list. I created a class inheriting from System.Web.UI.Design.ControlDesigner and a helping DesignerActionList class. I set the designer attribute on my control's class as such [Designer(typeof(MBGridViewDesigner))] which does get my item on to the list, but it wipes out all the existing items. If there a way for me to simply add my new items to the existing list?
hi i need search engine in my site..
so how can i use google search engine in my site
I wrote a small google DLL a while ago (Open Source 100% free). You could use it in an ASP.NET page as well as a Windows application. I do have an ASP.NET demo for it somewhere (in C#). Let me know if you are interested in it and I can look for that as well.
Yes, I am reading the xml values and placing them into a temp table.
The SP has to be called this way, otherwise due to the amount of data that can be changed in the UI, it could mean upto 2000 updates - so rather than 2000 calls to the DB I am doing this only once.
If I manually remove the encoding="utf-8" when I execute the SP through SQL it works ok!
So all I need to do is somehow is to remove this from the XML before I pass it into the SP.
The problem I have is that the first part of the XML is :-
<?xml version="1.0" encoding="utf-8"?><
How do I remove the encoding="utf-8" by using Replace ?
Im sure there is a better way to do this, ie to have something in the serialize method to just omit this text,
Yes it is possible. Set the encoding type to some other type. How you are serializing XML file ? With a TextWriter object or XMLWriter object. To set different encoding, you have to choose XMLWriter object. It provides option to specify encoding