User Profile

Collapse

Profile Sidebar

Collapse
kimbred
kimbred
Last Activity: Jul 2 '09, 02:43 PM
Joined: Jan 23 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kimbred
    replied to reauthenticate users
    I've done that, but they would like the cookie to expire when the user leaves the form. Is there any way to do that without adding a logout button?
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to reauthenticate users
    Using forms authentication to get into the Intranet.
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic reauthenticate users

    reauthenticate users

    When a user cllicks into a specific form, I would like to have them re-authenticate due to the personal content of the form they're accessing. I'm not sure what I need to do to get this done. They already have to login to the appllication, but need the second layer of security. I would also like them to be logged out after 15 minutes of inactivity. Anyone have any ideas?
    See more | Go to post

  • kimbred
    replied to Doesn't find grid control
    That was it. Thanks. Not sure the Row Data Bound event is the correct place to put this though. When I select the edit link on the row, all rows magically get the edit link. Thanks again.
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic Doesn't find grid control

    Doesn't find grid control

    Can someone help? I have the code below in which I'm attempting to show or hide the edit control in a gridview based on the value of a column in that view. It doesn't seem to find the control. I've included the RowDataBound event as well as the gridview definition. Thanks in advance.
    Code:
    protected void gvEmployeesBenefits_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            TextBox EditFlg = (TextBox) e.Row.FindControl("txtEditflg");
    ...
    See more | Go to post
    Last edited by Frinavale; May 7 '09, 06:30 PM. Reason: Added code tags. Please post code in [code] [/code] tags.

  • Will do. Thanks for your help/
    See more | Go to post

    Leave a comment:


  • WWW.NEX-TECH.COM
    If I put the http:// on the front, it works now, but you'd think just the site name would be enough. I'm kind of new to web applications so still learning....
    See more | Go to post

    Leave a comment:


  • When I put in DataNavigateUrl FormatString="p agename?variabl e={0}" I get the following.

    "Illegal characters in path. "
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic Problem with hyperlink column in gridview

    Problem with hyperlink column in gridview

    I have a gridview that has a hyperlink column. It gets the web address from a data source. This is all working as it should. The problem is when I click the web address, it doesn't go to the address. It's like it's trying to find the address locally. I know it probable has something to do with the url formatting, but not sure what needs to be done.

    Code:
    <asp:GridView ID="gvEmployeesBenefits" runat="server" DataSourceID="Benefits"
    ...
    See more | Go to post
    Last edited by Frinavale; May 6 '09, 07:58 PM. Reason: Added code tags. Please post code in [code] [/code] tags

  • kimbred
    replied to Adding rows to a gridview
    Is that the way you'd do it?
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to Adding rows to a gridview
    So all my modification will be to the data table then the dataview will just use the data table as a source. Is that correct?
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to Adding rows to a gridview
    The values of several of the columns are dependent on other columns in the rows so I wanted to evailuate the data defore displaying it in the grid. From what I've read, it's not possible to insert rows into a dataview one by one programically. I'm not sure I understand your solution.
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic Adding rows to a gridview

    Adding rows to a gridview

    Here's the deal. I have a gridview that I need to fill by adding one record at a time. Is there a procedure for inserting a record in a gridview?
    See more | Go to post

  • kimbred
    replied to SQL Statemet
    I've run this in the SQL manager and SEQN = 4. But I can't get it to return that value in my method.

    public override int GetSeqNbr(int ABAN8)
    {
    int retVal = 0;
    using (SqlConnection conn = new SqlConnection(S elfServiceConn) )
    {
    StringBuilder sb = new StringBuilder() ;
    sb.Append("DECL ARE @seq int");...
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic Datasets and Crystal Reports

    Datasets and Crystal Reports

    I have a Crystal Report that requires several tables from a dataset to complete. The data from the first two sources seem to work fine but the data from the third doesn't seem to show up. I'm needing to know if I'm filling the datasets correctly based on the code below.

    r = new CrystalReportSo urce();
    r.ReportDocumen t.Load(MapPath( "~/SelfService/Controls/PayStub.rpt"));
    ...
    See more | Go to post

  • kimbred
    replied to SQL Statemet
    It always returns 0.
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to SQL Statemet
    Yes I did test it and it seems to work fine. I just need to know how to return the value of SeqNbr.
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to SQL Statemet
    Each employee has a series of phone records in the database. Each record is assigned a sequence number. Over time, records get changed or deleted so there are gaps in the sequence for a given emplooyee. My goal is to fill that gap. When a new phone record is entered for the employee, I would like to loop through the records to find the first available sequence number and assign it to the record being entered eventually fillling the gap in sequence....
    See more | Go to post

    Leave a comment:


  • kimbred
    replied to SQL Statemet
    It's not returning the sequence number. Basically, it is supposed to step through the employees records and find the first available sequence number then return it to the calling code. This would allow me to enter new records using available numbers rather than having gaps in the sequence.
    See more | Go to post

    Leave a comment:


  • kimbred
    started a topic SQL Statemet

    SQL Statemet

    Can someone tell me what I'm doing wrong here? I'm trying to get this method to return the seqnbr.

    Code:
            public override int GetSeqNbr(int EmpId)
            {
                DataSet ds = new DataSet();
                int SeqNbr = 0;
                using (SqlConnection conn = new SqlConnection(SelfServiceConn))
                {
                    StringBuilder sb = new StringBuilder();
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 2 '09, 03:02 PM. Reason: Added [code] tags: Please post code in [code] [/code] tags.
No activity results to display
Show More
Working...