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 strongm 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: *

  1. mellenburg

    Underline names of document libraries

    On my Sharepoint home page, I have a document library. Users can click on the title of the library to enter it. However, the title of the library is not underlined, which I believe makes in non-intuitive to user's that they should click on the title. How can I make it so the name of the...
  2. mellenburg

    Accessing dynamic controls within a repeater

    Thank you Jason, By adding an OnItemDataBound event, I'm able to see the labels.
  3. mellenburg

    Accessing dynamic controls within a repeater

    I have a repeater with the following code: <asp:Repeater ID="rpr_puf_files_doc" runat="server" DataSourceID="ods_puf_files_doc"> <ItemTemplate> <div class="puf_files_bottomleft"> <%#Eval("FileLabel")%>...
  4. mellenburg

    How do I improve speed when reading from Excel

    I am using the following script to read data from an Excel workbook. The data I'm reading contain about 50 rows and 20 columns. I'm only writing out select columns. The script works, but it really slow and often times out. Is there something that can be done to improve the speed? Set...
  5. mellenburg

    Remove User Permissions Problem

    I have a document library from which I accidentally removed all user permissions. So, even when logged in as the highest administrator, I cannot modify or delete this document library. Furthermore, I can't recreate it because I get an error because I'm using the same name. How can I delete or...
  6. mellenburg

    Cannot apply value null to property Login: Value cannot be null

    I've read about every post I can find on the internet about this problem and can't find a solution. In SQL Server 2000, I had a DTS package that allowed me to copy tables, views, and stored procedures from one DB to another. I was only copying specific objects, not all of them and that is an...
  7. mellenburg

    Copying objects between DBs in SQL Server 2005

    We're moving from SQL Server 2000 to 2005. In 2000, I had a development, test, and production database. I had written a variety of DTS packages to move select objects from development to test, and from test to production. I wasn't doing an entire DB copy because I wanted to be able to move...
  8. mellenburg

    Hide scrollbars with Process.Start

    I'm using the following code to launch IE inside a windows application: ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe"); startInfo.WindowStyle = ProcessWindowStyle.Maximized; startInfo.Arguments = "www.microsoft.com"...
  9. mellenburg

    Adding items to an existing array

    I have a form that is capturing information from a user. In this example, the user is entering a list of first names. The number of first names entered can be 1 to whatever. I have code that will capture the entry and store it in an array. However, I can't capture the second entry without it...
  10. mellenburg

    Separating repeating code in c#

    Ok, so I have this in my web.config page now. <appSettings> <add key="SqlConnect" value="server=xxxx;database=xxx;uid=xxx;pwd=xxx;" /> </appSettings> How do I make use of the SqlConnect key instead of writing the line SqlConnection sqlConn = new SqlConnection("Data...
  11. mellenburg

    Separating repeating code in c#

    I'm very new to c# and OOP, so I understand both suggestions, but I don't know how to do either. Can someone give me some sample code?
  12. mellenburg

    Separating repeating code in c#

    I'm very new to programming in .Net and object-oriented programming. I have a working program that can be refactored by putting repeated lines of code in a single location and the n referencing that piece of code. For example, I have the following code in my OnLoad event: private void...
  13. mellenburg

    Data entry form with a parent and child table

    The events table is the parent, the travelers table is the child table. The user will be entering all the information that is to be stored in both tables. For example, the user will enter a travel start and end date, which goes in the events table. The user will also enter 1 or more travelers...
  14. mellenburg

    Data entry form with a parent and child table

    I’m trying to design a data entry form in ASP.Net using c#. The database is a relational database. There are two tables, a travel events table and a travelers table. There can be multiple travelers per travel event, there’s a one to many relationship between those tables. I have created a...
  15. mellenburg

    Data entry question

    I need help with an approach to the following problem. I'm designing a travel authorization form. The use can enter 1 or more travelers. I'm assuming a datagrid is the best approach. However, I don't want to write the travel list to the database while the user is entering travelers because...
  16. mellenburg

    Writing dropdownlist value to a DB

    ...ID="SubCategoriesSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:BudgetConnectionString1 %>" ProviderName="<%$ ConnectionStrings:BudgetConnectionString1.ProviderName %>" SelectCommand="SELECT * FROM SubCategories ORDER BY SortOrder"> </asp:SqlDataSource>
  17. mellenburg

    Writing dropdownlist value to a DB

    ...ProviderName="<%$ ConnectionStrings:BudgetConnectionString1.ProviderName %>" SelectCommand="SELECT * FROM Categories WHERE CategoryID = @CategoryID" DeleteCommand="DELETE Categories WHERE CategoryID=@CategoryID" UpdateCommand="UPDATE Categories SET Category=@Category...
  18. mellenburg

    Connecting to a database with c#

    ...ID="CategoriesSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:BudgetConnectionString1 %>" ProviderName="<%$ ConnectionStrings:BudgetConnectionString1.ProviderName %>" SelectCommand="SELECT * FROM Categories ORDER BY SubCategoryID, Category"> </asp:SqlDataSource>
  19. mellenburg

    ASP/Javascript postback question

    I have a form with three drop down list items. The values for the first item can be a 1, 2, or 3. Once the user selects one of the three values, the second drop down list is populated with the remaining values via a javascript program that is called by the OnChange command. For example, the...
  20. mellenburg

    Including an ASP code into a .vbs file

    If I can execute an ASP file from a .vbs program, then I'll just execute the page I'm trying to convert.

Part and Inventory Search

Back
Top