Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

session variable

i don't want unregistered users to visit few of pages of my website e.g lists.aspx,so i set this : if(session["user"] == null) { response.redirect("error.aspx"); }but i don't want to put it in every...

View Article


Nesting a control's contents makes updating require two postbacks...

Hello!There's no "User Controls" forum, and I'm not sure if Server Controls are the same thing, so I'm just assuming that this would be the forum to put User Control-related questions in.So, I have a...

View Article


Add a text at cursor position in Ajax Html Editor from code behind in asp.net

Can I add a text at a cursor position in ajax html editor from code behind when i click a button ?

View Article

command type doesn't exist in the current context

it ain't work , why ? i am using VS 2012 , .Net framework 4,look at the code below (Bold) , it underlines CommandType object, and says that'It doesn't exist in the current context'. protected void...

View Article

Error on recognising AdaptDataSet and ReadDataReader

Hi,I made an architecture and on building it, it didnot recognize AdaptDataSet and ReadDataReader.Am I missing any reference?Because this used to work on ASP.NET 4.0. Now I am working on framework 3.5...

View Article


crystal report

How to add a crystal report in visual studio 2010 asp.net

View Article

Few question about static class c#

we know that when we declare static class then static class load in memory once when we run our apps. i was asked a wired question in interview and i could not explain very well. the question was 1)...

View Article

What is code optimization in c# & how to do it

i have very small programming experience. i heard about code optimization but do not know what it is. so i like to have good insight about code optimization that what it is and how people do the code...

View Article


How Can I Save Multiple Listbox Items Into A Database Table

I have a list box on my form which is auto populate by an SQL statement as below:If Not IsPostBack Then connect.ConnectionString = ConstrDim query5 As String = "SELECT ComplaintTo FROM Complaint2 GROUP...

View Article


Writing Code for LoginStatus and LogoutStatus using C#

My Login Page Controls code is:<table class="auto-style9"><tr><td class="auto-style12" colspan="2" style="font-family: Georgia; font-size: medium; font-weight: bold; text-transform:...

View Article

how to add oracle dataaccess reference?

I downloaded from Oracle website the following file:CollectionDevelopmentPolicy-revised2012.zipIs this the correct download file?I unzipped the file and ran install.bat file as instructed in the readme...

View Article

unable to load dll 'coredll.dll'

Hi,unable to load dll 'coredll.dll' the specified module could not be found.when am run the asp.net application am getting this error.can you help me.Thanks Deivendran

View Article

HREF links based on current webpage displays else no display

I want the sidebar to link to the page specficic help topic if defined otherwise not show at all. I would actually have to do this Code behind where I would have it as a IF Else Condition...

View Article


html textarea - cursor in middle of box

Strange one! So - when I tab down my form which consists of various controls - the textarea one behaves strangely in the sense that the cursor sits in the middle of the box. When I check the value in...

View Article

classes in asp.net

when we create new web project in asp.net(C#) and add any Web form, then its .cs code begins with:public partial class _Default : System.Web.UI.Page { ........... ........................

View Article


update panel render problem

hi, experts, there are 2 update panel on my page. update mode of both of them  = alwaysin each update panel, there is a repeater. the data source of them is dictionary. they have different data...

View Article

Delay loading of elements

How to display page as soon as possible but load some of it's elements later on? guess some sort of lazy load or something... i mean things like expensive query and so

View Article


I have a list box that populates dynamically from a table.

I have a list box that populates dynamically from a table. I want all items of the ListBox to be selected on page load as default options using vb.net code

View Article

why am I getting this error

This is my code that I am getting the error on, I think its my curly braces, Please look at it and advise.. The void next to protected and thecurly brace afterwards.......Thanks        }...

View Article

Get Sessionid and write to a database table

I start a sessionId when a user points their browser to www.GoLiveFitness.com. You can see the session id in the following url: http://golivefitness.com/(S(e3mrd4s0wg3zehwlcgsyawhg))/default.aspx. What...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>