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 > june 2004 > threads for monday june 14

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 29 30

Problem with inheritance of code behind page
Posted by John Morgan at 6/14/2004 11:47:46 PM
I am using Visual Studio with code behind to build files within an application. The name of the project is bsecsSql. Everything works fine on the local computer when I use 'copy project' to copy it to a folder and use an address such as : http://cms2/bsecsloc/management/electionPublic/candidat...more >>


asp.net app
Posted by Antti Laakso at 6/14/2004 10:58:01 PM
i'm im trying to do app with asp.net . i have webservice which takes pics from a webcam and there is also a database which contains some data. and what i'm trying to do i's to get that picture and data every 10 secons and show those in a web form. i'd rather not use page refresh...more >>

Launching a new window......
Posted by Veeresh at 6/14/2004 10:40:28 PM
Hello All, How to launch a New .ASPX page from the clicked event of a button. Like Java script Window.open.... Veeresh ...more >>

Error with a code line. Urgent. Thank You.
Posted by Miguel Dias Moura at 6/14/2004 10:34:53 PM
Hello, i am inserting form values into a database and i am getting problems in this line: <Parameter Name="@Local02Metro" Value='<%# IIf(local02Metro.Checked <> "", local02Metro.Checked, "") %>' Type="WChar" /> The error i get is this: System.InvalidCastException: Cast from string ...more >>

about FindControl ---> to find the control added by program
Posted by Edward at 6/14/2004 10:08:39 PM
hi, everyone, my Page_Load fill tblProducts with some TextBox. <form runat="server"> <asp:Table id="tblProducts" runat="server"></asp:Table> <hr> <asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Button"></asp:Button> <hr> <hr> <asp...more >>

Multiple column repeaters
Posted by Iain at 6/14/2004 9:10:41 PM
I'd like to have a repeater (like) control which may have 1, 2, 3 or more columns to be decided either at run time or design time (each with a potentially complex layout). As far as I can see, I can't do it. There's no events which I can use to instert a </TR> every n items in the databinding...more >>

Logging to file from an asp.net application: how to???
Posted by Bob Rock at 6/14/2004 8:50:30 PM
Hello, I'd like to log to a file from an asp.net application but it seems that the user under which asp.net applications run has very limited permissions. Apart giving the user greater permissions, is there any other solution to allow logging to file system??? Also I'd like to write to the ...more >>

How to get the name of a running asp.net application from the application itself???
Posted by Bob Rock at 6/14/2004 8:21:22 PM
Hello, is it possible and how to get the name of an asp.net application from the application itself??? Bob Rock ...more >>



How to get the path on file system where an asp.net application is running????
Posted by Bob Rock at 6/14/2004 8:07:46 PM
Hello, how do I get from the application itself the root (or bin) folder where the asp.net application is running??? Regards, Bob Rock ...more >>

response to html table cell
Posted by ven at 6/14/2004 8:05:51 PM
hello i have problem with response.redirect method, namely i have default page home.aspx where is html table : <%@ Page Language="VB" %> <script runat="server"> ' Insert page code here ' </script> <%@ Register TagPrefix="eCommerce" TagName="Menu" Src="Menu.ascx" %> <html> <...more >>

question about a datagrid.....please help!!
Posted by TN Bella at 6/14/2004 7:46:38 PM
I have a datagrid where the user selects a row from a checked box than some of the information in the row needs to be sent to a text box. The datagrid selection fills in three textboxes.... Can anyone help me figure this out? Can it be done or has anyone seen it done? Thanks a lot... *...more >>

French characters messed up
Posted by Simon Wallis at 6/14/2004 7:12:01 PM
I have a main Listing aspx page in my app with links to a Details page. Both hit an access database. The Listing page runs a query against the db, and binds the resulting DataView to a DataGrid control. The user selects one of the items in the list. The Details page retrieves details for the selecte...more >>

Installation of ASP.NET/IIS 5.0
Posted by Edward at 6/14/2004 6:56:01 PM
-- I have recently installed Windows XP Professional Edition on my PC so I would be able to have the IIS and Front Page Services that are needed to create Web Applications in Visual Basic.NET. However, I receive an error saying "that the server is not supported by ASP.NET." Is there something ...more >>

