Topics
-
- 1 reply
- 1.3k views
Hi everybody, this is my first time to actually deploy a website up to the internet and I am going to do it from home. The site is finished and runs using an MS.Access database as its back-end. The host is a free hosting service and it has an interface much like the "Attach File" upload interface found in most e-mail services. But it is of course better because I can create folders. My question is as to how exactly am I going to deploy the project? Is it as easy as uploading the .aspx, .aspx.resx, .aspx.vb files up to the server and re-creating the paths (because the table is saved in the /database folder)? I mean. I am at a complete loss here.. where do I sta…
Last reply by tfowler, -
SQL Syntax
by Mondeo- 1 reply
- 1.2k views
I've got this SELECT id, memberID, ((Q + V + C + R + T) / 5) AS TotalScore FROM dbo.csd_MemberFeedbacks The 5 values are integers in the database. The statement runs fine but TotalScore is always returned as a whole number. For example if the values in the DB are 3,4,5,4,3 then I want 3.8 to be returned, but I get 4. How can I fix it so TotalScore in a decimal. Thanks
Last reply by MrPaul, -
-
- Administrators
- 5 replies
- 1.7k views
I have a strongly typed dataset, called "Customers" for example. My user chooses to create new customer, i have no existing dataset, so i create a new instance of my Customers dataset. dim dsCustomers as new Customers and instantiate a new CustomersDataRow. dim drCustomer as new dsCustomers.Tables(0).NewRow() At this point i've not Filled my ds as I know i'm creating a new record and don't want to make an unneccessary call to the db. I populate my NewRow with the required data. How do I now insert this row into the actual database? I'm trying to pass it to my attempt at a data access layer (which currently has no reference to the original dataset). I see…
Last reply by DannyT, -
-
- 1 reply
- 1.1k views
Is there a good tutorial for how to integrate SQL Server 2000's Reporting Services into a asp.net page?
Last reply by Shurik12, -
- 2 replies
- 1.9k views
I have started doing a new project and I need to connect to our production database which is Oracle 10g. I have been trying to find information on it with little success. When I try to add a data source, the Oracle connection only goes up to 9i and I tried using ODBC/dsn without success. I would be happy for any help or advice.
Last reply by lorena, -
- 5 replies
- 9k views
Hi, I have a simple datagridview generated dynamically Friend WithEvents dgMemberNotes as DataGridView dgMemberNotes.DataSource = db.GetDataSet("SELECT staff,comment,dtime FROM membernotes").Tables(0) It works fine, however is it possible I can make column 1 a combobox, with selections from another query. i.e. SELECT staffname FROM staffmembers? Thanks
Last reply by PROKA, -
-
- Leaders
- 2 replies
- 841 views
I am creating an F Key switch based on the form keydown event. When I run the app and press the F10 key, the execution freezes for a minute before releasing and letting me press keys again. I suspect that when I press F10 it is doing or trying to do something. Any hints? MT private void frmShell_KeyDown(object sender, KeyEventArgs e) { //fKeys event handler switch (e.KeyCode) { case Keys.F1: this.Text = "F1 Key Pressed" + ", " + e.KeyCode.ToString(); break; case Keys.F2: this.Text = "F2 Key Pressed" + ", " + e.KeyCode.ToString(); …
Last reply by MTSkull, -
-
- 1 reply
- 1.3k views
I have a combobox that is populated with a list of possible values from a database table. Then I bind the combobox so that a specific value shows. All normal stuff, but what I need to be able to do is to allow the user to drop down the combo but DO NOT let them select anything (only view other values). I know this might not be the standard combobox operation, but this is what the customer wants. Any ideas? tia, flynn
Last reply by MrPaul, -
- 1 reply
- 1.1k views
I have found many example of TCP Listeners. How about an example of a UDP listener. Most of my networking programs require UDP sending and receiveing. but I have been stuck with using the winsock activex control. and my latest app I am unable to use the ws control. In my app I want the MID container to receive the data and pass it to the correct child form, but container forms do not like activex controls. Thanks ZeroEffect
Last reply by ZeroEffect, -
-
- Administrators
- 5 replies
- 1.2k views
Hi all I am using the following code to get the name of the previous page that the user visited: Private Function GetPreviousURL() As String Dim script As String = Nothing script &= "<script language=JavaScript id='previous'>" & vbCrLf script &= "document.referrer;" & vbCrLf script &= "</script>" & vbCrLf 'Verify script has not already been registered. If Not ClientScript.IsStartupScriptRegistered("previous") Then 'Register the script. ClientScript.RegisterStartupScript(Page.GetType, "previous", script) End If End Function [c…
Last reply by PlausiblyDamp, -
-
How to get the height of a tooltip control?
Last reply by rbulph, -
- 3 replies
- 1.2k views
im writing an app that scripts a database out to a directory. the user can select to only script tables, or permissions, or sprocs, or all. i dont wana have code like: if(scripttables == true) { //script tables } if(scriptSprocs == true) { //script sprocs } if(scriptPermissions == true)....... that could go on forever, depending on how many groups of things you want to script. can delegates be used or something that looks a little better?
Last reply by MrPaul, -
- 0 replies
- 1.5k views
This was one of those things that was too easy to get, so I thought I would post it here and save the next person some grief In your master template, put this in your code behind: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then 'create an image here - this can be any img that already exists on the site Response.Write("<img id='img1' src ='images/red-x.gif' Style='left: 500px; position: absolute; top: 200px' />") Response.Write("<script language=javascript>;") Response.Write("var dots = 0;") Response.Write("var dotmax = 10;") …
Last reply by TheWizardofInt, -
-
- Leaders
- 2 replies
- 1.3k views
Why does the combobox select all text when it gets focus? I don't see any need for this and note that textboxes don't do it. And is there anything better that I can do to fix itthan: Private Sub ComboBox1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.GotFocus Me.ComboBox1.Select(Me.ComboBox1.Text.Length, 0) End Sub?
Last reply by rbulph, -
-
- 1 reply
- 1.8k views
Hi People i am a kind of beginner to .net. I have got a load of DVD's in my bedroom ad i am sick of my brother taking them all of the time. I want to have a cupboard with a lock on but i want to be able to control the lock with my computer. Just simple like, Button click on and button click off. but i do not know if this is possible an anyone advise me? Thanks for your help in advance
Last reply by headkaze, -
- 2 replies
- 2.1k views
I am writing a simple PhoneBook database program, and part of it requires me to get the values of the currently viewed record. I am using BindingManagerBase to handle browsing through the Phone Book. Right now I am using the following line to get the value of column 0 ("Phone") to retrieve the phone number of the currently viewed record. dataSet11.Tables["PhoneBook"].Rows[this.bindManager.Position].ItemArray[0] I am wondering, can I possibly get the value like ItemArray[] but using the column's name. The above line gives me the value of "Phone". But I would like to use the columns name "Phone". Eg. ItemArray["Phone"], but obviously that only accepts a int ind…
Last reply by headkaze, -
- 1 reply
- 1.1k views
I am impersonating and administrator logon for one of my visual basic.net applications. My problem comes in when I try to print the a report using the application, it keeps going to the default printer under the administrator account and not the user who is currently logged into the computer. I am working with Crystal Report 9.0, I am stopping the impersonation right before the print but it still goes to the administrator account for the default printer. How can I resolve this? Any help offered is greatly appreciated.
Last reply by barski, -
- 0 replies
- 1k views
I am using the Gridview control without a DataSource control. When I click on the Edit button, the page posts back and enters the following code: Protected Sub GridView1_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles GridView1.RowEditing Try Dim row As GridViewRow = GridView1.Rows(e.NewEditIndex) [b]Dim ddlCustomerID As DropDownList = row.FindControl("ddlCustomerID")[/b] ddlCustomerID.DataSource = dstCustomers ddlCustomerID.SelectedIndex = ddlCustomerID.Items.IndexOf(ddlCustomerID.Items.FindByValue(dstCustomers.Tables(0).Rows(row.RowIndex).Item("Custome…
Last reply by wsyeager, -
- 0 replies
- 991 views
Is there any way to get the drop down shown by a TextBox's AutoComplete facility to be as wide as the widest item in it? Also, can you get a RichTextBox to do AutoComplete?
Last reply by rbulph, -
-
- Administrators
- Leaders
- 4 replies
- 4.2k views
I've been trying to do an installer package and it keeps saying that wmp.dll is protected and can't be used. It also says that wmp.dll might not have all its dependencies. How do I fix this?
Last reply by comp_manic, -
-
Who's Online 0 Members, 0 Anonymous, 46 Guests (See full list)
- There are no registered users currently online