13,153 Topics

Member Avatar for
Member Avatar for Pankaj18

Hi, I want to display a text, getting from database, into a DropdownList using text property. My Code:: [code=ASP.NET]SqlDataReader drd; if (drd.Read()) { drpcompname.Text = drd.GetValue(0).ToString(); }[/code] But It Display an error:: 'drpcompname' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter …

Member Avatar for Ramesh S
0
125
Member Avatar for dnanetwork

i'm working on paypal web application. i have no idea how it works. all i want is after my cart page it should call for paypal page where user should enter the credit card details...so help...?

Member Avatar for Ramesh S
0
98
Member Avatar for gingank

I have a question about how to change the web config Below is my code [CODE]<configuration> <appSettings/> <connectionStrings> <add name="MyXT" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\XT.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web>[/CODE] If i want to change it from SQL Express to Standard SQL how i have to write about it. Now the data …

Member Avatar for Ramesh S
0
467
Member Avatar for nccsbim071

How can i get the public key token for the assembly that i want to add in root web.config file. Please Help

Member Avatar for nccsbim071
0
171
Member Avatar for gobi_roy

hi, there, i want to use .gif button and use in the hyperlink. i am not able to move to another page by clicking it. the code is as below: [CODE]<asp:HyperLink ID="HyperLink1" runat="server"><img alt="" longdesc="file:///C:/Documents and Settings/user/My Documents/Visual Studio 2008/WebSites/WebSite9/Images/line.gif" src="Images/line.gif" style="width: 1273px; height: 6px" /></asp:HyperLink>[/CODE]

Member Avatar for kameswari
0
138
Member Avatar for gingank

Hi guy i got problem on the web configure when upload to iis and it come out this error Server Error in '/myTT' Application Configuration Error Error line 31=<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation> Below is my web config code: [CODE]<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this …

Member Avatar for Ramesh S
0
382
Member Avatar for The king

