March 12th, 2010 |
xumi |
Question:
I have a stored procedure that returns an integer value (ie the number of rows modified). I need to know how to return the number of rows modified and the actual modified rows.
I can make an output parameter to hold the number of rows modified, but the rows being modified are in a temp table [...]
March 11th, 2010 |
xumi |
Question:
I am getting this error
A potentially dangerous Request.QueryString value was detected from the client (message=”Hello <h100>”).
when a third party is calling our webservice
http://MyWebsiteURL?msisdn=919569647884&message=Hello <h100>&origincode=9902099020
Please Help
Solution:
Kaushal,
If the url is called by the third party, please ask then to use Server.UrlEncode before call your service.
Or
Alternatively you can fix the same at your end by adding a tag [...]
March 11th, 2010 |
xumi |
Question:
I am writing an ASP.Net application (VS 2008, C#). i need some information regarding storing word, excel documents and image files storage in sql server 2005 database.
How to do store them?
How to do the document management in terms of permission?
Solution:
Here is an article on the subject, which is a little less negative than I am:
To [...]
March 11th, 2010 |
xumi |
Question:
Sorry if this is something basic I have missed or physically can’t do but…
I have 3 ASP.Net pages (code behind C#) all using the same single Master Page, the pages flow in a sequential path.
Terms & Conditions -> Submission Form-> Successful submission
Since I have a Terms and Conditions page(Default.aspx) that users have to read and [...]
Question:
Hi There
I have created an admin section that allows admin users to specify a URL then add 2 possible friendly URL for that specific URL and save it in the DB.
I have done it this way as the site is built dynamically and alot of the content is managed in the admin section.
Also the friendly [...]
Question:
Hi There
I am trying to load data into a ajaxToolkit:ModalPopupExtender.
I have done this in other parts of the site and it works fine but when I try and load it on this page I get the following error.
Error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: element
I am not sure what is causing it please view the [...]
Question:
I have taken a master page. in this I have taken an ajax accordian control. In this i have declared menu control. Now, I want that when a user select a particular item in the sub menu, then its background color get changed. I do not have any idea. plz help me on this. For [...]
Question:
Hi,
I want to apply a CSS class to all dropdowns in all the pages of my project in one shot.
How can we achieve this?
Solution:
Hi meetpd,
To set a css class for all droopdowns in one shot, u can use the javascript.
What u need to do is,
1. Get all the controls in the page.
2. Loop through all [...]
Question:
I’m working with DotNetNuke vers. 4.82. I created a simple C# module using the Web Application Project, following the standard instructions. The module compiled without any errors. I then imported the module definition without any errors. The View control appears without any errors on a test page. However, when I deleted the registration of the [...]
Question:
Dear Friends,
i have columns say author names
which contain data like this
author1, author2
author4, author2, author3
author1, author5, author6, author2
now i want to fetch the records with distinct author name
say the output will be
author1
author2
author3
author4
author5
author6
i want this records to show in dropdown list
hope you understand my requirement
thanx
Solution:
try this
DECLARE @listStr VARCHAR(MAX)
SELECT @listStr = COALESCE(@listStr+’,’ ,”) + [ColumnName]
FROM TableName
SELECT Distinct Data [...]