The controls are dynically built based on some sql table rows - so I don't create them as such.
I was wanting the best way to get to specific control(s) without having to loop through the controls collection - I thought he relection method may be quicker/more effecient.
Thanks,
skip
Yes, the .Name property is being set.
I think the limitation of the Reflection method is that it doesn't locate dynamically created controls - hoping that isn't the case though.
Thanks,
skip
Thanks Christiaan, that is an interesting article.
Code works fine on controls added at design time, but does not work on dynamic controls.
The form I have is built up of (mainly) dynamic controls, and it's those I'd like to retrieve by name.
Do you know of a way of retrieving dynamic...
Hi,
Hopefully this is an easy question and there is a simple solution!
Is it possible to programmatically accessing the panels in a windows form?
My form has 5 panels, so if I wanted to loop through the controls in all 5 panels I could, for example, do:
For Each objControl In panel1.Controls...
I've finally let windows explorer open up the folder - there are a staggering 1,122,458 files!
After removing SQL Server 2005 reporting services no more files have been created in that folder, so hopefully I have found the culprit!
I will archive and delete those files - and keep an eye on the...
Thanks - will give that a go.
I've removed SQL Server 2005 reporting services - I'll run filemon filtering on that folder for a week or so - and if nothing accesses the files I will archive and then remove.
Thanks for your reply linney. I will try your suggestions and have a look at those links.
It only seems to be affecting the LOCALSERVICE protect folder (C:\Documents and Settings\LocalService\Application Data\Microsoft\Protect).
If I look in another folder eg. C:\Documents and...
Thanks for the replies.
I have tried running a chkdsk - and re-installing AVG but to no avail.
There are thousands of files - windows explorer hangs if I try to view the files in this folder.
If I navigate to that folder in a command window and run dir /ah it lists files for ages - never...
C:\Documents and Settings\LocalService\Application Data\Microsoft\Protect
I have this folder on my machine and it is causing me a wee bit of grief.
In this folder the is a file called CREDHIST and a folder called S-1-5-19
From what I can find from searching on google it seems to be a normal...
Hi,
I'm not sure if this is a problem with sql server or Outlook 2000, but I have a dts package that exports a bunch of records into a csv file, and then emails that file as an attachment.
When the email arrives, the attachement is un-readable and has been renamed attach00023.dat - the...
Hi,
Just wondering if anyone out there has had any success in sending out emails via the microsoft reporting services subscription pages.
The machine currently running reporting services does not have SMTP installed, so I would like to configure it to connect to the mail gateway within our...
aye, that's the one - the spinning green image with the text "Report is being generated" underneath.
Just wondering if there's any way of changing the text?
Thanks,
skip
Hi,
Does anyone know if it's possible to change the "Report is being generated" message that is displayed when Microsoft Reporting Services is preparing the report?
Many thanks,
skip
OK, I've had chance to implement your suggestions. It didn't quite work so had to make a few tweaks, but the idea of storing the DataSet in a session variable is the solution.
My code looks like:
If Not IsPostBack Then
LoadData()
Else...
Hi guys - I appreciate your help and advice.
I've not had chance to implement your suggestions yet - hopefully will have time in the next couple of days.
I'll let you know soon! Thanks once again.
Thanks vbkris, I appreciate this. Here is the code for the ItemCommand event:
Private Sub dgAdvancedAnswers_ItemCommand(ByVal source As System.Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgAdvancedAnswers.ItemCommand
Try
Dim...
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.