Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF ASP.NET


Path to Image Files  

I created a Folder within my project called images. when inserting images into my ASP app i set the image url = images/image.gifall of them show up except for the company logo I am trying to add. it's just a gif file like the... Continue Reading
Views : 43
Wednesday 2nd of January 2013

Form Processing Help Needed  

Hi, I am just starting asp.net and have a question about forms. At the moment I have a page which starts off showing one drop down menu. The user selects one of the three values and immediately a new drop down menu is shown below (using a... Continue Reading
Views : 48
Wednesday 2nd of January 2013

Web Services and Oracle permissions  

Hello!First off, we are new to .NET, Oracle, and Web Services.??We are trying to write a simple web service that will connect to an Oracle database, execute a query, and return the data in a record set.??The web service works fine in a VB app... Continue Reading
Views : 52
Wednesday 2nd of January 2013

Placeholder Problems  

Hi, I am building a form which will load each element dynamically into placeholders. However I am having trouble finding out how to collect the values once the form has been posted. I am building a dropdownlist from some data and binding it to my... Continue Reading
Views : 69
Wednesday 2nd of January 2013

Need to click twice(!) for LinkButton  

I have a table in which the first column is that of LinkButtons.??The problem is that when the user clicks on one of the LinkButtons, it makes that little "postback click", but that's it.??It's only on the *second* click it actually... Continue Reading
Views : 73
Wednesday 2nd of January 2013

New browser window using VB  

Hi all,I need a new browser window to be opened to a give URL from VB code. How can I do this?I know how to do it in javascript, but i need variables and functions from .NET to specify the acual URL, so I need the VB equivalent of... Continue Reading
Views : 51
Wednesday 2nd of January 2013

Linking a checkbox choice w/ filling a listbox  

I have two checkboxes.??Depending on which one I check, a listbox will be filled with the appropriate data.??I haven't been able to get it to work with the code I have, which is as follows:.aspx file Continue Reading
Views : 83
Wednesday 2nd of January 2013

Server Error in '/' Application  

Hi guys,I'm trying to run my first ASP.Net app, but I'm getting this error. Is wrotten in the page that opens that a shoul set the value CustomerErrors tag property called mode to Off to see the details of the error. I 've done it, but... Continue Reading
Views : 56
Wednesday 2nd of January 2013

Finding an Index in ListItemCollection  

The .IndexOf method of a ListItemCollection uses a ListItem as it's search criteria. I have a String that is equal to a value in the Collection, but I need to find it's index in the Collection to set that collection to it.How can I use a... Continue Reading
Views : 49
Wednesday 2nd of January 2013

Validate DateTime HourMinute  

\d{2}/\d{2}/\d{2,4} \d{2}:d{2} checks that the date entered in a textbox is in format mm/dd/yy hh:mm or mm/dd/yyyy hh:mmHow can I check for:Months between 1-12Days between 1-31Hours between 0-23Minutes between... Continue Reading
Views : 45
Wednesday 2nd of January 2013

Public Variables  

Is there an easier way to do this. Right now I have several public Variables at the top of my codebehind file which I change the value of the variable in different subs. When I change the values in those variables in a sub they do not appeared... Continue Reading
Views : 59
Wednesday 2nd of January 2013

web hosting  

Can someone tell me a good cheap place to host a website that has SQL Server and has ASP.NET Continue Reading
Views : 44
Wednesday 2nd of January 2013

ASP.NET Web Application with C++ ToolKit  

Hi there...??I have a question. Here''s the intention of my project. ASP.NET web application, with code-behind option selected as VB.NET for the VS.NET project on WinXP OS. I''ve found a C++ toolkit with test applications, which I want to... Continue Reading
Views : 49
Wednesday 2nd of January 2013

Existing rows from dataGrid  

I am using a dataset to populate a grid.??Then using some client side javascript I decide what is the maximum # of rows that can be added to a grid.I declare a global javascript variable 'cnt' and initialize it to 0.??Say the max rows that... Continue Reading
Views : 57
Wednesday 2nd of January 2013

Insert picture into Excel  

I have code that converts a datatable into an excel file.??However, I would like to insert a picture in one of the cells.??Deos anyone know how to do this? Continue Reading
Views : 68
Wednesday 2nd of January 2013

Form stopped writing to DB after move from internal to external server  

I have an ASP.net web form writing to a SQL Database. It is a basic form with checkboxes, option buttons, and textboxes.??It worked perfectly when located on our internal server. We moved both form and DB to our external web server for unrestricted... Continue Reading
Views : 44
Wednesday 2nd of January 2013

Getting Started with .Net  

I'm very green with .Net experience, so please excuse any stupidity!I have been an ASP developer for the past 5 years.??Our company is switching focus to .Net development but none of us have been able to get a new project started on our web... Continue Reading
Views : 41
Wednesday 2nd of January 2013

Visual Studio .net and sharing projects  

My colleague and I have visual studio .net. He has saved a project on our share. However, when I load the project I can't access any of the files as they are pointing to (what I assume is his) local drive. How do we make sure changes to the... Continue Reading
Views : 42
Wednesday 2nd of January 2013

Deploy and updates...  

Hi,I have a question about deployment and updates.??I have a ASP.NET Web application that uses a businessObjects.dll assembly (referenced assembly/project in Visual Studio .NET), I deployed my application to my testserver.??My... Continue Reading
Views : 31
Wednesday 2nd of January 2013

Adding totalst to a Datagrid  

Any one know how to add totals to the bottom of a DataGrid?I have built a datagrid with amounts in different columns, but I need to total them at the bottom of the grid. Any ideas would be very much appreciated. Continue Reading
Views : 35
Wednesday 2nd of January 2013

Refresh page containing datagrid  

Hi all!Sorry for the 2 posts. Forgot the subject in the previous one.I have a page on which there?s a datagrid. One of the columns is a template column whose ItemTemplate is an ?Image? control. Users can click a row which redirects... Continue Reading
Views : 57
Wednesday 2nd of January 2013

Error converting string to int  

Hi, I'm trying to convert the value of a selected item in a dropdown list from a string to an integer.??All the values are numbers but i get errors when trying to convert them into int data types.I have tried the following... Continue Reading
Views : 51
Wednesday 2nd of January 2013

Visual Studio .Net can't even load a file help please  

When I try opening my aspx file that is meant to be the start page I get the following error. "The file failed to load in the Web Form designer. Please correct the following error, then load it again: The language for this file does not... Continue Reading
Views : 87
Wednesday 2nd of January 2013

Updateable query problem  

Hi,I have an asp.net application that reports the "updateable query" error when I try to write something to the database. The permissions should be ok, but the error keeps coming back. When I tried to move the .mdb file to another folder, I... Continue Reading
Views : 52
Wednesday 2nd of January 2013

Skip Validation....  

I am trying to get some reuse out of a window. If in the querystring I pass a task_no the page runs using that task_no (executing stored procedures etc) ... the task no being shown as a label on the webform.if the task_no is not included... I... Continue Reading
Views : 66
Wednesday 2nd of January 2013

Executing a statement only if the query returns a value  

I'm using ASP.NET with C#.??I have a large query returning some rows, and I have no problems except that I have these types of statements that will get executed no matter what:if (Contact["street1"] != "") {strContacts +=... Continue Reading
Views : 69
Wednesday 2nd of January 2013

Sessions - Does it use lots of server resources  

Hi:If I use Sessions to pass info between ASP pages instead of Query Strings - do I have to be concern on the amount of server resources it can use.Or is it so miniscule that it does not really... Continue Reading
Views : 47
Wednesday 2nd of January 2013

VS using less attributes  

I recently converted a .NET project form web matrix to visual studio... since i've done so it complains about a lot of the attributes that I've set for controls/html tags that worked fine for web matrix.??things like size, scrollbar(for multiline)... Continue Reading
Views : 76
Wednesday 2nd of January 2013

.NET framework does not work  

Hello all,I installed the .NET framework on my server and I cannot seem to run any .net files (.aspx for example) remotely.??I can see the webpages locally, however, everytime I open it in a browser outside of the server, I receive the following... Continue Reading
Views : 38
Wednesday 2nd of January 2013

Advice on form submission  

HiScenario: Inputing new addresses Using classic ASP i would typically write one page that gathered the address information then i would submit that information to another form which then inserts the information into the DB.Ok... Continue Reading
Views : 69
Wednesday 2nd of January 2013