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. putrtek

    Access Denied message when accessing Files on XP from Vista

    linney & smah, Thank You very much for your responses. The drive in question WAS originally formatted from the Vista machine before I connected it to the XP box. So a NTFS format is a good possibility. * the files are NOT encrypted I did check that also * Problem only occurs when accessing...
  2. putrtek

    Access Denied message when accessing Files on XP from Vista

    3 computers 2 Vista Laptops connected Wirelessly 1 XP Desktop HardWired Here is my problem.The XP machine has 3 USB HDD's connected. 2 of the HHD's work fine. I'm able to READ/WRITE any file on both drives from either Vista Laptop the 3rd USB Drive is the one giving me problems. I'm able...
  3. putrtek

    Procedure Expects Paramter...

    Thanks for the input / guidance / direction. I have modifed my code again and it now works. Again thank you for the "push" in the right direction. -MARK- Private Sub BindData(ByVal StrOffSet As String) Dim dt As New DataTable Dim Conn As SqlConnection = New...
  4. putrtek

    Procedure Expects Paramter...

    Thanks for the assistance.. Alright I've cleaned up my BindData function and now I get a differant error... System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'usp_incidentsummary_SELECT_TZ_OffSet' Appreciate any help... -MARK- Private Sub BindData(ByVal StrOffSet As String)...
  5. putrtek

    Procedure Expects Paramter...

    Im trying to pass a paremeter to a SQL stored procedure. I'm using a drop down box for the user to select a Time Zone. I'm then tryting to pass a TimeZone OFFSET to mt stored procedure in order to adjust the Dates and times displayed by the query. Right now I get an error...
  6. putrtek

    Updateing the value of a SQL Paremeter

    Jason, I fianlly was able to figure out what was causing the problem. The field on the form was Bound to a the datasource like so... <asp:TextBox ID="WorkLog" runat="server" TextMode="MultiLine" Width="100%" Rows = "5" Text='<%# Bind("WorkLog") %>'></asp:TextBox> Once I removed the...
  7. putrtek

    Updateing the value of a SQL Paremeter

    We are getting closer I think... If I comment out the "workLog' parameter in the ASPX file AND I Commnet out the Add.Parameter line in the code behind the in thoery I should NOT see a "@worklog" parameter in the Trace Log Correct? I'm using the following code to view all the Parameters being...
  8. putrtek

    Updateing the value of a SQL Paremeter

    Using your line as written I get the following error: [COLOR=red] Too many arguments to 'Public MustOverride Function Add(value As Object) As Integer'. [/color red] Mark Buckley www.swiftriverphotos.com
  9. putrtek

    Updateing the value of a SQL Paremeter

    Jason, So far I have still been unable to get this to work. As you suggested I have commented out the "workLog" Update Paremeter in my Aspx file. In my code behind I have replaced this line SqlDataSource1.UpdateParameters("WorkLog").DefaultValue = MyTempWorkLog.ToString with the following...
  10. putrtek

    Updateing the value of a SQL Paremeter

    Jason, Thanks... I'll try this and let you know... -MARK- Mark Buckley www.swiftriverphotos.com
  11. putrtek

    Updateing the value of a SQL Paremeter

    Jason, Thank you very much for your response. You have helped me several times before in the past and your advise has always been right on. I have changed my Paremeter as you suggested and it has not helped. I had this code ... <asp:Parameter Name="WorkLog" Type="String"...
  12. putrtek

    Updateing the value of a SQL Paremeter

    Can anyone tell me what I;m doing wrong here? Is there a better way to do this? Thanks in Advance for any assitance or direction you can give me. -MARK- Mark Buckley www.swiftriverphotos.com
  13. putrtek

    Updateing the value of a SQL Paremeter

    Unfortunately not, there is no other properties like 'value' or 'text'. Is there another way to do this? Mark Buckley www.swiftriverphotos.com
  14. putrtek

    Updateing the value of a SQL Paremeter

    I have a Field called 'worklog'. Each time the field is updated I want to add some text to the Beginning of the field before it is sent to the Database. for example: The Text the User Typed in is "Here is some sample text" Text I want to update the data base with is "Entry made on 7/3/2007...
  15. putrtek

    Erroring Exporting Gridview to Excel

    I found the answer to this problem... I should of done this before posting but I googled the error message and found this response http://geekswithblogs.net/azamsharp/archive/2005/12/21/63843.aspx Adding this Blank function fixes the error: Public Overrides Sub...
  16. putrtek

    Erroring Exporting Gridview to Excel

    I'm using the code below in a attempt to export a Gridview to Excel. The Gridview itself displays fine. I get an error when I click on the 'Export to Excel button' I get a error of "Control 'Gridview1' of type 'GridView' must be placed inside a form tag with runat=server. " the error is on the...
  17. putrtek

    Excel Automation

    I am using very similar code trying to export data to Excel have tried this code but I am getting an error on the Render line... I get a error of "Control 'Gridview1' of type 'GridView' must be placed inside a form tag with runat=server. " on the line Gridview1.RenderControl(htw) (line 32...
  18. putrtek

    Problem passing User Name to SQL Paremeter

    Jason, I FINALLY got this to work using the following line in the Page Load Sub of the code behind file... SqlDataSource1.UpdateParameters("UpdatedBy").DefaultValue = Context.User.Identity.Name Thanks you so much for pointing me in the right direction. Mark Buckley www.swiftriverphotos.com
  19. putrtek

    Problem passing User Name to SQL Paremeter

    We are so close... If I use the Syntax you suggested with the Equal sign it will update the record but it passes the literal value <%=User.Indentity.Name %> instead of the Actual logged in Users Name. I am able to create a text box and assigned the Text of the box to User.Indentity.Name and...
  20. putrtek

    Problem passing User Name to SQL Paremeter

    Hey Jason, Thanks Agind for the asistance. When I attempt to use this syntax I get an error saying 'Value' is not a valid attribute of Parameter. However DefaultValue IS so I changed your code to <asp:Parameter Name="UpdateBy" Type="String" DefaultValue ='<%#User.Indentity.Name %>'...

Part and Inventory Search

Back
Top