How to set css style to asp.net button??

I have a asp:Button, I used css styles with cssClass property in asp:Button, but those styles are not working. When ...

Purpose of EF 6.x DbContext Generator option when adding a new data item in Visual Studio?

I have a web app that I built using LINQ to SQL and I'm looking to upgrade it to LINQ to Entity Framework. I've look...

How to get current domain name in ASP.NET?

I want to get the current domain name in asp.net c#. I am using this code. string DomainName = HttpContext.Current...

How to update an object in a List<> in C#?

I have a List&lt;&gt; of custom objects. I need to find an object in this list by some property which is unique and...

ASP.NET - cookieless=UseCookies - only session id in browser? No client cookies??

I'm working on asp.net (4.0) web site. I was trying to use form authentication (). Obviously trying to have some of ...

PageMethods is not Defined in ASPX Page?

I'm looking at some old code that I can only assume worked at one time. MyPage.aspx: function GetCompanyList(offic...

Asp.net session variable?

I have a asp.net project with c# code behind. I have a static class called GlobalVariable where I store some informa...

Javascript Runtime error: $ is undefined?

I have added script in my Default.aspx page. I am getting following error. ...

ClientScript.RegisterStartupScript not working?

I have searched SO &amp; google, but I can't seem to get this to work. The code is in the codebehind click event of ...

Grouping Data in Asp.Net Gridview?

I have two Stored Procedures which are returning two sets of related data. The Data is like this. First Procedure re...

Read Variable from Web.Config?

How can I add and read the value from web.config file? ...

ASP.NET meta:resourcekey?

I'm looking at an ASP.NET application which makes heavy use of meta:resourcekey which seem to be connected to the re...

Read from word document line by line?

I'm trying to read a word document using C#. I am able to get all text but I want to be able to read line by line a...

Keeping ASP.NET Session Open / Alive?

Which is the easiest and most unobstrusive way to keep an ASP.NET session alive as long as the user has the browser ...

ASP.NET web.config: configSource vs. file attributes?

Within an web.config-file in an ASP.NET-application some sections of config, like appSettings and connectionStrings,...