I'm having trouble replicating this code for a DataList object (as opposed to a DataGrid).
(where groupRecipients is a DataGrid object)
string arbitraryStringValue = String.Empty;
foreach (DataGridItem row in groupRecipients.Items) {
arbitraryStringValue = row.Cells[3].Text;
}
The variable...
Hopefully someone can help me!
To facilitate implementation of a 'globalised' site (language-enabled), we're holding string resources in resx resource files which are compiled to a satellite dll.
On page so far, we've had to do a very manual mapping within code from a ResourceManager object...
A quick question about best working practices when deploying, and maintaining an asp.net site.
If you compile all your code client side, using vs.net. Assuming a large site, I would imagine your 'site dll' (does anyone know the correct terminology for this?) is going to be a large file of the...
I have a quick question. When I've seperated my aspx and aspx.cs files in an asp.net application till now, I've used the Src attribute of the page directive to point the aspx to the application code held within the .cs file. (to be compiled dynamically server side).
This has worked fine for me...
I'm having terrible trouble printing pdf files from asp.net. I think I've got it most of the way, using the System.Diagnostics.Process class to call on acrord32.exe with the relevant parameters to print the file.
The only trouble I seem to be having is, when I make the call, I get a file not...
I know I'm just failing to grasp the concept of all this. I think I know what's wrong, but I can't seem to fix the problems I'm having. Can anyone point me in the right direction??
I'm trying to pass values between asp.net pages and running into all sorts of troubles. My code is generally (to...
I'm sending mail from an asp.net (c#) page using System.Web.Mail and need to set the font to something other than the default. Can't see a way to do this short of declaring the type of the mail as html and insert <font> tags into the body of the message, which I'm reluctant to do.
Does anyone...
Something I was musing over while writing some code. It's not important in the grand scheme, just would help me strip out a single line of code from a few apps ^_^
I have an openDBConnection() function I can call on, creates an SqlConnection, populates the object with my connection string etc...
I want to define an application_beginrequest function within a common include file, which I can then call from each of my aspx pages to log various request variables.
However, I'm having trouble simply understanding what is the best way to go about this. I've tried defining it within an ascx...
I have a few vb Labels on an excel worksheet that are set to be backStyle = 0 (transparent). I want to use them as exactly that, a label. Problem is, when I click on the label, it becomes opaque and shows the backColour through until I move my cursor away.
Am I doing something stupid? Is it too...
i'm adding items to an excel listbox control, and want only to add those that are unique i.e not in the list already - probably a stupid question, but does anyone have any thoughts?
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.