Send Value From Client-Side Script To Server
Posted by Guadala Harry at 6/14/2004 6:43:09 PM
I have some client-side JavaScript that, among other things, calculates the value of a variable (myVar). On the server I have a stored procedure that needs to somehow receive as an input parameter the value of myVar. I need to know how to get the value of myVar from the script up to the server. ...more >>

Free menu
Posted by Arda Han at 6/14/2004 6:08:46 PM
I want create dynamic menu with user roles. What is your suggestion? Tnx ...more >>

Application encryption scheme
Posted by sqlvs NO[at]SPAM myway.com at 6/14/2004 5:57:41 PM
We've got a web-based application where users are filling out forms, and there's a potential requirement that user information be encrypted as it's submitted, and not decrypted and available for administrators to review until users submit the forms for final approval. So the user may partially o...more >>

target size
Posted by Buz Waitz at 6/14/2004 5:56:46 PM
I know how to use javascript to open a hyperlink in a resized window without toolbars. But would it be better to do so from the code behind pages and if so, how? which classes? Thanks Buz ...more >>

Installing Dotnet Framework on WIndows NT
Posted by Santosh at 6/14/2004 5:27:37 PM
Could any body tell me about how to Install and get running Dot Net Framework on Windows NT. I tried everything as suggested by Microsoft. http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en When I try and Install Dot Net Framework o...more >>

How to convert a Collection arraylist to dataset
Posted by mimi at 6/14/2004 5:09:36 PM
I would like to convert an arraylist to dataset or datatable so that I can filter or make a select distinct from it. How to do it? Can someone show me the syntax? Thanks ...more >>

dynamic create controls
Posted by Grey at 6/14/2004 4:23:27 PM
I know i can use placeholder control for dynamic create controls. but my requirement is i need to create multiple controls. when the user click the button, one textbox will be created. If user click three times, there will be three textbox created. However, just only one textbox was created what...more >>

Viewing your site in Netscape and Mozilla
Posted by Maziar Aflatoun at 6/14/2004 4:23:17 PM
Hi everyone, I just wrote a complete shopping cart using DataGrids...etc with capability to edit each item etc. However, the textboxes become their default size when viewed in Netscape/Mozilla. I thought VisualStudio .Net automatically takes care of that. Any suggestions? Thanks Maz....more >>

How to set property of an asp:Hyperlink in a template from a user control.
Posted by hanoi_honai NO[at]SPAM yahoo.com at 6/14/2004 4:06:44 PM
Hello there, I have an asp hyperlink in a template page. In my user control page - code behind page that uses the template, I'd like to turn this link invisible in certain case. Is it possible? This is my hyperlink: <asp:HyperLink id="hplShoppingCart" runat="server" Font-Size="Larger" Fo...more >>

Banging my head: Could not load type ERROR
Posted by darrel at 6/14/2004 3:54:30 PM
What does that MEAN? I'm working on a VS project with another person. We keep our DLLs and files in sync with each other. Last week I hit a snag where i kept getting the 'could not load type' error with one of my usercontrols. The other person can take my exact same files, compile it into his ...more >>

ArrayList Sorting in VB.NET - How to use ICompare
Posted by Rob G at 6/14/2004 3:29:39 PM
Hello, I have a basic understanding of Objects, inheritance, polymorhpism, etc. I am new to VB.NET and I am having a problem figuring this out. I want to sort a CheckBoxList. Using the ArrayList seemed to make the most sense. When I use it I get the error: At least one object must implement ...more >>

Column contains NULL data
Posted by DaveF at 6/14/2004 3:25:48 PM
dr.GetString(2) is Null how do I deal with that? Line 72: Do While dr.Read Line 73: aString = aString + CStr(dr.GetValue(0)) + ":" & dr.GetString(1) + ":" & dr.GetString(2) + ":" + dr.GetString(3) + ":" Line 74: Loop -- David ...more >>

How to display images in datagrid column header?
Posted by Alek Davis at 6/14/2004 3:14:21 PM
Hi, This must be simple, but I can't quite figure out how I can display images in a header of a datagrid. For example, I need to display text followed by the sort button (which is one of two images: ascending or descending) followed by the help icon pointing to the help URL. Is this possible? ...more >>

