thread215-1572221
I have a page getting loaded in one of the frames of a frameset(which gets opened in maximized window).
The page has a third party navigator control inside an updatepanel(which gets rendered as a <div>) which is enclosed in a set of divs. The div's height and width are set...
My client has two different applications running on different servers. One is a .net application with sql server database and the other is a set of pure html pages hosted on a linux server. Now,if i need to fetch some data from the sql server in one of the html pages on the linux server, will...
I have a report where I need to show only the top row first and on click of some hyperlink, I want to open up rest of the rows. I was thinking of having two tables, one filtered to show only the first row and then the next with all the rows and then conditionally displaying them. Is there any...
I have a report with a field "cost" which can be >= 0. i want all non zero rows to be grouped under the name "paid" and the rest in "free". I created a group with expression "cost>0" but now, each row with a non zero value is a group. That is not what I intended. Any ideas?
In the following sproc, if @SS2BRUserID is not passed, I want it to return all the rows (equivalent to commenting out 'AND @SS2BRUserID IS NULL OR C.SS2BRUserID=@SS2BRUserID'). It doesnt seem to be working for me. Can anyone help me with this?
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
SET...
Hi, I need to upload a file from the client and save it to server. How can i get the file from client, save it to memorystream and then later write it out to server disk?
I have tried to cache one asp page. I have given the following code for that:
Response.AddHeader "Pragma", "Cache"
Response.AddHeader "cache-control","public"
Response.CacheControl="Public"
Response.Buffer = True
'Response.Expires=5
Response.ExpiresAbsolute=#August 06,2005 13:30:15#
None of...
I have a UserControl(an Enhanced Date picker) which has some code in the page_load event. I am loading this User control within another User Control. The code in the page_load of the first control does not get executed. Is there any way to solve this?
I have two date fields in my web form for which I need to do a normal Start Date-End Date validation. I am using a CompareValidator to do the same. I notice that it works for any combination except when the year part of the two dates are different. eg: Start Date=01/012005 and End...
I am using server.mappath to load a xml document in one of my asp.net pages. It works fine in the development server but in production, somehow it is looking for my local path. Any ideas??
I need to show the logs for one of the custom NT services running on my server in an asp page. I am using the EventLog object to read all the events in the WIN event viewer. How can I filter these events to list only that of my application. Is there any way i can filter it by source. I can...
I have two dropdowns that get populated from the database on page load. But once it is populated, the values dont change. But everytime the page reloads, it will still fetch from the db isnt it? Is there anyway of caching these controls so that i can minimise the DB fetches? Any thoughts please....
I am using a SP to update rows in a table. Inside the SP i am checking for @@ERROR and returning the error number if any error occured or else returning 0. But when i execute the SP from .NET with erroneous data,it causes exception.
Is there a way to get the return code from the SP instead...
I have multiple rows to be updated on click of a submit button in the page. What is the best way to update multiple records in sql server. Do i need to use cursor? Can i pass arrays of each column to the stored procedure?
I want to combine add/edit in a datagrid. So i am having 10 empty rows in the datagrid which can be updated to any value so as to simulate insert. I display textboxes in the itemtemplate. What i need to do is :
1.Display labels if the column is not empty with a button to click to go in to edit...
I need to create a chart from a xml data source.
These are the fields i have:
Name of the runner
Distance
Elapsed time
Distance and elapsed time should be the axes.
When i try to use the chart expert,it tries to plot the
count of elapsed time.
Any ideas,please??
This is what i want to do:
I have a datagrid which displays information from table1.
I have a column in the datagrid which shows a dropdown with three hard coded values as listitems say region1,region2,region3. I need to bind the value of these listitems to the id field of the selected record...
Hi,
I have a web application running on aa.aa.aa.aa
and it is hosted by bb.bb.bb.bb. So i am accessing the website by the ip address,so it is bb.bb.bb.bb/webappname.
Now,i provide a hyperlink in two websites with ip cc.cc.cc.cc and dd.dd.dd.dd to bb.bb.bb.bb/webappname.
And in the asp...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.