Search

You searched for the word(s): userid:686102

Matching Posts

  • Keeping FormView values after insertion fails

    I have a FormView that I use to insert data. What I want is to keep values in the FormView controls after insertion fails. I have tried many ways but I always get empty controls in the FormView. The only way I can keep the values is setting e.Cancel = true in OnItemInserting event handler, but by that I am not inserting anything at all!
  • Re: Invalid report file path

    Any ideas?
    Posted to Crystal Reports (Forum) by ashraf_gawdat on 8/20/2007
  • Re: Invalid report file path

    I have the same problem, and the idea is that I don't have a rpt file. And if I must have such a file, what is the use of SetDataSource() method if the datasource will be defined in that file?
    Posted to Crystal Reports (Forum) by ashraf_gawdat on 8/19/2007
  • Re: Control in GridView could not be found

    No, I can't update using the above code. As I mentioned this is using SQL 2005 express, but when using SQL 2000 it works fine. Is the way I connect to the database has an effect? I connect to SQL 2005 express using windows authentication but connect to SQL 2000 using SQL authentiation. Is using different edition other than express edition (such as developer edition) will differ? The problem is that I can't test that because I don't have any other edition right now.
  • Re: Control in GridView could not be found

    I was working on sql server 2005 express, but when I used sql 2000 it worked fine! What could make it not working in sql 2005?
  • Re: Control in GridView could not be found

    This is not the problem now, the problem is that I can't update any thing in the gridview at all. I've taken care of every note I found in this issue on the internet: Set the DataKeyNames to the primary key field, set ConflictDetection to OverwriteChanges, and also I made it in the simplest way and didn't change the default textboxes in the edit mode, I even left the gridview columns as bound fields and didn't change them to template fields. But always the same result: No update at all !!! No update
  • Re: UPDATE/DELETE not working in Data Controls

    It seems that the solution is just setting ConflictDetection to OverwriteChanges instead of CompareAllValues. But that is not the problem in my case, because I've already set it to OverwriteChanges but still no updating happens. I've been searching for a solution for 2 days now but found nothing usefull, all the solutions I found didn't help me. It seems that I'll throw the datagrid into the trash and do the work manually.
  • Re: Control in GridView could not be found

    But how can I access the ClientID property inside the ControlParameter? There is no way to do that. On the other hand I tried to get the ClientID of the control manually from the HTML source of the page, and placed it in the ControlID property in the ControlParameter, but still have the same error. The only soliution I found after searching is to remove the ControlParameter completely and use use only a Parameter control with its name set to the DataBound field. But the problem is that I used ControlParameter
  • Control in GridView could not be found

    I'm using a gridview to show, update and delete data. I placed a DropDownList in EditItemTemplate in one TemplateField and assigned its ID to 'ddlEducationDegUpdate'. Then in the UpdateParameters I placed a ControlParameter with ID 'EducationDegID' to select the value to update from the above DropDownList, and assigned the ControlID of the ControlParameter to the ID of that DropDownList. But when I click Update in the edit mode I get an error that says: Could not find control 'ddlEducationDegUpdate
  • Re: Log the user out without LoginStatus control

    This worked fine with me. I made a new page and named it LogOut.aspx and called this method in the page load event and then redirected the user to the login page. The user signed out successfully. Thanx for the answer.
    Posted to Security (Forum) by ashraf_gawdat on 2/4/2007
Page 1 of 2 (15 items) 1 2 Next >