ASP.NET xmlns=''> was not expected problem
Posted by pei_world at 6/14/2004 2:57:38 PM
I have followed a example from a book exactly, but it seems not working at all. can anyone tell me what is going on? ========= Global.asax.cs ============ public static Entry LoadEntry(String filename) { //construct the path String filepath = XMLFilePath + "\\" + filename; ...more >>

Help: How to make ASP pages work in the ASP.NET application?
Posted by Quentin Huo at 6/14/2004 2:43:27 PM
Hi: Since I installed the ASP.NET, the ASP page cannot work anymore, even the ASP page is a simple page like "Hello, World" page. (but ASP.NET pages works well) What can I do to make an ASP page work in the ASP.NET application? Thanks Q. ...more >>

ASP.Net Listboxes
Posted by Big E at 6/14/2004 2:38:40 PM
I'm using ASP.net and SQL Server 2000. I have a multiple select Listbox that is populated by a Lookup table that also contains Id's. In another joined table I have these Id's associated with customers. I want the listbox to appear on the form but with the listbox id selected that are associated...more >>

Book for ASP.NET
Posted by Fie Fie Niles at 6/14/2004 2:34:51 PM
I have been using Visual Basic 6 and ASP (Visual Interdev 6) for a few years. I would like to learn VB.NET and ASP.NET. If I study Visual Studio.NET, will it cover both ASP.NET and VB.NET ? Based on your experience, what is a good book to study from ? Any of the 21 days series book that are good...more >>

flow content following absolutely-positioned panel
Posted by John A Grandy at 6/14/2004 1:30:16 PM
on my WebForm, Panel1 is positioned absolutely , with settings for Top , Left , Width , Height ... Panel1 contains various sub-panels: PanelA , PanelB , PanelC ... these sub-panels' content flows naturally ( PanelA 's content is immediately followed by PanelB 's content, etc. ) however , ...more >>

RegExp to strip accents while ignoring case
Posted by Jon Maz at 6/14/2004 1:19:59 PM
Hi All, I want to strip the accents off characters in a string so that, for example, the (Spanish) word "práctico" comes out as "practico" - but ignoring case, so that "PRÁCTICO" comes out as "PRACTICO". What's the best way to do this? TIA, JON --------------------------------------...more >>

using a datagrid to update two sql tables...I can't get it work
Posted by TN Bella at 6/14/2004 12:50:18 PM
The problem I am having to bring up a datagrid that has edit options this datagrid is coming from two tables. I can get the datagrid to do these functions using one table, however using two is bit of a puzzle. I am unsure on how the UPDATE SQL statement is suppose to look like to work. This is ...more >>

dynamic Create control
Posted by Grey at 6/14/2004 12:38:36 PM
is it possible to dynamic create control in runtime. I want to create a new textbox on every click on the button. ...more >>

Image hell(p)
Posted by Steve Peterson at 6/14/2004 12:13:33 PM
Hi I've been beating my head against the wall trying to get this done, with little to no success so I thought I would turn to the .Net community for some help. I have an .NET app in which the user can upload an image file. What I need to do is take the image and save it in a scale it to a p...more >>

scrollbars in web datagrid
Posted by Tim_K at 6/14/2004 12:07:01 PM
Anyone have a suggestion or example on how to add a vertical scrollbar (or similar capability) to a web data grid in an ASP? Thanks, Tim...more >>

encrypt url string
Posted by TJS at 6/14/2004 12:03:54 PM
Is there a way to encrypt the url string at the application level so code does not have to be added into every page or control ? ...more >>

Can ASP Pages run in the ASP.NET application?
Posted by Quentin Huo at 6/14/2004 11:54:43 AM
Hi: I am trying move the ASP application to .NET. And I want to move a part of ASP pages to .NET firstly and then move the other bacause they are independent with each other. But it seems the ASP pages cannot run the ASP.NET application, right? I just want to make sure because I cannot make...more >>

Problem with Web Reference
Posted by JezB at 6/14/2004 11:52:30 AM
Could someone help ? I'm creating a new project and trying to create a web reference to a web library assembly I've referenced quite happily from other web projects. Trouble is : in my new project it refuses to recognise the reference I've made and gives me the standard error whenever i try to...more >>

Creating Exchange Mailbox
Posted by - Steve - at 6/14/2004 11:49:36 AM
I can create a mailbox using ASP.NET if I authenticate the administrator using IIS authentication. I've switched to forms based authentication, authenticating against AD, and everything is working fine except for the creation of mailboxes. I can create the user fine, but when I try to mailbox ...more >>

writeto csv file
Posted by Mei Qin at 6/14/2004 11:48:48 AM
Hello, I have the following code to write each columns in a datarow to the csv file: myStreamWriter.Write(chr(34) & (myDr(I).ToString) & chr(34) & ",") I have a string field with the value of "000000". When I open the file in Excel, the value displayed as "0". But I really need to keep t...more >>

how to send error reports via email?
Posted by Dave Bartlett at 6/14/2004 11:42:44 AM
Hello, Just wondering if anyone new of a nice way to capture ASP.NET page error reports at runtime and deliver them via email? Thanks ...more >>

Reading a Doc file from .net
Posted by Thomas Scheiderich at 6/14/2004 11:40:40 AM
Is there a way to read a file from .dot net and just get the text? I have about 300 documents that need to be added to our database and web page. I need to get the 1st readable line to use as a title or subject. The problem is that .doc files have unreadable formatting characters in them. I ...more >>

CompareValidator and RequiredFieldValidator
Posted by buran at 6/14/2004 11:28:30 AM
Dear ASP.NET Programmers, I am using a CompareValidator control to check the values entered into a texbox. The textbox is for currencies, so the property Operator is set to DataTypeCheck and the Type property is set to Currency. However, I would like to control check whether the user enters a ...more >>

Access denied? why would I get this message?
Posted by Reza Solouki at 6/14/2004 11:13:02 AM
Hello, I just finished publishing a completed project with basic authenticaion of IIS and windows Authentication of .net. The application works fine in the developement area but getting this message on the production server. I am treating all the exceptions, so it is probably happening before ...more >>

Losing Variable
Posted by Big E at 6/14/2004 11:01:16 AM
I'm using ASP.net and SQL Server. I declare a Public Variable. I then set it depending on a if then else statement below. My problem is because of the various round trips to the server I lose the value of that variable by the time I need it. Public CurrentStatus As Integer HERE IS WHERE I SET I...more >>

Adding EventHandlers To DataListItem Child Controls
Posted by mquick NO[at]SPAM fbtlaw.com at 6/14/2004 10:57:04 AM
For the sake of example I am keeping this simple: I have a DataList. The DataList has one DataListItem. (i.e. one row) The DataListItem has a DropDownList control. I want to set up a SelectedIndexChanged event handler on the DropDownList control. I have tested out my code about every which...more >>

form wont validate on remote server
Posted by Jack Wheeler at 6/14/2004 10:51:25 AM
I have a basic form with some textboxes and several requiredfielfvalidators. On my development machine, the validation for this form works fine. On the remote server, the form posts back with no attempt at validation at all. It's as if the requiredfieldvalidators weren't even there. The kicker i...more >>

Access denied? why getting this message? help
Posted by Reza Solouki at 6/14/2004 10:49:07 AM
Hello, I finished the 1st phase of my project, publicated on the production server. Also I am using basic authentication for security. I am also treating all the exceptions, but now everytime try to run the page, gets the default error page of microsoft, very abstract, with the title 'Access ...more >>

Option Strict On disallows late binding.
Posted by Ryan.McLean NO[at]SPAM NAU.EDU at 6/14/2004 10:22:01 AM
Hi everyone! I am trying to be good and use option strict. When I do, the following code bombs out. A little background: This is a portion of a class that is my template. This template is inherited into child classes. This bit of code takes the aspx contents of the child and adds it into ...more >>

Can't get subroutine/helper function to work in Datalist control
Posted by springb2k NO[at]SPAM yahoo.com at 6/14/2004 10:21:37 AM
I'm using a subroutine/helper function display an image (the image would be displayed inside a datalist control's <itemtemplate> ) <script language="VB" runat="server"> Public Sub checkforimg(ByVal Imagesubprod1 As String) If Imagesubprod1 <> "" then response.write(Imagesubprod1) Else respo...more >>

