Search results for query: *

  1. D

    Sort gridview columns ascending and descending

    Hi Menthos, I have added the following code for the handler, but I am still not getting anything. Would you be able to advise at all? Protected Sub Button3_Click(ByVal sender AsObject,ByVal e AsEventArgs)Handles Button3.Click Dim sqlConn AsNewSqlConnection Dim sqlCmd AsNew SqlClient.SqlCommand...
  2. D

    Sort gridview columns ascending and descending

    Hello, I am trying to program my page so that when a user clicks on a column heading of a gridview, the data is sorted either in ascending or descending order. So far, I have done it so that the gridview can be sorted: ASP.NET Syntax <asp:GridView ID="GridView1" runat="server"...
  3. D

    Question OnClick orderby ascending and descending

    Hello, I have developed a site in VB.Net and ASP.Net with a database backend that allows a user to enter a centre code and in return it retrieves all records from the datbase where the centre code matches the one provide in the text box and places all records in to a GridView box. My list is...
  4. D

    Question Listbox to display multiple rows of records from SQL Server database

    Hi Menthos, Thank you for your reply. How would I go about building a ListItem? I dont neccessarily want the code for it...I am more after an explanation if you wouldnt mind? Thanks, Dan
  5. D

    Question Listbox to display multiple rows of records from SQL Server database

    Hello, I am creating a site in VB.Net and ASP.Net that allows a user to type a code in to a text box on my form and click search. When the user clicks search, the program goes to the backend database(SQL Server) and retrieves all records when the code matches the code typed in to the textbox...
  6. D

    Null Exception Error When I download an FTP file using a listbox

    I have used a CheckListBox instead and managing to get the selection registered using FOR loop. However, when I go to download the file I get an error message that says: 'The requested URI is invalid for this FTP command.' It is pointing to the following code: Dim ftpResponse As...
  7. D

    Null Exception Error When I download an FTP file using a listbox

    How do I test whether an item is selected? All I am doing atm is printing the value of ListBox1.SelectedIndex Is that correct? Dan
  8. D

    Null Exception Error When I download an FTP file using a listbox

    When you say look at the types of the member, what do you mean? What do you recommend the best way would be to do this? Thanks, Dan
  9. D

    Null Exception Error When I download an FTP file using a listbox

    The following line is throwing the exception: If ListBox1.SelectedItem.Text >= 0 Then Dan
  10. D

    Null Exception Error When I download an FTP file using a listbox

    I have created a program in ASP.Net and VB.Net that allows a user to download a selected file from a listbox that displays a list of files currently sitting on an FTP site. I have got to the point where I can select a file but when I go to download it I get an exception thrown giving a...
  11. D

    Question Using ListBox to display files from FTP site

    Hello, I am trying to program my page in ASP.Net and VB.Net so that when the page loads, a list of files from my FTP site appear on the screen. I am also trying to get it so that a user can select one of the files and download it to their computer. I have been advised to use ListBox using...
  12. D

    Delete a file from the ftp server

    Thank you John, I will have a look in to this. Many thanks, Dan
  13. D

    Delete a file from the ftp server

    The list controls I have seen in design view all seem to relate to database records though. I am starting to get a little bit confused.
  14. D

    Delete a file from the ftp server

    What sort of list controls do you mean? I used the textbox method, so I could get a basic operation working and then build on it. Dan
  15. D

    Confirm user login details on page with user details on a virtual FTP server

    Hello, I have designed a user login page for my website in VB.Net and ASP.Net. At the moment, a user logs in with one username and password that has been coded in to my script. I now need to take it further by removing the hardcoded username and password and setting so that when the user to...
  16. D

    Delete a file from the ftp server

    Hi John, I have got it working now. There is a bit of my code that says If TextBox1.Text <> "" Then It should have been: If TextBox2.Text <> "" Then Thank you very much for all your help, Dan
  17. D

    Delete a file from the ftp server

    Sorry John but what do you mean by status code and description? No error exception is thrown. Dan
  18. D

    Delete a file from the ftp server

    Hello, I am attempting to add functionality to my VB.Net and ASP.Net program that allows a user to enter the name of a file (and its extension) in to a textbox and press on a delete button which will then delete the file from my FTP site. Below is my code so far: Protected Sub...
  19. D

    Question How do I display an FTP directory file list in a grid?

    John, Thank you. I put a hyperlink in, so when the user clicks on it, it takes them to the FTP directory page. Thank you very much. Dan
  20. D

    Question How do I display an FTP directory file list in a grid?

    John, Could you explaina bit more at all please? It would be best to put some sort of list tool on to my form that has a link to the FTP site? Like a RadioButtonList that has a connection to the FTP site? Is that what you are saying? Many thanks, Dan
Back
Top