Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sbushway
  • Content: Threads
  • Order by date
  1. sbushway

    Testing 508 Compliancy

    I've got an application that I need to test for 508 Compliancy. The problem is that my application is accessed only by logging in with a username and password. So when I run an accessibility check, the page that's getting checked is the page that lets the user know they're not logged in -...
  2. sbushway

    Convert Month Name to Corresponding Integer Value

    I know I'm probably missing something incredibly simple, but how can I convert a month name into its integer equivalent (ie: September would be 9) I'm creating a new date. I've got the year and the day in the correct format. The format for the month needs to be the integer value - and I've...
  3. sbushway

    Editing .sitemap file from codebehind?

    Hi, I have an application that I'd like to set up so that certain roles can only see certain pages. What I want to do is have a list of roles and for each role, have the administrator decide which pages that role can see (I'll either have a checkbox or a radiobutton next to each page displayed...
  4. sbushway

    Dynamic Table Not Appearing

    Hi, I'm dynamically creating a table in my code-behind but the table never appears when I run the program. Here's what I have so far: Dim tbl As New Table tbl.Width = 700 tbl.CellPadding = 0 tbl.CellSpacing = 0 tbl.Visible = True Dim trHeaderRow01 As New TableRow Dim tCell01 As New...
  5. sbushway

    Workaround for a Dynamic HeaderTemplate in Repeater

    Hi, I've got a report to display, and the header part of the report contains dynamic data (as does the main section). It looks like this: Report Title Dynamic Data Dynamic Data Dynamic Data ************************************************** NAME DOB M/F John Doe 1/1/1970 M...
  6. sbushway

    Popup window hides behind opener window (VS 2005)

    I have a web app that contains a button which brings up a popup window when clicked. It worked just fine in ASP.NET 1.0 (using Studio 2003). But now that I converted my project over to ASP.NET 2.0 (using Studio 2005), my popup window appears, but then immediately hides behind the opener...
  7. sbushway

    Looping through DataTable, replacing specific chars with CRLF

    Hi, I've got a DataTable and one of the columns (named 'ReasonForChange') in the DataTable may contain two right square brackets (]]). (I need to store carriage-return line-feeds as two right square brackets since the program that reads the data from the database chokes if it encounters a...
  8. sbushway

    Changing textbox value back to original value when closing popup

    Hi, On my webform, I have 4 textboxes and a submit button. If the user changes the value in the first textbox then submits the form, a popup window appears that has an "Are you sure ..." message, a Yes button, and a No button. If the user presses No, I want to close the popup and return the...
  9. sbushway

    Writing a CustomValidator that works like a RegularExpressionValidator

    Hi, Is there a way to create a CustomValidator that works like a RegularExpressionValidator? I've got a web application with a RadioButtonList, four textboxes, and a submit button. Depending on which radiobutton is checked, different textboxes must be filled in. (ie: if the first radiobutton...
  10. sbushway

    DataGrid Paging and Pressing "Back"

    Hi, I have a pageable DataGrid on the left-hand-side of the my webform. When I click on an item in the DataGrid, the DataGrid disappears and textboxes appear on the right-hand-side of the screen, filled with data pertaining to the item that I clicked. Simple enough. When the user is done...
  11. sbushway

    Extreme newbie question about passing variables

    Hi, Bear with me as I know this question is incredibly basic :) If I have a web form that contained a bunch of labels and textboxes(like First Name, Last Name, Address, Age, etc) and a Submit button. What's the easiest/best/most accepted way to pass those variables (the values in the...
  12. sbushway

    Preserve Whitespace - newbie question

    Bear with me- I'm sure this is a really easy question: I'm reading a line from a fixed-width file that looks something like this: JOHN DOE 123 MAIN ST NEW YORK I want to preserve the whitespace when I read the file, but I don't know how to do that. This is what I'm doing: x...
  13. sbushway

    Bulk Insert - Fixed Width File

    Hi, I have a program that reads about 7000 records from a flatfile and inserts them into a SQL Server 2000 table. This takes about 2.5 minutes (using VB.NET). I was told that a Bulk Insert would be much faster. All the examples I've seen have a FIELDTERMINATOR - I don't have any...
  14. sbushway

    Optimizing File I/O & Database Inserts

    Hi, I have a flatfile that contains about 7500 records that are delimited by a newline character - Chr(10). I'm reading that file into a string, parsing that string, and inserting each record into a SQL Server 2000 table. Here's my code: Dim myFile as String =...
  15. sbushway

    Calling a subroutine if user presses Enter in a textbox

    Hi, I have a page where I'm expecting the user to input data in a textbox and then submit that data. The problem occurs when the user presses Enter after he inputs his data; he expects the form to be submitted but nothing happens. He has to physically click the submit button in order for the...
  16. sbushway

    asp:hyperlink navigateurl problem - link not showing up

    Hi, I have a link on one of my pages that goes back to the previous page. The link is not in a DataGrid - just in an HTML table. My code is this: <asp:hyperlink id=hyperlink1 runat=server NavigateUrl='<%# strURL & lblOrderID.Text & &quot;)&quot; %>'>Back</asp:hyperlink> strURL is defined in...
  17. sbushway

    Multiple parameters with DataNavigateUrlFormatString

    Hi, I've already posted this question to the ASP.NET forum, but I thought I'd post it here, too: On one of my pages, I'm passing a variable to another page via a URL variable like this: <asp:HyperLinkColumn DataNavigateUrlFormatString=&quot;details.aspx?ID={0}&quot...
  18. sbushway

    Multiple Parameters for DataNavigateUrlFormatString

    Hi, On one of my pages, I'm passing a variable to another page via a URL variable like this: <asp:HyperLinkColumn DataNavigateUrlFormatString=&quot;details.aspx?ID={0}&quot; DataNavigateField=&quot;OrderID&quot; DataTextField=&quot;Quantity&quot;></asp:HyperLinkColumn> And that works fine...
  19. sbushway

    Newbie update database help

    Dumb question, I'm sure, but I'm asking it anyway :) I want to update a record in my SQL database based on the variables that are passed to the function. Here's my function: Public Function UpdateInfo(ByVal intID as Integer, ByVal strSuic as String, ByVal strOuic as String, ByVal strAns as...
  20. sbushway

    Newbie alert - SQLDataReader question

    Let me just preface this post with the statement that I'm fairly new to .NET. I want to create a Master/Detail page. I've got the Master page working fine: it contains a list of records each having a clickable ID field that passes that ID value to the Detail page. I want to display the data...

Part and Inventory Search

Back
Top