Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF ASP.NET


After FormsAuthentication.signout(), go to login page again  

Hi all,??I have a default.aspx page which is made up of several frames. I am using forms authentication, and when the user signs out, how can I make it so that the frames dissappear, and the login page appears on its own? (currently when the... Continue Reading
Views : 62
Wednesday 2nd of January 2013

Please Help! small changes breaking everything  

ANY Suggestions Welcome!Excuse the amount of text here, I don?t usually include a full page of code to support my questions, but for the last week I've spent 75% of each day trying to fix my ASP.NET app.??This is my first ASP.NET app, and at... Continue Reading
Views : 81
Wednesday 2nd of January 2013

Datagrid sorting not working  

My datagrid sorting feature isn't working. The titles in my datagrid are not underlined for sorting. What am I doing wrong??Here is my code ????Lets give it a try????????Public Sub... Continue Reading
Views : 112
Wednesday 2nd of January 2013

Delete in Datagrid not refreshing on page  

The problem I am having is that whenever I delete an item from my datagrid the datagrid does not refresh itself. I have the delete linkbutton in the last column which is a template column. The page functions appropriately and deletes the record, but... Continue Reading
Views : 100
Wednesday 2nd of January 2013

CSS for Hyperlink column in Datagrid  

Hi,iam using crystal reports with vs.net.in my application iam dynamically generating columns for the datagrid.i want apply style sheet for my hyperlink column in the datagrid.it is taking the default "Blue" color the hyperlink... Continue Reading
Views : 85
Wednesday 2nd of January 2013

DataTable / ListBox problem  

Hey oddball,yes, this is doable. we actually just implemented a screen very much like yours.The first thing I'd suggest: Ditch the datatable on page load. there's no real reason for it. You're better off just taking the selected items... Continue Reading
Views : 91
Wednesday 2nd of January 2013

Datagrids  

If your wanting to only show one record from a database that has many columns can you use a datagrid that will put each column into its own row? How would you do this? Continue Reading
Views : 69
Wednesday 2nd of January 2013

updating using a stored Procedure  

I am trying to use stored procedures for the first time and have created the following script which is giving me an error and I don't know why. Here is my codeSub update_click( s As Object, e As EventArgs )Dim dbconn1 As SqlConnection =... Continue Reading
Views : 71
Wednesday 2nd of January 2013

Save Dataset as session variable or XML file  

I have an app that gets data from SQL Server and displays a crystal report.??I'm filling a Dataset then using it as the datasource for the report.??The SQL stored proc takes up to 60 seconds because it has to go get data from our SAP system. After... Continue Reading
Views : 67
Wednesday 2nd of January 2013

Manipulating XML data.  

K, here's the deal. How do I access parts of an XML file. Where can I go for more info on working with XML files? Here's my XML file:???WED LR 120/220 6x6... Continue Reading
Views : 63
Wednesday 2nd of January 2013

dim a class in inline html  

Hello all. I am currently converting classic asp to asp.net.??I have one of my class modules converted, but I get an error when I try to Dim the class in the .aspx page.??The error is: Type 'clsUser' is not defined.Here's what I'm... Continue Reading
Views : 177
Wednesday 2nd of January 2013

class definition  

Is it possible to define a method or property in a class, but not refer to the class???For Example...--- the class ----------------------Public class MiscFunctions???public function StripFilename(a as string) as... Continue Reading
Views : 73
Wednesday 2nd of January 2013

ASP.NET or ASP for E-Commerce Site  

I am new to ASP.Net. We are tring to build a ecommerce site soon. I would like to have your opinion on choosing which direction we should go for -- ASP or ASP.Net.And If we go for ASP.Net, what skill set do we need to implement it? Is there... Continue Reading
Views : 72
Wednesday 2nd of January 2013

Crystal Reports choks with large amount of data  

We've been struggling to get a solution to this problem for a long time now so any help would be grately appreciated. Here is the problem...Our ASP.Net web application generates reports created using Crystal Reports 8.0. All the reports work fine if... Continue Reading
Views : 88
Wednesday 2nd of January 2013

datalist templates  

I have a datalist that I am trying to have if the value of lastName is equal to zzzzzzzz then the text would be white. Otherwise it is a normal color. This is what I have so far which isn't write. I tried several varations but don't know how to check... Continue Reading
Views : 70
Wednesday 2nd of January 2013

Create reports as .pdf files  

ciao a tutti!for my company i have to solve the problem of creating reports out of a database. the reports should be written into .pdf-files.anyone got an idea (a vb.net class + description) how to handle thizzz?funk ya very... Continue Reading
Views : 82
Wednesday 2nd of January 2013

Problem importing namespaces  

Hello all!when I compile my .vb file(making my own namespace) with the vbc command an error occurs with imports of certain namespaces. These are my namespaces:Imports SystemImports System.DrawingImports... Continue Reading
Views : 69
Wednesday 2nd of January 2013

How to read errors  

How can I tell what database field is causing this error message? I guess I don't know how to read thisDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more... Continue Reading
Views : 85
Wednesday 2nd of January 2013

What is the difference between <%= and <%#   

Hi,What is the difference between Continue Reading
Views : 64
Wednesday 2nd of January 2013

Flushing the response  

HiSay I have this in the page_loadLabel1.text = "Rendered"Dim intI as integerFor intI = 1 to 100??response.write (intI.tostring & "")??system.threading.thread.sleep(1000) 'sleep for 1... Continue Reading
Views : 78
Wednesday 2nd of January 2013

"Quote" headaches  

I have a form that has a small free form text field that needs to be used as a search field.??My problem is that usesr are putting names in like James "Jim" Smith and 5'4" male (no it's not a dating... Continue Reading
Views : 66
Wednesday 2nd of January 2013

Aggravatingly Annoying IDE quirk  

I was hoping that someone out there has had this problem.Whenever I switch from the code view back to the design view in VS.Net I have to wait a couple seconds before I can do anything.??It's almost like the IDE is building the design view... Continue Reading
Views : 78
Wednesday 2nd of January 2013

Using Instr() in ASP.NET  

Hello,I tried to use the instr() function in an aspx page, however I received an error on a pop-up dialog box that reads:An exception 'system.stackoverflowexception' has occurred in... Continue Reading
Views : 90
Wednesday 2nd of January 2013

Integrating Outlook with ASP.NET  

I need to write an ASP.NET application that will integrate with Outlook contacts.??Does anyone know if this can be done and where I could find a good resource on information for doing this? Continue Reading
Views : 77
Wednesday 2nd of January 2013

menu page javascript redirect problems  

Hey guysSome BackgroundI had a simple html page the redirected the main frame to the page that was click on.??My menu however got too big and I changed it to an aspx page.????1. To have rollup and dropdown menu's????2. So that one... Continue Reading
Views : 112
Wednesday 2nd of January 2013

Css after postback  

I'm using a css on my project. I'm linking the css with my aspx with the link tag:Everyting work fine, until the page is posted back. Then, it looses all styles and colors,... Continue Reading
Views : 86
Wednesday 2nd of January 2013

Show image from Access DB with ASP.NET  

Hi!Lets say I want to display a list of movies from an Access DB. On each movie title I want a link to a Note! I want only to have only ONE imagebox which changes to which movie title I press. I want the image to be in... Continue Reading
Views : 242
Wednesday 2nd of January 2013

Automation server can't create object from IIS()  

When I try to create a new ASP.NET project in VS.NET, I get the error message "Automation server can't create object" with an OK button.Here are the files and folders that are created by the time I get the error... Continue Reading
Views : 107
Wednesday 2nd of January 2013

Set Session variable from the frames page  

Maybe I should place this post in HTML forum, but here it goes:My ASPX pages are opened in a frames page. I want to have a url to that frames page (to open from other page or e-mail message) that forces some session variables to have certain... Continue Reading
Views : 62
Wednesday 2nd of January 2013

BackColor and Enabled Properties of Textbox  

I have a dropdown list named "mySelect" that has three items indexed as 0,1,2. I also have a textbox named "myTextBox". I want myTextBox to be disabled and grayed out when mySelect.SelectedIndex=0 I am using the following code-behind... Continue Reading
Views : 60
Wednesday 2nd of January 2013