hi every one , i have a problem in asp.net server when i run the site it give me this error in internet browser plz if any one can help me and thanx for all of u, and this problem in oracle server (ISQL plus)also the error msg: ((Internet Explorer …

Member Avatar for thewebhostingdi
0
118
Member Avatar for progtick

I am losing my mind here. I am using Visual Studio 2008 to develop a website and I am using masterpage and contentpage. If I delete this line from one of the controls on page, then the page formatting breaks. If I keep it, it stays fine. [CODE]<link rel="stylesheet" type="text/css" …

Member Avatar for serkan sendur
0
119
Member Avatar for gobi_roy

hi, there, i need to know why is it i get this error when i run the web site.[B]A page can have only one server-side Form tag[/B]

Member Avatar for serkan sendur
0
174
Member Avatar for missbeginner

I want to use a click button to go to next page, and display the detail info of the person i select. but this code wont work. help help! [code=asp.net] void ButtonHandler(Object sender, EventArgs e) { Button ViewReports = (Button)sender; switch (ViewReports.CommandName) { case "ViewReportsClick": Response.Redirect(ViewReports.CommandArgument.ToString()); break; case "ViewRemunerationClick": Response.Redirect(ViewRemuneration.CommandArgument.ToString()); …

Member Avatar for missbeginner
0
89
Member Avatar for Yellowdog428

Hay guys I am looking for some help here I have a page in asp that I am trying to get a button to display a pop up with the value of a textbox on the parent page. This should be a simple popup with a multiline textbox inside it …

Member Avatar for serkan sendur
0
123
Member Avatar for progtick

I am using ASP Login feature and I am binding data for controls like repeaters and div's using the clause [CODE]if (!Page.IsPostBack) [/CODE] If the login is successfull, then it seems all is fine. Otherwise, repeaters and div's etc lose their data. I have noticed that when the login is …

Member Avatar for serkan sendur
0
50
Member Avatar for sonia sardana

PROJECT DETAILS- This system uses two files....item.txt and transaction.txt.. .when u add products, it goes to item.txt with its current stock. ...when u sell product, the stock decreases from item.txt and a transaction entry adds to transaction.txt First Part is completed.Dat is item.txt file..Now if i sell product,I want to …

Member Avatar for sknake
0
117
Member Avatar for chriscross86

[B][/B]hi there, i need help in my vb behind codes. There is an error at these part [B]'con.Open()[/B]'. When i run the code the error says, [B]"The ConnectionString property has not been initialized."[/B]. It also says , "invalid operationsException was unhandled by user code." [code]Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Web …

Member Avatar for Ramesh S
0
1K
Member Avatar for skullish

Hi, I created an asp.net website that wrotes information on an Access DataBase and allow users to upload pdf files. But I have a security error, telling that ASP.NET doesn't have the rights to create de file (but writing in the DB works perfectly). This is the error message : …

Member Avatar for skullish
0
212
Member Avatar for Vegetalzis

Hello everyone. My application has two "main" controllers, which are: 1: EsgRepublic.Payport.Mvc.Areas.Employees.Controllers.EmployeeController 2: EsgRepublic.PayPort.Mvc.Areas.Admin.Controllers.HomeController The first time i click at any link related to the 1st controller, i get the following error: [B]The controller name 'Home' is ambiguous between the following types: EsgRepublic.Payport.Mvc.Areas.Admin.Controllers.HomeController EsgRepublic.Payport.Mvc.Controllers.HomeController[/B] The second time works properly, and …

0
95
Member Avatar for gingank

Hi guys i need your help can you explain this code for me the using the aspx.vb to write and i not understand can explain it to me pls? Below is the code [CODE]Protected Sub Login_ImageButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Login_ImageButton.Click Dim loginId As String = …

Member Avatar for sknake
0
128
Member Avatar for mtyb

Hello, Win App: takes a value from a textbox1 and send it throw parameter to a method in the website called WebDisplay(textbox1.text) Web App: recives the value of the parameter. so how can i do that..? thanks!

Member Avatar for Ramesh S
0
108
Member Avatar for syedyaserahmed

Hi friends!! i have a small application where i want to receive incoming faxes and save them in a particular folder, how do i do that im using system dll to get the methods and functions for doing so, im using the dlls below 1) faxcom.dll 2) fxscom.dll 3) fxscomex.dll …

0
46
Member Avatar for mjc225

I am using a GridView on a page that will need to display data based on either a URL passed in with a QueryString OR fields passed from a form. This may return 50-500 records or so based on the state etc... If this is too many, (and only if …

Member Avatar for kvprajapati
0
76
Member Avatar for shireesha1

Hi, I am working on a asp.net c# project where I need to get data from sql server database and dynamically populate treeview control consisting of 6 sub nodes.can any one tell me an easy way to do this. thanks in advance shiri

Member Avatar for kvprajapati
0
70
Member Avatar for vizy

Hi Friends, I am using update Panel to update the records without being page refreshed... and using updateProcess control to lock the screen with ModalPopup div Css.. After Updating the Record from the CS Files, giving the alert message using ScriptManager.RegisterStartupScript method. But this message is displayed on the modalPopUp …

Member Avatar for vizy
0
144
Member Avatar for Kusno

Dear all, I have a problem with AJAX.Net. Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn't provide date picker). So, I have plan to convert my forms AJAX to AJAX.Net. I have converted one modules, and when I compared AJAX.Net …

0
56
Member Avatar for sonia sardana

I want to read just the last record of file....I m able to read the whole file. Secondly I want to know that in VB.Net we have ubound to get the upper bound of the array..What is the equivalent in ASP.net? [code] protected void Page_Load(object sender, EventArgs e) { string …

Member Avatar for sonia sardana
0
135
Member Avatar for FaridMasood

Hi, I have a page which needs to collect data from user in steps. I have used the Multiview and then four views in that multiview as i have four steps to follow. In last step i mean in step four i have a text box and CalendarExtender to use …

Member Avatar for Ramesh S
0
231
Member Avatar for Kusno

I got this source code from internet. This source purpose is to call ASP.Net function or method from JavaScript. [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb" Inherits="Default5" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Developed …

Member Avatar for Kusno
0
173
Member Avatar for Darkangelchick

Hey guys Im trying to make an auction website for school using html, ASP and a database in Acess. I am trying to create buttins so my users can click on them to Bid on people. I keep coming up with different errors and when I view the source code …

Member Avatar for IdanS
0
109
Member Avatar for thewebhostingdi

I am receiving the below error regarding the AJAX Extensions. My host says that extensions are already installed on the server. Hence, do not include them in the bin directory of your asp.net website. However, I have not included them in the /bin directory. Can anybody help as to why …

Member Avatar for serkan sendur
0
93
Member Avatar for jktsavla

Hello Doc's, I am using asp.net MVC for my application. I am dynamically generating HTML content from my controller using STRING variable. Below mentioned is the code snippet generaed by my controller using c# [code]<ul id=\"dhtmlgoodies_tree2\" class=\"dhtmlgoodies_tree\"><li id=\"1\" > <%=Ajax.ActionLink(\"ATI Display Driver\", \"Test/5\",new AjaxOptions(){UpdateTargetId=\"returnData\"}) %>[/code] Now when above code reaches …

Member Avatar for jktsavla
0
191
Member Avatar for sonia sardana

hey frnds, tell me one thing as in VB.Net suppose if we want to connnect to SQL,then in form coding itself.We create the database,Create table ...& insert values... WE do that cz if we run the project at Client side,even if no database is there our project automatically creates it …

Member Avatar for sknake
0
133

The End.