Search results for query: *

  1. R

    writing to Excel ?

    hello, I am trying to write to an Excel sheet some information. on sheet 1 I would like names on sheet 2 I would like addressess How can I save information on sheet2, sheet3, and so on. I used this but it only goes up to sheet 3 and I need more than 3 sheets: < Dim app As New...
  2. R

    DataGrid ?

    I have a datagrid with a Hyperlink column. In this link I would like to pass multiple values about that row to another form. Is there a way to have 2 DataNavigateUrlFields? this way i could pass something along these lines DataNavigateUrlFormatString="mypage.aspx?MID={0}...
  3. R

    dialog box problem

    can someone help me with a dialog box problem. I need to be able to select files from my dialog box. using the code below only allows me to view the folder and not the file inside the folders. < dlgDirectory.SelectedPath = "C:\" dlgDirectory.Description = "Select a Folder." 'show the...
  4. R

    combo box question

    can someone let me know how to set my combobox to a specific item in my list. (q) is the id number of the row im trynig to set the combobox to. this is the code im using. < Private Sub fillQuestionlist(ByVal q As Integer) Dim rowdata As ADODB.Recordset rowdata = fillQuestion()...
  5. R

    arraylist reading?

    I have structures that I am filling with data. Then i fill an arraylist with all the structures. then Im trying to collect all the data but im getting an error. can someone help. this is how im retreiving it. Dim item As header For Each item In MyWO mysst += item.filename Next Dim item1 As...
  6. R

    Refresh combo box?

    I have combo boxes that when I click on a button i would like to have refreshed. Meaning, I want my first option to be displayed in the combo box and NOT the selection I just previously made. thanks J
  7. R

    File attachments

    Hi all, I am trying to include a page in my project where the user will be able to search for a file in his/her pc and attach it to the work being submitted to the database. 1) I need to create the drop down list so the user could find his/her file. 2) I need to include this file in the...
  8. R

    date countdown

    I need some help with keeping track of dates. Im creating an app where someone will pay monthly. I would like a count down from 7 days out. So, If today is within 7 days i would like to have a warning come up on my page load letting me know payment is due within 7 days. I would also like...
  9. R

    data manipulation ?

    I have a function that returns a datatable. Then I retreive information from this datatable using the .Row(number).Item(number) The data that I am retreiving I am putting it in a table like so: <code> Response.Write("<tr style='height:.25in'><td width=684 colspan=7...
  10. R

    ?? on response.redirect

    Im trying to use the response.redirect to connect to another page. This page will fill a datagrid on page load, but if the datagrid is going to be empty I would like to go back to the page i just came from. If i try using response.redirect("mypage.aspx") then it recreates a whole new page...
  11. R

    loop help

    I have 52 of these statements. Can someone please help me make them a loop or do until statement? If weekVar Is W1 Then W1 = e.Item.Cells(2).Controls(0) Else W1 = Nothing End If If weekVar Is W2 Then W2 = e.Item.Cells(2).Controls(0) Else W2 = Nothing End If If weekVar Is W3 Then W3 =...
  12. R

    date ?

    I have 2 textboxes that are currently being populated by a calendar. I have them set up so that the start date is never greater than my end date. The only way to input a date to these textboxes is thru the calendar. I would like to be able to allow my users to write the date, if they want...
  13. R

    reading a file within a directory

    I would like to read anything containing (VSU.log) in it. Currently this is what I have but if the filename is Ex: 12345ABCvsu.log it does not pick it up. It only finds the file that is named vsu.log Is there any way to add something so that it reads any file containing vsu.log in it...
  14. R

    calendar ?

    Im have a start date and an end date. I would like for my users to be able to input the same date for the start date as for the end date. The only way i get around this is by selecting a different end date then going back in and selecting the same start date. ex. start date 10-1-04...
  15. R

    text validation

    I have this code <code> If e.Item.Cells(1).Text = "INFO" Then e.Item.BackColor = System.Drawing.Color.LightBlue End If </code> Instead of searching for "INFO", I would like to search for all words containing capital letters. can anyone help me with this. Jose
  16. R

    table merging

    I have two tables each with a date field. I have to combine these two tables and sort on the date. I want the date from each table to be on the same column though, not in seperate columns. Thanks for the help Rock *
  17. R

    drop down list add

    I have a drop down list that gets populated by a database. I would like for the first thing to show in the dropdown list to be ((SELECT ALL)) I have some code but it adds ((SELECT ALL )) at the bottom of my dropdownlist and I want it at the beginning. <my code> Private Sub Page_Load(ByVal...
  18. R

    data manipulation

    I would like to make a simple query. I have a dropdownlist and two text boxes. How can I query my sql server db using those 3 variables as the (where) criteria so that I can display the (select) part of it in a datagrid. Therefore I need to connect to my db. make the Select From Where...
  19. R

    calendar ?

    Hey all, Im trying to pass this Source Error: Line 37: Line 38: Dim Date_OpenParam As New OleDbParameter("@Date_Open", OleDbType.VarChar, 50)Line 39: Date_OpenParam.Value = Calendar1.selectedvalueLine 40: dbCommand.Parameters.Add(Date_OpenParam)Line 41: but keeps...
  20. R

    skipping a line

    Hello, I am getting an error when reading mySTR if the line that I read is empty. Does anyone know how to skip a line and continue to the next line in my Do Until, Loop statement. here is my code. Do Until r.Peek = -1 Dim mySTR As String mySTR = r.ReadLine Loop Thanks Jose
Back
Top