User Profile
Collapse
-
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? -
-
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? -
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.Leave a comment:
-
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");Last edited by Frinavale; May 7 '09, 06:30 PM. Reason: Added code tags. Please post code in [code] [/code] tags. -
-
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....Leave a comment:
-
When I put in DataNavigateUrl FormatString="p agename?variabl e={0}" I get the following.
"Illegal characters in path. "Leave a comment:
-
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"
Last edited by Frinavale; May 6 '09, 07:58 PM. Reason: Added code tags. Please post code in [code] [/code] tags -
-
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?Leave a comment:
-
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.Leave a comment:
-
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? -
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");...Leave a comment:
-
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"));
... -
-
Yes I did test it and it seems to work fine. I just need to know how to return the value of SeqNbr.Leave a comment:
-
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....Leave a comment:
-
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.Leave a comment:
-
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();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
Leave a comment: