Search

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

Matching Posts

  • Check for database nulll value?

    hi all, I already search around but I still couldn't get it to work. Could someone help me with this? Invalid attempt to read when no data is present. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present. Source Error: Line 822: if (myreader.HasRows)
  • Re: Check for database nulll value?

    thanks, you were right. I miss that code
  • Re: Project Permission layout help

    Thank you for your idea. Let me see if I can do the list box style. Actually, my projects table are little more complicated. I have 4 tables Users: id, LastName, Firstname Projects: id, Project Desc Tasks: id, Task Desc, ProjectID Task Permission: id, TaskID, UserID Can I still do that listbox style?
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/23/2009
  • Re: Project Permission layout help

    Thank you very much for your help. Can you also help me on this? On my Employee Listbox, if I turn on multiple selection, when I click on add user, it only adds 1. How can I do my button click so that it allows to add multiple user? Thanks here is my button click code protected void Addbtn_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["TimeTrackerConnectionString"].ConnectionString); SqlCommand cmd
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/23/2009
  • Re: Project Permission layout help

    anyway, I already got my multi-selection button working for (int i = 0; i < PermissionList.Items.Count; i++) { if (PermissionList.Items[i].Selected) { conn.Open(); SqlCommand cmd = new SqlCommand("Delete from EngPermission Where id = @id", conn); cmd.CommandType = CommandType.Text; cmd.Parameters.AddWithValue("id", PermissionList.Items[i].Value); cmd.ExecuteNonQuery(); cmd.Dispose(); conn.Close(); } }
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/23/2009
  • Project Permission layout help

    Hi I'm doing a timesheet program. I'm stuck on Project permission layout page. I have 3 tables Tasks: id, Task, Description Users: id, Employee Name Task Permission: id, TaskID, EmployeeID I don't know how to design a layout so that A project manager could select a task to see who has permission to that tasks. He can also add or remove a person from a task. Can someone give me some ideas? I'm stuck at this point. I don't know what should I have on a page: dropdownlist, checkboxlist
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/20/2009
  • UpdatePanel problem

    Hi everyone, I'm doing a timesheet program. I have a submit form & a databound gridview. When the first time I loadup the page, I entered everything, & I click on submit button. Nothing happen. Then, I have to click on the submit button again, my timelogs go thru the 2nd time. Is there a problem within my Update Panel that prevent me from submit the first time? When the first time I loadup the page, I always have to click on submit button twice. My markup code something like this <update
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/13/2009
  • Re: UpdatePanel problem

    on my textbox, I have several server side validation. Is that the reason why? <update panel> <contenttemplate> <gridview here></gridview> <Panel> timelogs submission form here Submit button here </panel> </contenttemplate> <update panel>
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/13/2009
  • Re: UpdatePanel problem

    sorry, I miss the submit button. The submit button is inside update panel. here is the markup code <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table width="100%" border="1"> <tr valign="top"> <td width="25%"> <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Employee:" /> <br /> <asp:Label ID="submitby" runat
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/13/2009
  • Re: UpdatePanel problem

    I think I figure it out. At the end of updatepanel, I have to put in triggers postback thing for it to work properly </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="TimeDetail" /> <asp:PostBackTrigger ControlID="TimeOffGrid" /> </Triggers> </asp:UpdatePanel>
    Posted to Data Presentation Controls (Forum) by flyby35 on 11/13/2009
Page 1 of 30 (298 items) 1 2 3 4 5 Next > ... Last »