Exe files in input controls
Posted by Matt MacDonald at 6/14/2004 10:18:28 AM
Hi all, I'm trying to have a file upload utility, and obviously, as part of that I'm going to need <input> file controls. The problem I have is that when the user chooses a .exe file, instead of running the submit function, the browser automatically redirects to a "page not found" page. I'm ...more >>

shortcut url's and asp.net
Posted by Hans Kesting at 6/14/2004 10:05:39 AM
Hi all, Sometimes you see "shorcut url's" advertised of the form //servername/directory (easy to remember), that will lead you to somewhere within the site (to a possibly more difficult url) example: //www.microsoft.com/office leads to a different url, specifically for Office. question: ...more >>

slow page rendering (prerender event)
Posted by wardy1975 NO[at]SPAM yahoo.com at 6/14/2004 9:43:58 AM
Hi, I'm hoping someone can lend me a hand....I've got a .NET Web app running on Windows 2000 IIS 5.0 linking to a SQL Server 2000 database. When the database is located on the same server as the web app, the pages render quickly - however, when I run the app with the database on its own server,...more >>

Remove Dynamic Controls
Posted by brian at 6/14/2004 9:20:44 AM
I am creating dynamic controls with a click event. When the dynamic control is clicked I recreate the controls so the click event can be fired. Is there a way to then remove the control after the click event has been fired so the control wont be displayed or take up room on the page. ...more >>

