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!

Recent content by SCantoria

  1. SCantoria

    Mailbox unavailable when sending to an external address

    I have to email sender class. 1 for the sending to external addresses using namespace System.Web.Mail and another for sending to internal address using namespace System.Net.Mail. I would like to only use System.Net.Mail for both internal and external emials. The problem I ran into is "Mailbox...
  2. SCantoria

    How do I force a different initial value on a DropDownList?

    Thanks. I learned how to use the OnDataBound event. For those who care to know, I resolved my issue by using the OnDataBound event. protected void GridView1_OnDataBound(object sender, EventArgs e) { DropDownList1.Items.Insert(0,"Select an item..."); } Thanks for everyone's advice.
  3. SCantoria

    How do I force a different initial value on a DropDownList?

    My DropDownList control is getting the information from an ObjectDataSource. I need the initial item showing on the DropDownList to be "Select an item" which is not in the database. How do I do this? See my code below. Thanks. <asp:DropDownList ID="ddlCP" runat="server"...
  4. SCantoria

    Error encountered on null fields during data display

    Below is the code I am using and I keep getting a "The value for column 'sysEndDate' in table 'cp' is DBNull" There are other null fields but sysEndDate is the only one I am testing for now. I will validate the other fields after I resolve this issue. Please help. protected void...
  5. SCantoria

    Configuring Automatic Logoff using WinExit.scr in GPO

    I am configuring WinExit.scr with a 1800 seconds timer in the GPO. During preview, the user gets and error saying "Error encountered while creating registry key. Make sure you have Set Value and Create Subkey permissions." What is this Set Value and Create Subkey permission? Where do I set this...
  6. SCantoria

    what is the best way to pass information between pages?

    I am creating a view page before I write to the database. The submit button on my CreateTicket.aspx is pointed to ReviewTicket.aspx. Response.Redirect("ReviewTicket.aspx?Creator=strCreator&PriorityLevel=strPriorityLevel"); the ReviewTicket.aspx writes to the database if the accept button is...
  7. SCantoria

    How do I get the page address dynamically?

    Found what I needed. Request.Url or Request.UrlReferrer Thanks, Steve
  8. SCantoria

    How do I get the page address dynamically?

    I have a ticketing application. when a ticket is created I am sending a notification email to the ticket recipient and I want to place the ticket url. if the address is: http://TicketCenter/tickets/TicketView.aspx?TicketID=50 How do I get this address? Thanks, Steve
  9. SCantoria

    Reading information from a TableAdapter

    I ran into an error with your sample code. I found this and it worked. NorthwindTableAdapters.ProductsTableAdapter adapter = new NorthwindTableAdapters.ProductsTableAdapter(); Northwind.ProductsDataTable products = adapter.GetDataByProductID(1); Northwind.ProductsRow product = products[0]...
  10. SCantoria

    Reading information from a TableAdapter

    I am trying to display the information to a form using TableAdapter. I created a query GetTicketInfo(@TicketID) in the xsd. The ticket id is passed from the dashboard page. int intTicketID = int.Parse(Request["TicketID"].ToString()); AppTableAdapter.ticketTableAdapter UpdateTicket = new...
  11. SCantoria

    How do I pass information from one page to another?

    currently I am using the syntax below to open the other page. <a href="SendMail.aspx">email/SendMail.aspx</a> What I am trying to accomplish is to populate the fields below when the page opens. mailMessage.From = txtSender.Text; mailMessage.Subject = txtSubject.Text; Thanks, Steve
  12. SCantoria

    How do I pass information from one page to another?

    If I am working on one project page and I want the project name to pass to the next page, what would be the best way to do this? Thanks, Steve
  13. SCantoria

    Migrate SBS 2000 box to new SBS 2003 box

    I like this solution. So far what I have is the old box which is currently serving the network and the new box with SBS 2003 installed and configured. Both servers are the same with the exception of the server name. The new box is different. Please send me documentation for this Swing...
  14. SCantoria

    Migrate SBS 2000 box to new SBS 2003 box

    I have two boxes, 1) old box with SBS 2000 installed 2) new box with SBS 2003 installed. I need to migrate the AD database from the SBS2000 box to the SBS2003 box. Will I need to place both boxes in the same network? I cannot seem to find documentation to complete this process. Please help...

Part and Inventory Search

Back
Top