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

connection string in Text File asp.net

"byval constr as string=" serever='(local)';uid='sa';pwd='sa@123';database='moh';Trusted_connection=true;"are this correct  ? if not tell me what is the code correct in textfile please,  and how can...

View Article


clientid question

Just a quick question about clientid in asp.net server controls..Do these controls always generate the same ID regardless of the machine the code is running on.eg Textbox text = new Textbox(); text.ID...

View Article


Need some help with loading of a Usercontrol

Hi I have a user control Search.ascx and in that are a number of other controls .. Req, Ord and when i load the Search.ascx from the web page it loads fine , but if i navigte away from the page and...

View Article

Disabling drop down list and forecolor

so, I have set the backcolor for a dropdownlist to be gray.I also want it to not be selectable - I set the Enabled property to false. Great.But, then the text in the dropdownlist is gray. I want it...

View Article

rewrite to remove folder

I have a site that is hosted with Godaddy. Godaddy always includes the folder name in the url.i.e website stored in folder "abc"www.domain.com/default.aspx becomes www.domain.com/abc/default.aspxI am...

View Article


Show value -/empty cell where data is 0 in gridview using ASP .net C# code

hi friends,My problem is such like this--My Data Base table is:-date                valu1  valu2      valu314/04/2013        0      100        20014/04/2013        0        200       30013/04/2013...

View Article

Where is the GAC folder??

Hi I am bit confused about the location of the Global Assembly Cache. I have read at many palces that it is located at c:\windir\assembly but when I try to check this with windows explorer I did not...

View Article

login failed for user "

error : login failed for user my code thisImports System.IO Imports System.Text Imports Microsoft.VisualBasic Public Class employee Private cons As String = "" Public Function Readconnectionstring() As...

View Article


Duplicate Key value pair Error in HttpWebRequest and HttpWebResponse

Hi,I am posting Request to Server using HttpWebRequest and getting Response in HTTPWebResponse. But During response I am getting error of Duplicate Key value pair.Can I have some check if my request is...

View Article


What is the best practices method of cross enabling applications with forms...

I understand that to authenticate across applications, you configure machinekeys, and other items to be identical.  But in doing that, I see that it is "oudated" according to the following...

View Article

How to run multiple sql commnads after open the connection, in code behind?

Hi,I'm working on a webforms app, using c#. I need to make a db call from JavAcript, after user click a link.I have 2 questions:1) I need to first query 1 table, do a "Select"; then based on the result...

View Article

User authentication with session state

I am looking at a project where the programmer has not used Form-Authentication at all to authenticate users andinstead depends on Session state for authentication. The idea is that on the master page,...

View Article

session value insert in datagrid view

hi ev1i have a session["abc"] in this session i have some values like this 1,2,3,4i want these session vales insert in datagridview row by row llike thisDGVcolumn1 DGVcolumn2  1  2  3  4plz help how...

View Article


ASP.NET 4.0 Forms authentication - unable to relogin

Hello,I have an intranet ASP.NET 4.0 WebForms application that is using FormsAuthentication (Win7 Enterprise, IIS7.5).The web.config has the following elements:<authentication...

View Article

How can I clear Viewstate of user control on webpage

Hi all is it possible to clear the view state of usercontrol on a webform, here is my task which I accomplished as follows. I need to create dynamical buttons based on the database values in the user...

View Article


Splitting Reg form on multiple pages

My registration form requires a long scroll - what's the best way I can split this into maybe multiple pages? Anything I can use? And when I hit the next button to take user from page 1 to page 2 -...

View Article

FindControl not working

 I have a really stressfull situation here, i cant find my controls that i dynamically added, this is my code in load. I am adding the controls to a panel name "Panel".For Each SubAct As...

View Article


Control for data entry

Hi All,I am working on designing a web application and I have a question or two. The application basically has 2 to 3 tables users would be filling(simple data entry app). Below is a sample table....

View Article

Detailsview data entry

I am using a detailsview to enter some data into a database, but when I run the app without debugging, it is not letting me enter any data. I want the detailsview contorl to let me enter data. Any idea...

View Article

I fatch the problems show diffrent diffrent location popup mozila firefox and...

var element = document.getElementById(sender._element.id);    var bound = Sys.UI.DomElement.getBounds(element);    var ypos = bound.y;    var bodyheight = document.body.clientHeight;    var divelement...

View Article
Browsing all 23244 articles
Browse latest View live


Latest Images

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