Crystal Reports "Logon Failed" for Access Databases!!!
Posted by i_g_i_t_u_r NO[at]SPAM email.com at 6/14/2004 9:13:05 AM
Hi people, There seems to be a LOT of threads regarding the "Logon Failed" problem when using Crystal Reports with ASP.NET. But all the thread I could find was when trying to use it on SQL server. However, I get the problem when just trying to pull a report from an Access database. It d...more >>

Session State Variables
Posted by DavidS at 6/14/2004 9:04:02 AM
I'm losing session state variables during my debug session. Basically, I've expanded on web development - worked with web site for about 4 months now without problems. I'm adding code to web pages - and now I lose session variables and/or the Page_Load function is being called twice when rendering...more >>

re.Pattern = "\<p>(.[^\[]*)\<\/div>"
Posted by Bill Yin at 6/14/2004 8:57:13 AM
what's mean? ...more >>

Datagrid header text
Posted by Ben at 6/14/2004 8:40:27 AM
Hi, I'm wondering how can i change the datagrid header text at runtime so that it keeps the sorting enabled? I can do; e.Item.Cells[0].Text = "foo"; But then foo is the text of the table cell and not the underlying hyperlink and as such, foo is no longer sortable. I've tried things lik...more >>

Re: Random Redirect problem
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 8:36:44 AM
Valeri, The only thing I can think of from thr top of my head is make sure your Response.Redirects are using the root as their base by using the tilda (~):- Response.Redirect("~/MySite/MyPage.aspx"); Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

deployment question
Posted by Mike at 6/14/2004 8:26:02 AM
I work remotely for a company creating a web site for them. I dial into their network via VPN and access the web server via terminal server. Thats the only access I have to their network. My question is, how can i deploy my ..NET web application to the web server via the way I access the server a...more >>

Querystring Woes
Posted by Paul Marrero at 6/14/2004 8:13:22 AM
I have an ASP.NET web application that I have written. I just came across this problem as I was loading more "real" data into the system and testing. When I move from page to page, I use an argument and pick it up using a Request.Querystring on the new page. The problem is, the data is encrypted ...more >>

Random Redirect problem
Posted by Valeri Hristov via .NET 247 at 6/14/2004 7:44:07 AM
I have a problem with a ASP=2ENET web site=2E I?m using Windows2000= Server SP4, =2ENET Framework 1=2E1=2E The problem is that sometimes= (relatively seldom) when browsing the Administration Console= (see below) a redirect (unwanted and unexpected) is made to the= Public Site to a random pag...more >>

Dynamic User Control and the View State
Posted by ronniek NO[at]SPAM netvision.net.il at 6/14/2004 7:13:38 AM
Hi, I'm trying to load a WebUserControl (.ascx) into a PlaceHolder but I keep getting an exception that the Page Tree ViewState is modified. If I load the WebUserControl by the designer (not dynamic) and it works. How can I load the WebUserControl dynamiclly so I can choose which one to lo...more >>

