| Data Type conversion error..... (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Here is my ASP.Net code "If CustomerCMD.Parameters("@Checkout").Value 0 Then" Since I set the option strict on.... It is throwing type missmatch error. @Checkout is a "tinyinteger" in SQL Server. Please advice. Thanks, Smith |
|
| Setting Value of Dropdown List from Array (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am trying to set the value of items in a dropdown list dynamically, and can't seem to figure out how to do it. I have two arrays set up like this: Dim a() as string {"A", "B", "C"} Dim b() as string {"1", "2", "3"} I can get the first array in the items list like this: DrpDwnLst1.Datasource a DrpDwnLst1.Databind() However, I need to also set the values for each item in string a to the values in ... |
|
| required field validator - prevent number and allow space (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have used required field validator with the expression: ^[A Za z]{1,}$ I want to prevent user to enter digit. It works well but there is one problem. If I enter blank (space) between characters like this: "andy eshtry", , it does not work. Please help. Thanks in advance. Andy |
|
| Javascript client-side post and keep viewstates? (4 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I need to do a post on the client side (with an html button) to another aspx URL, while keeping the viewstates. So I made an html button with onClick "location.href 'whatever.aspx?state true'" This works but I lose everything that was in my textboxes and other controls. I think this onClick just does a Get instead of a Post. I'm actually posting to the same page but changing the querystring in ord... |
|
| Christina Aguilera nipple showing (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Christina Aguilera naked V4V7^lu ?$v'kA.""@a28sX J SeGS0/AVR $*uBPt0.iDq EBKD/%LqQblrJrU0! vtv0s/;U7O#:kR4 dj*MBUmJ' U^f9qbRd |
|
| DB caching the html rendered by a .aspx page (11 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, My goal is to take the entire html/javascript stream spat out by .aspx pages and save them as simple strings in a database (for caching purposes). I'm not sure how I can get hold of this html stream, though does anyone have any strategies / code samples to get me going? Thanks, JON |
|
| How to validate input characters encoding (5 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello: How can I validate the character encoding of the textbox in ASP.Net form? For instance, when the user fills out a form, I need to be sure that he is typing in English (I mean uses Latin characters not Russian, Hebrew etc.) Thank you, Peter Afonin |
|
| Major security issue? (6 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have found what I believe to be a serious security issue in ASP.Net. If you have: 1. Your website configured for anonymous access 2. Elect under web.config to set the sessionstate attribute of cookieless to true Anyone from any IP address or across another browser can copy the URL and work within the session. My question is "Why doesn't ASP.Net provide an option around ensuring all requests for ... |
|
| ASP session vs. ASP.NET session (8 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet |
| Is it possible to define a SESSION("userid") in ASP and then retrieve its value from ASP.NET? (Suppose I have an application in both ASP and ASP.NET.) Thanks. |
|
| hyperlinkcolumn (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi. I have a DataGrid with a hyperlinkcolumn, like this: asp:hyperlinkcolumn datanavigateurlfield "prr id" datanavigateurlformatstring "test.aspx?prr id {0}" datatextfield "full name" /asp:hyperlinkcolumn How can I get the value of it's datatextfield (full name) from my code? If I try dataGridItem.Cells(9).Text it just returns an empty string. Thanks Shawn |
|
| ASP.Net DLL Memory behaviour (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi Everybody, I hope that someone can answer this questions for me. When somebody connects to a ASP.Net site, the site's DLL is loaded into memory. When throughout the user's browsing, will the DLL be removed from memory? To make myself clearer, I'll explain what I need. I have developed a site that contains a static class. I use this class as a container for the session information of the user, o... |
|
| IbuySpy trouble! (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| IbuySpy setup program fails to create the store database on my win3k server running sql server 2000 . Can anyone tell me how i can accomplish this task manually? Thanks in advance. |
|
| multipart forms with asp.net (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| What's the most appropriate method for multipart forms? I've found in VS.NET it's pretty simple to put all the parts on one page, rather than use multiple pages. I've separated each of the parts in their own separate table, and just cycled thru each part by manipulating each table's .visible property. However, this seems a little congested, and I'm wondering if there is a more automatic way? Max |
|
| Multiple recordset from a stored procedure (4 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi, using vb.net/sql server 2000 migrating an app from asp to asp.net. I have a stored procedure that returns 3 recordsets. In asp to move to the next recordset I'd just do % set rs rs.nextrecordset ' display data set rs rs.nextrecordset ' display data 'etc Is there an equivalant to this in asp.net? I can get the first recordset fine just don't know how to move to the 2nd and 3rd Cheers, Jon |
|
| css in external stylesheets for aspx pages (4 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I was wondering if there are any pitfalls or issues with using external (linked) style sheets when developing aspx pages. Can you apply css styles to controls (like a datagrid or link button the same way you do for elements in html? Rod |
|
| Navigation is ASP.Net... (4 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am writing a web based application using ASP.Net. As part of the application flow I am calling several web forms and the user can navigate between different forms. Currently I am aware of Server.Transfer(" .aspx") and Response.Redirect(" ..aspx") statements. 1.Is there any other statements that I can use other than these. Is there any other way I can use navigation between web forms? 2. I have a... |
|
| Query returns nothing (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am new to asp.net and having some trouble with a page.. First, here is the code.. The script section goes in the head. The body contains the datagrid line.. script language "vb" runat "server" Sub Page Load(Source as Object, E As EventArgs) Dim myConnection as SqlConnection Dim myCommand as SqlCommand Dim myReader as SqlDataReader Dim sql as String Dim connStr as String sql "SELECT * FROM Shippe... |
|
| Dynamic Tables (2 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I used to develop with Classic ASP. Now I'm learning ASP.NET I used to create tables 'on the fly' using recordsets. My code would loop through the recorset.Fields to make the headers. If I added a field to the table, I didn't have to update my code. I liked the fact that I could test for a field.name to customize a column title if I wanted to. Same goes for the rows, I often inserted something in ... |
|
| Regular Expressions (3 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet |
| I'm tring to figure out the expression to use to search a bunch of documents that contain a word but do not contain a different word. Not having any luck though! Any ideas Thanks for the help Ron Vecchi |
|
| Restoring a calendar date (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi all, I have a calendar webcontrol on one of my forms. I want to be able to restore the date when a user logs back in and goes to the page with the calendar on it. I just get the date out of the database and go (For example) Calendar1.selectedDate "06/06/04" When my page loads the calendar shows the current month (February instead of May) but when I skip through to May, sure enough the 6th of Ma... |
|
| Please Help, NEWBIE, .net, .apsx, access external site messes up data access when using firewall (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| This is a strange problem. I have a website that uses .aspx and c sharp, it requires a login via a form, if I access this form remotely over the internet and supply it with my credientials everything works fine, if I access it in the exact same manner however using my linksys router then I' m unable to login. it seems to hang upon verifiying my creditials up against the sql database which I access... |
|
| XHTML Complaint? (8 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Is there anything that can make it easier for an asp.net developer create a XHTML complaint page? Thanks, Harold |
|
| Unable to locate IIS 6.0 (5 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Where can I locate and download IIS 6.0 |
|
| WebConfig (3 replies) |
| microsoft.public.dotnet.framework.aspnet |
| I am trying to figure out how to "deal" with placing the connection string into the webconfig file when the connection string contains " and '. Here is my connection string... // value "Provider Microsoft.Jet.OLEDB.4.0;Password """";User ID Admin;Data Source F:\Jim\My Documents\Clients\Cleveland Skating\Database \SkatingResults.mdb;Mode Share Deny None;Extended Properties "";Jet OLEDB:System datab... |
|
| How do I set an object Reference? (4 replies) |
| microsoft.public.dotnet.framework.aspnet |
| Dim order type As DropDownList (CType(e.Item.FindControl("order type"), DropDownList)) This control is in a datalist itemtemplate. It will not find it. Whenever I try and do anything further with this, it says: Object reference not set to an instance of an object. My guess is that that means it cannot find the control on the form. Thank you for help. If I change it to this: Dim test As dropdownlis... |
|