13,153 Topics
![]() | |
My first attempt at ASP.NET... I would like to convert my current website to .NET as a way to get the feel for the new environment. In my current website, I have code which checks a database to find out which menus to display and then loads them accordantly. I … | |
Specified cast is not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Specified cast is not valid. Source Error: Line 12: Public Sub … | |
I am new to ASP. I have populated a DataGrid with rows but cannot find any property setting (like Readonly=False or True) that let's me update rows directly in the grid. Is such a function not supported in ASP ? If this is the case how would I design a … | |
I have read about the asp.net worker process but I am not very clear about the same. I have read only one worker process is created for every processor. But, they have also specified that looking into the performance of the worker process, a new worker process is created if … | |
Does anyone know or has seen a good example for a Master/Detail INPUT WEBFORM, using Datagrids? I've seen a lot of examples of Master/Detail Display, but none of Master/Detail INPUT. Thanks! | |
I am building my 1st .asp application and filling a data grid from a Nothwind DB. When I try to open the connection it gives me user log in error. Can anyone guide me here ?? Thank you. Exception Details: System.Data.OleDb.OleDbException: Login failed for user 'WITHEATH\ASPNET' Line 44: myConnection.Open() Here … | |
Hi All, I am using a DropDownList in my page and I am binding the property of this server control like follows. <%#DropDownList1.SelectedItem.Text%> What I am finding is that it returns the text for the item I have selected. If I use the value property of the ListItem, then also … | |
I am in the process of porting most of our asp apps. to asp.NET and have come across one headache. The process uses two forms to upload images, check they are valid image files, check to see if there are already any registed within the database and delete the old … | |
Please excuse the interruption. I work for Kronos Incorporated, and we are looking to add a Sr. Software Engineer to our Advanced Development team in Chelmsford, Massachusetts. The position is for a full time employee - not contractor, and is located in Massachusetts. Only local candidates are being considered at … | |
I'm just curious as to what a browser needs/needs to have enabled to view an aspx page. I need this info for writing some technical documentation for an application I created. Thanks in advance Slade | |
ok, I've heard of this mod_rewrite. Is it possible to do this in asp .net using vb .net? It basically just renames a page with a query string such as newthread.php?do=newthread&f=18 to newthread.html, so that search engines have fun and you get ranked high! Thanks In advance. Slade | |
For some reason, when I am in the password text box, when I press enter, it simply clears both fields. Doesn't validate, doesn't login, just clears the fields. What is going on here? Codebehind: [CODE] [size=2][color=#0000ff]Private[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] cmdLogin_ServerClick([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] sender [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Object, [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] e [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.EventArgs) [/size][size=2][color=#0000ff]Handles[/color][/size][size=2] cmdLogin.ServerClick [/size][size=2][color=#0000ff]If[/color][/size][size=2] FormsAuthentication.Authenticate(txtUser.Text, txtPass.Text) [/size][size=2][color=#0000ff]Then[/color][/size] … | |
Hi, I am a beginner, and i dont know about debuging, so please can u help me in easy way. I tried that WebXel shopping Cart which ASP.NET (VB) I went thru it all, and I could understand it, but sure not all the code, but I faced many problems … | |
I have a project (which I inherited) in Visual Studio 2002. I have been working with this project for about 6 months. This week, the project decided to generate many errors as below: Resources 'private\901\default.aspx.resx' and 'private\903\default.aspx.resx' have the same manifest resource name 'content.default.aspx.resources'. I seem to remember finding an … | |
Hi, I need to know how I would go about making a drop down menu in asp .net using vb .net... Thanks, Slade | |
Ok, here I have my hit counter as a text file. [CODE] [size=2][color=#0000ff]Private[/color][/size][size=2][color=#0000ff]Sub[/color][/size][size=2] Page_Load([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] sender [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Object, [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] e [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.EventArgs) [/size][size=2][color=#0000ff]Handles[/color][/size][size=2][color=#0000ff]MyBase[/color][/size][size=2].Load [/size][size=2][color=#0000ff]If[/color][/size][size=2][color=#0000ff]Not[/color][/size][size=2] Page.IsPostBack [/size][size=2][color=#0000ff]Then[/color][/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] nCount [/size][size=2][color=#0000ff]As[/color][/size][size=2] Int32 = 108[/size] [size=2]nCount = GetCounterValue()[/size] [size=2]lblTest.Text = nCount.ToString()[/size] [size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]If[/color][/size] [size=2][color=#0000ff]End[/color][/size][size=2][color=#0000ff]Sub[/color][/size] [size=2][color=#0000ff] [/color][/size][size=2][color=#0000ff]Private[/color][/size][size=2][color=#0000ff]Function[/color][/size][size=2] GetCounterValue() [/size][size=2][color=#0000ff]As[/color][/size][size=2] Int32[/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] ctrFile [/size][size=2][color=#0000ff]As[/color][/size][size=2] StreamReader[/size] [size=2][color=#0000ff]Dim[/color][/size][size=2] ctrFileW … | |
I have an ASP.NET web application, written in C# and VB, where the user wants to generate the contents of a web page to Power Point. I can find examples for things like Excel and PDF. I can also find an example for a Windows application with Power Point at … | |
My question is the title, does a datalist have to be databound before it will appear on a webform. Can someone give me tips on this? | |
Hi all, I'm getting this error when I try to link to my SQL database :(. Login failed for user 'test' Reason: Not associated with a trusted SQL Server connection. any ideas what I'm doing wrong? | |
HI! I am currently at the beginning of a new project and I would like to start with something out of the box. As we started our Web project we used IBuySpy Portal and it worked fine because we did not waste our time on authentification, authorisation and all that … | |
Does anyone have knowledge of how to manipulate the IE statusbar using code-behind-forms in .NET 1.1? I can do it via JavaScript on the client side, but I'd rather do it behind the form, or, even better, in an assembly. | |
MEMO To: all of ASP Beginners :p From:Hanqing@beginner Date :June 1, 2004 Subject: how the scripting language is used in interactive Web site design some fundamential theory: Kindly remind:Windows 2000/XP Pro - IIS can be found in 'Add/Remove Programs' in the 'Control Panel'. :o | |
Hi, my asp.net app runs on my laptop but when i put it on my webserver, the aspx pages won't load. I'm a pro VB programmer, both computers are on win2000 pro. it says: error in "/" application. I think the code is ok, no trace or debug problems, so … | |
Hi! I have a litte problem with my CustomValidator. What my CustomValidator should do: The CustomValidator should check if 2 textboxes are empty.. if yes he should diplay a message. This is my code: [CODE] <asp:customvalidator id="CustomValidator1" runat="server" ErrorMessage="Sie m | |
TierDeveloper lets you map your .NET business components against your relational databases, embed complex SQL in them along with your business rules. It generates truly object oriented .NET components in C# and VB.NET. Use these components in COM+ or stand-alone environments and in ASP.NET or Windows Forms applications. Develop apps … | |
How do I install and run a windows application from the web? I want to at the click of a button install a windows application on the local pc and run it. The application itself is going to be using WMI to get info from the PC and send it … | |
Hey all, I just wanna know how to record the time and day a link on my website is clicked to a label, what code do I need to use to get the date and time?. [CODE] [size=2][color=#0000ff]Private[/color][/size][size=2] [/size][size=2][color=#0000ff]Sub[/color][/size][size=2] lnkVac_Click([/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] sender [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.Object, [/size][size=2][color=#0000ff]ByVal[/color][/size][size=2] e [/size][size=2][color=#0000ff]As[/color][/size][size=2] System.EventArgs) [/size][size=2][color=#0000ff]Handles[/color][/size][size=2] lnkVac.Click[/size] [size=2][/size] … | |
We have an really weird problem on our web server. A few times each day, all requests are unanswered for 10 to 30 seconds. The delay looks similar to when a page is compiled (on first load). However, when the problem occurs it looks like all users of all applications/pages … | |
Hi! At first I tell you what I will do: 1. Load data from DB 2. Fill System.Web.UI.WebControls.TextBox with data from DB 3. Than the user can change some data in the System.Web.UI.WebControls.TextBox and now how I can compare what the user change? should I add a new Item to … | |
In ADO and VB6, you can just place some textboxes and ADO Data control and bind those textboxes to the data control and columns. Simple that you can navigate through records easily by just clicking arrow buttons. Ever wondered how to do it with ADO.NET (and dataset)... The following link … | |
This is driving me absolutely insane I swear. Every time I load up visual studio, no matter how I have the windows layed out, it resets to the visual studio default and it's driving me CRAZYYYYYYYY! See. Please help, for the good of the kittens. Slade:rolleyes: | |
Hey, I'm making a website as you all know by the millions of threads I've created, and I have a members area. I will have a datagrid that will display data and an image (chosen by the user). All data is bound to a database stored procedure. I suppose I … | |
[color=navy]I am trying to learn the .net framework and I am stuck on the issue of connecting via Webmatrix to an Win Access database. :cry: [/color] [color=navy]Basically I want the user's input to be entered automatically into the according column in the database. [/color] [color=navy]Furthermore I would like to create … | |
I am doing this in Microsoft Visual Studio.NET as an ASP.Net Web Application. I am new to .NET, and Am trying to learn, I just cant figure this out. <html> <head> <title>Shopping Cart</title> <script runat="server"> Dim objDT As System.Data.DataTable Dim objDR As System.Data.DataRow Private Sub Page_Load(s As Object, e As … | |
Ok guys, here is what the problem is. I have a column "reference number", now I want to make a column for "email" and depending what value is in the ref. No cell, the email will change accordingly, here is an example. If the reference number is "THVP" then I … | |
Hi, I am currently creating a website for my company and I am new to VS .NET programming. I have been using it for about two or three months as a trainee but my supervisor has currently gone away for a project she must complete up there. Anyway, my problem … | |
Respected , How can I install .NET on Win XP I tried for it but getting error that Frontpage Server Extension can not be installed in Component installation. Plz send me solution. Is it necessary to install Win2k service pack 2 for Win XP during .NET installation? Waiting for reply. … | |
hi all, I am a newbie to ASP.Net and IIS. I just installed .net framework 1.1 and it was working just fine. But this morning when I tried opening a .crpoj file, I got this error while the VS.Net was opening and when I selected "OK" ([color=darkorange]The Web server reported … | |
I was wondering if someone could please explain to me what the difference is between visual basic .net and visual studio .net. I have searched endlessly on google, but I just can't seem to find anything helpful. I haven't programmed since I took a couple fortran classes a long time … | |
[font=Arial][size=3][color=black][b]This is something I picked up somewhere ...[/b][/color][/size][/font] [font=Arial][size=5][color=#0000ff]Microsoft .NET FAQ [/color][/size][size=2]When Microsoft formally introduced its .NET strategy in mid-2000, analysts were confused about how the company would pull off such a massive platform shift. Two years later, they're still wondering. But .NET isn't vaporware, and it's not a pipe … | |
Hi, I want to download the code for classmates portal. This portal should contain individual member's homepage where he/she can update his/her page, guestbook.. Thanks in advance Venkat | |
Do to some puter problems, I have had my computer hard drive completely redone. Upon reinstalling my windows 98 and then all the updates, I have been confronted with this update for .net framework. Being computer illiterate I have no idea whether or not I need this download and because … | |
I am dabbling in ASP.NET, and since I have switched to Mozilla Browser I have had coding problems. Partly because I know IE will load and display a page whether there are errors or not sometimes. Anyhow, when I use something simple like this in ASP.NET, it is not displayed … | |
Hi! does the ASP.NET forums support newgroup in the forums? (gateways) like [url]http://www.dbforums.com/f23/[/url] does? when yes, are some forums anywhere only that are newsgroups 'gateways' ???? regards, gicio | |
when I create an ASP web application it saves it in the default location with the default name which is WebApplication1. This now appears in the IIS([url]http://localhost/WebApplication1[/url]) list under web sites->Default web sites. Another folder is also created in mydocuments->visual studio with the same name. I can change any of … | |
Hello, hello! =o] I've programmed a pretty decent script to manage news, users, profiles, and pages for a typical website. This script is loaded with features, and it even comes with a default template! Sadly I just released v1.2 and I'm already working on 1.3, so expect quick updates =o/ … | |
[url]http://www.aspenterprisemanager.com/[/url] <-- This is a great thing if you just have the plain old MSDE with no real Enterprise Manager! | |
The End.