Re: SPECIAL --> HOW TO "Dynamically Create Controls in ASP.NET with Visual Basic .NET " ???
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 6:08:26 AM
Tommy, Yeah it's all baked in to the Framework, take a look at the following class: - System.Web.UI.HtmlContols.HtmlTable Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Dynamic Link Buttons
Posted by brian at 6/14/2004 6:07:57 AM
'visual studio 2002 pro 1.0 framwork' I am creating dynamic Link buttons on my intranet site and assigning a click_event to them. A user clicks a link and I call the method to recreate the links in the page load so the click event will be recogonized. This works! Now the link previou...more >>

Re: Problem with Web Reference
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 4:45:27 AM
Jez, I have lost count at how many hours I've spent "debugging" only to discover I can't spell ;-) Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: Problem with Web Reference
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 4:21:31 AM
Jez, No it should be fine, I don't want to sound like I'm teching my granmother to suck eggs, but check the spelling is exactly the same? Cheers, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: shortcut url's and asp.net
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 4:19:27 AM
Hans, Right okay, so you want to create a system like http://tinyurl.com but for internal usage? Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: Problem with Web Reference
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 4:11:55 AM
Jez, If you look at the "Class View" in VS.NET, do you see the Namespace listed? Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: DataGrid Image Link
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 3:44:31 AM
Joey, Take a look in the Redered HTML, show us the content of the cell that you're expecting the image to appear in. Thanks, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

DataGrid Image Link
Posted by Joey at 6/14/2004 3:40:16 AM
Guys, I am using multiple links in my datagrid cel which is a template column (As shown by martin in my previous post) but I am also adding an image in the anchor tag. I can see the image at design time but not when the page is loaded. Can someone please tell me what I am doing wro...more >>

uploading using https
Posted by Asha at 6/14/2004 3:11:01 AM
greetings, i need to upload an .xls file using a secure connection. so i though of using https... can i know how this can be done?...more >>

Re: Looping through Database??
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 2:41:14 AM
Hello, You have not said what Database you're using so I'll just give you the looping code, you'll need to populate a DataSet object for this to work: - foreach(DataRow DR in DS.Tables[0]) { myMenuId = DR["menuid"].ToString(); } Does this help? Phil Winstanley Microsoft ASP.NET MVP ...more >>

Datagrid multiple links
Posted by Joey at 6/14/2004 2:19:57 AM
Guys, How can I add multiple parameters to a url in the format string property of a hyperlinkcolumn in a datagrid Thanks ...more >>

Datagrid Cell
Posted by Joey at 6/14/2004 2:18:12 AM
Hi guys, How can I put an image in a datagrid cell and databind it to navigate to a url. Thanks...more >>

Re: Create custom properties with extender provider ?
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/14/2004 2:00:21 AM
Jez, Yup it's possible, take a look through MSDN: - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mwdesign/html/mwconIntroductionToProgrammerDefinedControls.asp Hth, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Timer problem
Posted by Antti Laakso at 6/14/2004 1:11:01 AM
Hi i have function like above Public Sub halytystutkinta() Dim ds As New DataSet ds = dl2.HaeHalytys() Dim onkohal As Int16 onkohal = ds.Tables(0).Rows(0).Item("onkohalytys") halid = ds.Tables(0).Rows(0).Item("halid") If onkohal = 1 T...more >>

Straight ASP problem
Posted by Joe Coppola at 6/14/2004 1:00:53 AM
Hi there. I am having a weird problem. Currently I have a straight ASP page that queries an Access database and returns the large recordset on a page that loops through the recordset and writes the appropriate <td> tags in order to put the data into a table. Now when I run it in my test envi...more >>

Dinamically changing "LinkButton" control style!
Posted by Jensen bredal at 6/14/2004 12:51:07 AM
I'am trying to change the style of my LinkButton control . I have a set of five control and i need to hilight the selected one. I want to achive this by setting MyLinkButton.CssClass="newStyle" whenever "Mybutton_Click" is fired. I have set MyLinkButton.CssClass="OldStyle" in the code beh...more >>


DevelopmentNow Blog