Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > february 2005 > threads for tuesday february 15

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

HELP... Advanced Form... Need Guru
Posted by Tim::.. at 2/15/2005 11:47:03 PM
I have asked this question several times and can't seem to get the answer I am looking for! I am trying to create a form that responds dynamically to the users choises within the page. At the moment I have a dropdownlist that has the values 1-10 in it. What I want to happen is that when the...more >>


DataBound DataList showing the correct number of empty elements!
Posted by Luis Ferrao at 2/15/2005 11:42:39 PM
Hi, i'm experiencing strange problems with the datalist webcontrol. I have it bound to a datatable like this: Me.TreeNodeList.DataSource = _existingNodesTable Me.TreeNodeList.DataBind() which does contain the elements i want to display. The problem is that the final output looks like this...more >>

DataGrid with Dropdown list
Posted by vijay_kerji NO[at]SPAM yahoo.com at 2/15/2005 11:21:38 PM
Hi, I have a datagrid with dropdown list and Remove hyperlink in it as columns. When I remove a row from the datagrid, Dropdown list selection is retaining its previous value. i.e, removed Dropdown item selection is applied to the next dropdown list. Is there any way to fix this problem? ...more >>

Replace funstion in C# Question
Posted by Patrick Olurotimi Ige at 2/15/2005 10:52:36 PM
I'm trying to use Replace function in C# but it seems i can't use it!!!!!!! I can use it in VB.NET below strLogonUsr = Replace(User.Identity.Name,"JOHNS\","") Does anybody knows how i can do this in C#? Thx *** Sent via Developersdex http://www.developersdex.com *** Don't just participate i...more >>

Problem with code behind
Posted by Wernfried Schwenkner at 2/15/2005 10:33:18 PM
In a page I have a button. On the code behind in the click event I wan't to fill a data table of the sql server. Therefor I have place a SqlDataSource on the page in the designer, configured all the connections and got the <asp:SqlDataSource>, it's commands and the <UpdateParameter> for the...more >>

DataGrid question
Posted by Sandy at 2/15/2005 10:31:02 PM
If I have two tables i.e. Authors and Titles from Pubs, and I want to display the Authors name and then all titles by a particular author in a DataGrid, how would I do that? Is there a way to display parent/child relationships in the same datagrid? eg. Author 1 Title 1 ...more >>

natsy problem with datagrid, paging and filters
Posted by branton ellerbee at 2/15/2005 9:57:40 PM
Has anyone had this problem: you are using a datagrid that is populated by a filter. Let say for arguments sake, it is a list of clients. And you narrow the list with the alphabet using a dropdown or textbox. Either one makes no difference in this case. So, you have a dropdown and you j...more >>

How can I debug javascript ?
Posted by Alex Nitulescu at 2/15/2005 9:57:20 PM
I have the option 'Just in time debugging' set as CLR/Native/Script. In Project Properties/Debuggers I have ASP.NET debugging. Still, although I have breakpoints set everywhere in my javascript, , inluding on "function Init()", the execution it never stops anywhere, and I have NO idea of wh...more >>



WebServer "Behavior" question
Posted by Alex Nitulescu at 2/15/2005 9:31:10 PM
Hi. I have the following HTML (snip): _____________________________________________ <body MS_POSITIONING="GridLayout" onload="Init()"> <form id="frmWebServerAdvanced_1Test" method="post" runat="server"> <div id="service" style="behavior:url(webservice.htc)" onresult="Service_Result()"></div...more >>

System crash on starting ASP .NET web application
Posted by satish.kishenchand NO[at]SPAM gmail.com at 2/15/2005 9:03:27 PM
Hi, I am just starting to learn ASP .NET programming and have been having a weird problem. When I run any ASP .NET program from Visual Studio 2003 my machine crashes. I am forced to do a manual restart of my machine because nothing responds. The machine appears to responding in the beginnin...more >>

Server Transfer
Posted by Sparky Arbuckle at 2/15/2005 8:38:16 PM
I want to transfer to a search page from my default page to SearchResults.aspx and I want to pass a variable named strSearch. So far I have: Dim strSearch as string strSearch = tbSearch.text Server.Transfer("SearchBrowse.aspx?strSearch=" & strSearch ") It is throwing this error: Compi...more >>

What's the easiest way to secure a page?
Posted by Alan Silver at 2/15/2005 8:00:14 PM
Hello, I have a page on a site that I only want the site owner to be able to access. At the moment, this page is in a directory of its own. What's the easiest/best way to make sure that only the site owner (who will be given a user name and password) can access the page? Please explain ...more >>

What is wrong with this rowfilter statement?
Posted by Mark Sandfox at 2/15/2005 7:40:38 PM
dvPOIs.RowFilter = "(County='" & ddlCountyRegion.SelectedItem.Text & "' OR Region='" & ddlCountyRegion.SelectedItem.Text & "')" The objective is to allow the user to chose from one dropdownlist either a county or region, then use rowfilter to display only the rows that have either the count...more >>

Performance of CollectionBase class
Posted by Vadivel Kumar at 2/15/2005 7:00:35 PM
Hi Guys, I have a doubt which is little bit conceptual rather than a coding convention. I have a a table called products in which I have 40000 and odd products which is expected to be frequently accessed by the website. I'm having doubt in how fast i can serve this product details to th...more >>

Stumped on basic forms login?
Posted by IronYuppie at 2/15/2005 6:39:02 PM
This seems to be so straightforward, but I keep having the following issue. I'm trying to make a login and create user page, but everytime i click through the CreateNewUser url, it brings me back to the login page. Any ideas? Here's the login page: Default.aspx: <form id="form1" runat...more >>

how can I add hyperlink to button?
Posted by MichaelCaditz at 2/15/2005 6:39:01 PM
I want a link button to perform two functions: 1. log off form authenticated user 2. navigate to another page In the click event, I accomplished #1 with: System.Web.Security.FormsAuthentication.SignOut(). What is code for the navigation? Thanks....more >>

Mailing system
Posted by John at 2/15/2005 6:31:02 PM
Hi Here is an asp mailing system to send html flyers via email; http://www.webwizguide.info/asp/sample_scripts/software_downloader.asp. Are there any around for asp.net? Thanks Regards ...more >>

Force File to Download
Posted by Albano Alves at 2/15/2005 6:19:45 PM
Hi! How can I force the file download, for example a .doc? I don't want to open with IE. Thanks. Albano Alves ...more >>

Error: specified cast is not valid. Why not?
Posted by Alan Silver at 2/15/2005 6:11:46 PM
Hello, I have an ASP.NET page where I am grabbing an SqlDataReader and using it to populate some controls on the form. Amongst the fields pulled out of the table are two integer fields, which I am trying to cast as strings so they can be displayed in a Literal control. I am using the follow...more >>

How do I allow HTML in just one textbox?
Posted by Alan Silver at 2/15/2005 6:02:17 PM
Hello, I am writing a web form where the user is allowed to enter HTML into one of the textboxes. This of course generates the "potentially dangerous" server error. Now I know I can switch off the validation for the page by using the validateRequest page directive, but this switches it o...more >>

Problem with a DropDown
Posted by Edgardo Rossetto at 2/15/2005 5:47:57 PM
Hi, I got this problem and I can't find a way to fix it. I have a user control, with 2 dropdows, some other textbox and a button, one dropdown has autopostback on, this one is populated when the page is loaded, the other, is populated according to the selection of the first dropdown, so, my...more >>

What's wrong with this code? Trying to grab a DataReader
Posted by Alan Silver at 2/15/2005 5:44:46 PM
hello, I am writing my first real ASP.NET application, but am getting a bit confused with ADO.NEt and the best way to use it. My old method (with Classic ASP) was to have a function that you called like ... Set rsSomething = GrabRS("select * from mytable") The function would open a con...more >>

could not load type "namespace.classname"
Posted by Andy Sutorius at 2/15/2005 5:42:40 PM
Hi, I have a folder with a web.config file using forms authentication thus requiring that folder to be an IIS application. When I attempt to visit a webpage in that folder, default.aspx, I receive the error: could not load type "namespace.classname" I found MS KB #306155 and followed the re...more >>

help required for solving the error for file uploading in asp.net
Posted by msnews.microsoft.com at 2/15/2005 5:24:31 PM
Hi Every body, I am facing the problem, while uploading the file on the server. The Erro is "Access to the path "file path" is denied." this error become when i am going to upload the file. I already have given the permission to ASPNET user on that directory. I...more >>

IIS Application Required?
Posted by Andy Sutorius at 2/15/2005 5:21:17 PM
Hi, Do you always have to make a folder an application if you have a web.config in that folder? Thanks, Andy ...more >>

Data Grid - Update Columns
Posted by Ryan Ternier at 2/15/2005 5:07:41 PM
I'm playing around with DataGrids and the Edit columns ability. I have a text area that can be anywhere from 1-8000 characters. When I add the edit capabilities to this DataGrid it displays a single line TextBox. Is there anyway of getting this textbox to be multi line, and only 450 chara...more >>

W3WP process size
Posted by MattC at 2/15/2005 4:54:28 PM
I have an ASP.NET app that is running at around 60MB for the w3wp.exe. This often jumps very quickly to 100/120 MB before shrinking again. It is also using around 250MB of virtual memory. Is it normal for the memory usage to jump around so much? Also the server is a PIII 730 with 256MB R...more >>

scheduling IIS to restart....
Posted by allen Key at 2/15/2005 4:48:15 PM
Is there any option in Windows 200 Server to schedule the IIS service to stop and start. If there is no inbuild feauture of windows 2000, is there any 3rd party tool? Thanks, AK ...more >>

validation expression
Posted by Andy G at 2/15/2005 4:30:20 PM
I need some quick help on regular expressions. 1. I have a text box that the user CANNOT enter a hyphen. How can I check this textbox using a regular expression to tell the user they cannot enter a hyphen. 2. I have another text box that the user needs to enter an email address that cont...more >>

disabling viewstate on datagrid
Posted by sonic at 2/15/2005 4:15:31 PM
Hi, I am experimenting with different viewstate management ideas for large datagrids, and found a microsoft suggestion to turn it off, and only store relevant information by manually accessing viewstate. as per some helpful suggestins in MSDN "Common DataGrid Mistakes" http://msdn.microsoft.com...more >>

Use Repeater or DataList?
Posted by Scott at 2/15/2005 3:47:02 PM
I'm trying to display a table of my company's departments in a 3 column format with alternating row colors. The department names are being pulled from a database in alphabetical order. I want to order the depts in alphabetical order going from left to right in columns of 3 like: DeptA Dept...more >>

Asp.net form submit action question
Posted by TheOne at 2/15/2005 3:44:02 PM
In Asp.net web form under form tag there is action field that I am point to some other page, and not to same web form. When I run this page it is always pointing to itself. How do I get around this? Here is HTML code from webform.. Thanks, Sinisa <%@ Page Language="vb" AutoEventWireup...more >>

Visual Basic v6
Posted by GaryMan at 2/15/2005 3:34:10 PM
Yes I know I am using antiquated software but time contraints and $$ disallow me from "doing the right thing". I am a bit of a beginner here but need to know a few things and will start with this. I need to get a value into a variable that is in a variable. Does this make sense? I hav...more >>

DataGrid.FindControl() returns nothing
Posted by MattB at 2/15/2005 3:32:55 PM
I've got some controls (mostly textboxes for now) that get created at runtime in a DataGrid. I create them using the OnItemDataBound event. I realize this isn't ideal, but I'm trying to see if I can make this work anyway. In a button click event I loop through the dataset the datagrid is bo...more >>

C# sqlparameter type length ?
Posted by hoz at 2/15/2005 3:30:26 PM
Hi , i have a complex ideas about sqlparameter lenght . lets say i have the following code mycom.Parameters.Add("@sip",SqlDbType.NVarChar); mycom.Parameters["@sip"].Value = siparisid ; in the stored procedure : create proc SP @kid int , @sip nvarchar(50) as .... as you have seen , i d...more >>

Question about postback
Posted by SK at 2/15/2005 3:26:17 PM
Hello, I have a datagrid, textbox and a button in my page. The datagtrid has sorting enabled. But, I am not doing any sorting. Its just for test purpose. Now the user enteres some text in the textbox and presses the button and it response.writes the value of it. Now when I do a sort...more >>

parser error, incorrect function
Posted by murphy NO[at]SPAM murphysw.com at 2/15/2005 3:03:56 PM
Hi, I've been seeing two symptoms with my asp.net site that have started recently after a long period of smooth running. As others on our team make changes to referenced dll's I find that I get the following errors from time to time. Apparently the following procedure alleviates the pr...more >>

Giving Focus on PostBack
Posted by tshad at 2/15/2005 2:36:15 PM
I have a page where I give focus to the first textbox on my page: <body onLoad="document.forms[0].firstName.focus();"> I also go and check the status of some data when I exit the 3rd textbox on my screen. The problem is that the screen jumps back to the first textbox because of the onLo...more >>

multi line text box max length
Posted by Kieran Breen at 2/15/2005 2:22:48 PM
Hiya, I was just wondering if anyone knows how to impose a maximum length on a muti line text box in asp.net. There is a parameter for this but even when its set it dosent seem to make any difference. Thanks in advance, Kieran. ...more >>

Performance-related questions about an ASP.NET page...
Posted by Sammy at 2/15/2005 2:19:55 PM
1- Is it better to use TABLEs or DIVs in an HTML/ASP.NET page? Why? 2- Is it better to form your response (HTML page) result from your ASP.NET page mostly using server side controls, or HTML controls. For example, if you want to display the word "Welcome" is it better to use an asp:label cont...more >>

Setting Maxlength on a MultiLine Textbox
Posted by Craig G at 2/15/2005 1:51:08 PM
how do you do it? i understand the maxlength property has no effect but is there a way around it? ...more >>

ASP.Net hell -> HttpContext.Items
Posted by Keith Patrick at 2/15/2005 1:49:50 PM
After completely giving up on finding some way in my ASP.Net app to take a query string URL and redirect to it as a POST instead, I went with a system like so: Upon "redirection," all the QueryString pairs are placed in HttpContext.Current.Items and retrieved with a wrapper for Request.Params...more >>

Dataset overhead
Posted by M D at 2/15/2005 1:32:52 PM
I was trying to get a feel of how much faster it might be to use a dataset rather than writing a new working table in SQL Server. The event log reports: "aspnet_wp.exe (PID: 2284) was recycled because memory consumption exceeded the 143 MB (60 percent of available RAM)." (This is just localh...more >>

Passing value between pages
Posted by gkr at 2/15/2005 1:31:14 PM
Hi I would like to pass values/data from Page1 to Page 2, then capture values on page 2 and return back to Page 1 with the values from page2. Can you pls guide me on how to do this ? I tried Server.transfer to pass values from Page1 to Page2, but from page2 am unable to return to Page 1 ...more >>

Back button issue
Posted by Shimon Sim at 2/15/2005 1:31:11 PM
Hi, Every time I write ASP.NET application I have the same problem - Back button on the browser is my enemy. I have to tell client avoid using "Back" button and if you use it make sure to refresh the page to latest information. I decided to pay information to application on the web and I see...more >>

Session data lost
Posted by Aamir Mahmood at 2/15/2005 12:51:05 PM
hi, my session is losing data randomly. when i try to debug the application the console window in VS2003 shows the following error on random requests. ---------------- An unhandled exception of type 'System.Threading.ThreadAbortException' occurred in Unknown Module. Additional information...more >>

.NET Certificatrion?
Posted by Lars Netzel at 2/15/2005 12:44:22 PM
Hi! I wonder what Certificate you can get from Microsoft in Asp:Net or mayeb it's VB.NET as well... where can I read more about this? /Lars ...more >>

treeview database
Posted by Hutty at 2/15/2005 12:29:11 PM
I have a table that has two columns, Parent and Child. I'm able to populate a IEControls treeview with the Parent column. On the same row as the Parent is the child in the Child colum. How do add the subnodes from the Child column? Here's what I have so far. Thanks in advance. Private ...more >>

Listbox inside a DataGrid
Posted by Raja at 2/15/2005 11:49:01 AM
I have a simple question, I have a datagrid and inside the grid, i have List box. I am able to render the page with the datagrid and the lisbox values. Now, my question is how to trap the server side SelectedIndexChanged event of the listbox. Any help in VB.NET would be greatly appreciated...more >>

Adding Web.Config file broke my website!
Posted by Anna at 2/15/2005 11:48:45 AM
I added a small Web.Config file to the root of my website so that I could view errors on a machine other than the server: <configuration> <system.web> <customErrors mode="Off" /> </system.web> </configuration> However, this immediately threw a different error when I tried to view ...more >>

Using two frames in one page..
Posted by Irfan Akram at 2/15/2005 11:37:06 AM
Hey guys, Just wondered how we can divide the page in two sections, and use one section to load a jpeg image, and the other section to add some other controls to manipulate the jpeg. Useful feedback will be appreciated. Thanks, I.A...more >>

Hyperlink Web Control
Posted by hecsan07 at 2/15/2005 11:15:13 AM
Hello When the user clicks on a hyperlink I want to cause something to happen before the user is actually redirected to the page specified in the navigateUrl proerty of the hyperlink. How do I do this? Can someone help me with some code? HS...more >>

Patterns for outlook like ASP.NET application?
Posted by Julia at 2/15/2005 10:56:19 AM
Hi, I am looking for advices,articles and samples We are going to develop an ASP,NET application for our customer and we are looking for patterns for ASP.NET application which allow us to quickly add or remove pages according to customers request our user interface is similar to ou...more >>

Binding a dynamic textbox to DataRow.Item(1) value
Posted by Ali M at 2/15/2005 10:50:14 AM
Hi, I am creating a TextBox dynamically at runtime within a Panel, and I want to bind its Text property to a DataColumn in a DataRow. What is the correct method for doing this... The following code does not populate the textbox at all... Thanks in advance... Ali Public Class Test9 ...more >>

LinkButtons...please help..
Posted by Irfan Akram at 2/15/2005 10:49:14 AM
Hi Guys, How different is a linkbutton control from a Button control. I have written the followiiing code on click of a link button control, but it doesnt seem to respond to that code, i.e nothing happens. Please help.. Thanks, I.A //Check which user is logged in OdbcConnection m...more >>

Creating XML files using a given Schmea
Posted by Sindarian at 2/15/2005 10:45:02 AM
I have a Schema from the folk that shows how they want the data received. I have my own database that has that data, but in a different way (they use 33 freaking tables to store what I do in 1). Now then, do I: a) Create a data source that jives with their schema (say, a number of views or st...more >>

datagrid not visible when databind() on editcommand
Posted by jacobryce at 2/15/2005 10:09:05 AM
j9 (Programmer) Feb 15, 2005 I have a datagrid with an arraylist as the datasource. I added an Edit, Update, Cancel button column and coded the EditCommand event handler. When I click on the Edit button, the datagrid disappears. Have I lost my datasource during postbacks or something? He...more >>

FileNotFoundException ParserCacheItem GetParserCacheItem
Posted by Chris Aitchison at 2/15/2005 10:07:03 AM
I Keep on getting this error on a production server, but never seem to manage reproducing it on any test environment. I just can't get my head around it, any ideas? Inner Exception --------------- Type : System.IO.FileNotFoundException, mscorlib, Version=1.0.5000.0, Culture=neutral, Pu...more >>

using the same .dll file in both asp and asp.net
Posted by Nita Raju at 2/15/2005 10:02:18 AM
Hello, I have a COM component. I am using this component in asp pages. I want to use this in asp.net(vb.net) project too. The asp code exists in the sub directory of the asp.net project. If i add the com component in the reference to this (asp.net) project then can i use the same for the ...more >>

Parent Child Windows
Posted by chuckdfoster at 2/15/2005 9:46:52 AM
I have 2 windows (MainPage.aspx and PopUp.aspx) and both have a textbox. I need the user to hit a button on the MainPage and the PopUp will show. Then I need the user to enter information in a textbox on the PopUp. Then when they hit the Submit button, the MainPage has a textbox that should be...more >>

Problems whit JavaScript
Posted by VKTOP at 2/15/2005 9:41:46 AM
Hi friends! I have a problem i have a textbox in aspx webform: in the load event : txtNombre.Attributes.Add("onblur", "CambiarMayusculas(' txtNombre')") i have a javascript function : function CambiarMayusculas(elemento1) {var elem=document.getElementById(elemento1); if (elem.value!="...more >>

post compilation script
Posted by Loui Mercieca at 2/15/2005 9:40:39 AM
I want to write a script to be executed whenever i build my web application in 'release' mode. What it does is that it gets the newly generated dll and places it in another folder. I tried to use the build events, but they are only present in a normal windows application. Why is this not prese...more >>

Unicode/UTF-8 Encoding and ASP.NET Output
Posted by Alex Maghen at 2/15/2005 9:15:15 AM
I have a site which outputs English and Hebrew and Farsi all in the same pages. The framework of the pages is in English, but Right-to-Left Hebrew and Farsi are also displayed. My actual .aspx pages are saved as Unicode files. My Web.config file's "globalization" section looks like: <g...more >>

Datatable retrieving Null values - I'm stuck !
Posted by Stuart at 2/15/2005 8:43:11 AM
Hi there I have a stored procedure on my SQL database that retrieves a wide range of values from about 5 different tables. My end point is to calculate the cost against each line of retrieved data. Depending upon the contents of a particular field that cost calculation changes.... I retr...more >>

Iframe - Browser Support
Posted by Sandy at 2/15/2005 8:27:05 AM
Anyone know what browsers support Iframe? Are there any known bugs with using Iframe? -- Sandy...more >>

Formatting Repeater oontrol output
Posted by Pitcairnia at 2/15/2005 8:21:04 AM
We have been using a repeater to spit out images to a page and our seperator is simply a non-breaking space. This is the style we need because it adjusts nicely for the users resolution and width of their browser window. Heres the basic code <asp:Repeater id="Repeater1" runat="server"> ...more >>

Button click not working
Posted by Charlie J at 2/15/2005 7:51:02 AM
I have developed a website with several (30) pages that works just fine on my development machine (XP Pro SP2). When I move the site to the server (W2K3) I have 7 pages where a mouse click on a button does nothing. All of the other pages work as expected. I can locate nothing that is differ...more >>

Image not displaying
Posted by pmud at 2/15/2005 7:45:01 AM
Hi, I have an image which resides on a different server...on data server. I am developing on Development server. When I use the image URLin my ASP.Net web page as xxx.xxx.x.xx\\SHARE\GRAPHICS\image.jpg , that image shows up in the development server but when I use my local machine for vew...more >>

Complex form problem!!!
Posted by Tim::.. at 2/15/2005 7:35:05 AM
Can someone please tell me how I add multiple instances of a user control into a form! Say I have a drop down list and a user chooses the value 3 from the dropdownlist. I want the user control to be addred into a form 3 times! The problem is all the input fields need to have unique name...more >>

Does field exist???
Posted by DaveF at 2/15/2005 7:35:04 AM
Is there anyway to check a dataset to see if a field exists? foreach(DataRow row in ds.Tables[0].Rows) { if(row["fldname1"].ToString() == null) ******************This does not work??????????????????????? { cbFields.Items.Add (new ListItem(row["fldname"].ToString(), row["fldtext"].ToString...more >>

Error inserting a field in sql
Posted by Ricardo Luceac at 2/15/2005 7:32:42 AM
HI... I have a web page that pass aa context to another.. The second page receives the context and need to put the value of the context into a sql table.. The value is passing ok, 'cause i have a label that print the value, and it's alright... I pass the context value to a variable and...more >>

Deploy asp.net using xcopy...access denied?
Posted by Dave at 2/15/2005 7:29:03 AM
Hi, I'm trying to use xcopy to deploy my application to a mapped drive. I can access the drive ("J:") through Windows Explorer and drag/drop the files but I wanted to use XCOPY to make it faster since I only want to copy certain files. I tried <sourcedirectory:>xcopy j: /s /z /u I th...more >>

Import CSV from aspx
Posted by pmclinn at 2/15/2005 7:25:50 AM
A while back I wrote a .net application that imports data from .csv files. The file was written as a vb.net form project. Users use a file dialog box to select the file to import, and the file is parsed and then inserted into a database. Now I want to transition this form program to the web(int...more >>

Show datalist items
Posted by Filip De Backer at 2/15/2005 6:29:02 AM
Hi, I've got a datalist with 5 labels and 5 textboxes. I get data from a database and fill in the textboxes. When there is no data I want to check on it and make the labels invisible or something like that. I want this because I want a compact list, so the labels aren't show when there is ...more >>

POSTing using httpwebrequest
Posted by Pazza at 2/15/2005 5:27:01 AM
Hi, Is there a way to cause the form submit button click event handler to fire when posting to a aspx page using httpwebrequest. In my tests the load event fires but not by button click event. I am hoping to use this technique for a screen scraper but if I can't get the submit buttons cl...more >>

Can I make this Stored Proc more efficient?
Posted by Roy at 2/15/2005 5:17:44 AM
Hey all, I'm a relative newcomer to asp.net and have 2 simple code snippets below. Everything works fine, I'm just curious if there is a more efficient way to do the job as the update takes quite a while. Here's the proc: **************************************** CREATE PROCEDURE [Update_Unass...more >>

Custom Validator
Posted by deepsmehta NO[at]SPAM gmail.com at 2/15/2005 4:32:46 AM
I m a newbie to ASP.net I wanna allow user to input only A-Z,a-z,0-9 and a dot(.). So what should i do...I wanna know how custom validator works...plz help..thanks.....more >>

Problems with WebServer Behavior !
Posted by Alex Nitulescu at 2/15/2005 3:25:05 AM
Hi. I have the following HTML (snip): _____________________________________________ <body MS_POSITIONING="GridLayout" onload="Init()"> <form id="frmWebServerAdvanced_1Test" method="post" runat="server"> <div id="service" style="behavior:url(webservice.htc)" onresult="Service_Result()"></...more >>

Dynamic Form Problem!
Posted by Tim::.. at 2/15/2005 2:49:15 AM
Can someone please tell me how I progromatically repeat the following html in a webform according to a selection made from a dropdownlist. EG: If i choose the value 2 from a dropdownlist it creates 2 of the following code snippets! Thanks <table cellSpacing="0" cellPadding="0" width="...more >>

regular expression to ignore carriage return
Posted by David Cho at 2/15/2005 1:57:32 AM
I am using this expression \d+(,\s*\d+)* to allow only numbers and commas. But if there are carriage returns mixed, it is not validated. Is tehre a way to ignore all carriage returns? I am a RE newbie. Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't ...more >>

Invalid cast from System.Int32 to System.Byte[].
Posted by Hifni Shahzard at 2/15/2005 1:53:03 AM
Hi, I got a stored procedure, where it returns a value. But if I execute it. It gives an error as "Invalid cast from System.Int32 to System.Byte[].". To make clear how do I execute this, below I'm specifiying my code: The Code used in Visual Studio: Function GetRank(ByVal ID As Integer, B...more >>

Popup calendar
Posted by Ali at 2/15/2005 12:19:01 AM
I am trying to create a popup calender so when a user click on a image on the main form, a calender will then popup, the user will select a date and the date will then be passed back to the main form and populate a textbox. it works fine. but when i use it within a table cell everything worked...more >>

Response.BinaryWrite question, please
Posted by Alex Nitulescu at 2/15/2005 12:05:48 AM
Hi. I have a WebService which provides a webmethod which returns a byte array representing a picture. The method's signature is: <WebMethod(Description:="Shows something nice every time !")> Public Function GetRandomImage() As Byte() I then have a test application (with a web reference to ...more >>


DevelopmentNow Blog