13,153 Topics
| |
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 … | |
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...? | |
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 … | |
How can i get the public key token for the assembly that i want to add in root web.config file. Please Help | |
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] | |
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 … | |
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 … | |
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" … | |
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] | |
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()); … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 : … | |
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 … | |
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 = … | |
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! | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.