MajP
Thanks, I tried it both ways and added the single quotes it still throws on this line Me.Bookmark = rs.Bookmark, I'll have to fill in each control line by line from the recordset? I Think...
"The beatings will continue until morale improves
Hello TheAceMan1 and MajP
Thanks!!! for the help, however, no joy it still throws error 3021 on this line - Me.Bookmark = rs.Bookmark. I can take it out and nothing is thrown but none of the textboxes or other controls get filled in with the relevant info...
Any Ideas
"The beatings will...
rs.FindFirst "[ID] = " & "'" & Str(Me![Combo27]) & "'"
I tried that no good, but thanks, it throws the same exception...
"The beatings will continue until morale improves
I'm getting an Error 3021 Exception in an Access2003 VBA Module
the following code is throwing it;
Private Sub Combo27_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ID] = " & Str(Me![Combo27])...
Hello All
I am using VS2005 and the AjaxToolKit. I am trying to use the dropshadowextender on a panel control to no avail. Am i wrong in assuming this thing will work on .NET2.0? Anyway it does not throw any exceptions, Could it be that I placed into my master page? Anyway tried it with a...
Thanks Jason:
I suppose I could use something like php's urlencode. But the post? This is only going to be a url or series of URL's in an html e-mail It want have a form tag. Does .NET have a way around this?
TIA
meonR
"The beatings will continue until morale improves
I want to pass a query string with a parameter to a webservice. Something like this:
http://SomeWhere/MyWebService.asmx?op=StartIt=someParam="SomeVal"
This does not work.
[WebMethod]
public void StartIt(string someParam)
{
string someVal =...
Ok got it this time the command text should be
dataCommand.CommandText = "DELETE FROM CashierMain WHERE RowID= '" + id + "'";
MeonR
"The beatings will continue until morale improves
Jason
Thanks! Here is what I came up with, this sort of works but now it deletes everything in the table!
SqlConnection conn = new SqlConnection(connString);
System.Data.SqlClient.SqlCommand dataCommand = new SqlCommand();
string id =...
Thanks
Yes I tried that. same exception.At this point I think this thing is good for displaying data only, for anything else, its worthless. DataKeys is the only way, as far as I can tell of getting at the row to delete/update etc. But it just does not work. I have been 3 days fooling with this...
Thanks:
I added this:
string rowID = (string) DataGrid1.DataKeys[e.Item.ItemIndex];
mySqlCommand.Parameters["@RowID"].Value = rowID;
Throws:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
What am I doing wrong?
MeonR...
Hello All:
I am trying to get a webcontrols DataGrid(NET2.0) to update/delete. I have this code in the DeleteCommand event in the code behind and its throwing this exception:
System.IndexOutOfRangeException: An SqlParameter with ParameterName '@RowID' is not contained by this...
Thanks:
Ok, I manually added the asp:content control but its still not picking up the content from the master page. Something else is going on.
"The beatings will continue until morale improves
Thanks... I also noted that the contentplaceholder on the derived page is in design view showing Content - Content1(Master) instead of custom as it usually does.
Here is the code
//Master
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>...
Thanks All
I created another project as you suggested, same problem, its like the master and derived pages are locked together and I can only edit the master page. I also went to another project I had and did the same thing, worked fine?!?! Any ideas?
Thanks
MeonR
"The beatings will continue...
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.