I have never had an issue with putting
th
{
background: #900;
}
as a style in a css file and have that apply to the header row of an ASP datagrid.
But for some reason today, I have a grid that is getting output with everything in TBODY
and even the headers are in TD tags. Any ideas?
One thing that is a little different for me is ...
Is there any difference between
<opensearch:totalResults>1000</opensearch:totalResults>
and
<totalResults xmlns="opensearch">1000</totalResults>
I'm using the SyndicationFeed class in .NET to generate an Atom feed, and I need to add some elements for the opensearch standard, but it keeps adding elements like the latter one above w...
We've all used the ProgressBar control, and it's great.
Sometimes, though, you want to indicate to the user that work is being done, even though you can't determine what percentage of the work is finished or how long it will take to complete.
On some operating systems, you can set Style = ProgressBarStyle.Marquee; but this isn't suppor...
All I'm wanting to do is pass a JS array to a VB .net code behind method via a AJAX call or other way if there is another way? Can someone point me in the right direction?
I'm basically wanting to save the values in the JS array to a database.
...
I know that Oracle is a generally good database engine but I think it is too difficult in deployment for a .NET projects comparing with native Microsoft SQL server solutions.
(I needed to install both x32- and x64-bit client components and configure TNS names for both of them, plus install Distributed Transactions support for Oracle. No...
I'm working on writing a compiler for a language running on .net and one of the things I would like it to do is to automatically generate the GetHashCode method, but I have several questions:
Is this possible, does the compiler know enough about the type(s) involved to do a reasonable job implementing the method?
Should I do this for v...
I'm working on a project in which I use Depency Injection. When registering a set of interfaces and classes, I need to point out the namespaces at which those interfaces and classes are located.
I don't like providing string constants though, mainly because it hurts refactorability. I don't like taking one of the interfaces/classes and ...
How do I get radar images to a .Net program using this service: http://www.nws.noaa.gov/forecasts/xml/
I literally have no clue where to start. If someone could provide some sample code or maybe direct me to a tutorial of some kind that would be awesome.
Thanks Alot
...
i had two combobox(Catogery, product) in my grid.
what i want to do is.
if i select category it will display some data set value based on category,
and if i select product it will bind some values in that datagrid cells.like price quantity..
i don't have idea about how to write event for combo box selected index change event which is i...
How to I reflect back the name of a type that is supplied as a generic parameter? I would really like to know how this is done in both C# and VB.NET. See the following example code and expected response.
In C#:
public void Test<T>()
{
Console.WriteLine("The supplied type is {0}",???)
}
In VB.NET
Public Sub Test(Of T)()
...
OK, I realize that question might seem weird, but I just noticed something that really puzzled me... Have a look at this code :
static void TestGC()
{
object o1 = new Object();
object o2 = new Object();
WeakReference w1 = new WeakReference(o1);
WeakReference w2 = new WeakReference(o2);
GC.Collect...
Hello,
I built a project as descripted in this URL:
http://msdn.microsoft.com/en-us/library/ms734784.aspx
I used the app.config version. But using the code-Version does not change anything (the timeout-error still occurs).
To create the ServiceHost I used the following code:
this.serviceHost = new ServiceHost(typeof(Calculator));
//...
I need to scrape order information from our Amazon seller central account so I am trying to access it using HttpWebRequest from a .NET forms app. I know it is not that hard to get logged in because if I open this local HTML in IE:
<html>
<body>
<form action="https://sellercentral.amazon.co.uk/gp/sign-in/sign-in.html/ref=ag_login_lgin_my...
I'm not talking about hosting ASP.NET with the 'ApplicationHost' class. For example, if I create a Console application, create a valid HttpContext object and pass it to the ProcessRequest of a custom Page object, will it fill the HttpReponse html like if it was running inside ASP.NET?
...
I'm beginning to look into custom attributes, and I've come up with the following idea: what if I could make an attribute which would restrict the use of a variable to the property it backed?
[RestrictToProperty("Foo")]
private object _foo;
public object Foo
{
get { return _foo; }
set
{
_foo = value;
OnFooCha...
I would like to know if it is possible to map a 1-many database relationship as an array of primitives on the parent object class. For example, say I have a database as follows:
TABLE: PERSON
ID - int
TABLE: PERSON_EMAIL_ADDRESSES
PERSON_ID - int
EMAIL_ADDRESS - string
For my Person class, I'd like to have the following:...
Possible Duplicate:
Best 3D Graphics Engine for .NET
Hello everyone,
I'm an Indie developer and I'm in need of a good rendering engine for c#
(Do not point me to Unity3D please, I want to be in control of my entire application and not just scripting and working in unity's proprietary editor)
I really like Truevision3D but th...
Is there a WriteProfileString support directly in C#? I do not want to use the unmanaged function from kernel32.dll.
...
I am trying to determine what if any advantage or disadvantage there is to using an object to relational mapping layer like hibernate or the Microsoft Entity framework when building the data layer.
Is using sql and mapping objects by hand better in the long run or is it better to leverage one of these mapping technologies?
It seems ...
I've been reading about WebORB, and am wondering: if I just need to call methods on a .NET web service from my Flex app, does it add any value?
...