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...
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...
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...
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)...
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...
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...
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...
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
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...
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"...
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
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...
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...
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...
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...
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
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...
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 %>'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.