Search results for query: *

  1. partha.majumdar

    Data not updated in GridView

    This was silly. I did not put the fetch function in IsPostBack check. Regards, Partha
  2. partha.majumdar

    Specific colour for each column of a GridView

    Thanks. I also found that through the HTML content, the BackColor property can be set for the ItemTemplate. Regards, Partha
  3. partha.majumdar

    Which control to use?

    Dear Sir, I used the GridView. I created template column. In the ItemTemplate of the TemplateColumn, I have placed the TextBox. The TextBox has AutoPostBack property enabled and I have written a handler for the TextChanged Event. So, it works. Only issue (as of now) is that since the postback...
  4. partha.majumdar

    Error setting Profile

    Dear Sir/Madam, I am trying to use OracleProfileProvider. Now, I have initialised all variables. Yet it is giving a NullValueException at the point of setting the profile value. When I debug, I can see that all the variables are initialised. The error line is marked in bold. Thanks, Partha...
  5. partha.majumdar

    Formatting contents in a DropDownList

    Dear Sir/Madam, I have a dropdownlist which contains a list of tasks which are in defferent status. Depending on the status, I would like to colour the tasks when they appear in the dropdownlist. How can I achieve the same. Thanks in advance. Regards, Partha
  6. partha.majumdar

    How to capture event on Text box placed in a GridView?

    Well I found a way. CType(gvTimeSheet.FooterRow.Cells(2).FindControl("lblTotal" + lstrDayName), Label).Text = _dtblMain.Compute("Sum(Day" + lstrDayName + ")", "1=1").ToString Regards, Partha
  7. partha.majumdar

    How to capture event on Text box placed in a GridView?

    Sorry for this question as I have found a way to find the total. I used DataTable.Compute method as follows: _dtblMain.Compute("Sum(Day_Saturday)", "1=1") Now the problem is in displaying this value in the footer. I have placed a label control in the footer, but cannot find any method to get...
  8. partha.majumdar

    How to capture event on Text box placed in a GridView?

    Dear Sir, I invoked a method from the TextBox for the OnTExtChanged event as follows <asp:TextBox ID="tbTimeSat" runat="server" Height="20px" Width="53px" MaxLength="2" OnTextChanged="SatTimeChanged" Text='<%#...
  9. partha.majumdar

    Specific colour for each column of a GridView

    Dear Sir/Madam, I have a GridView with seven columns for 7 days of the week besides other columns. Now I want to colour the columns for Sat and Sunday differently from the other days. Each of the column for the week days has been defined as a Template column. Now, how do I achieve this. Please...
  10. partha.majumdar

    How to capture event on Text box placed in a GridView?

    DEar Sir/Madam, I have used a GridView in which I have created a TemplateColumn. In the ItemTemplate of the TemplateColumn, I have placed a TextBox. For this TextBox, I have made AutoPostBack as True because I want to capture the moment a value changes in the TextBox. Now, how do I capture this...
  11. partha.majumdar

    Which control to use?

    DEar Sir/Madam, I need king a ASP.Net application for Time Data MAnagement. I want to make an excel like grid where I will have the projects on the rows and the dates in the columns. Now I want that users should enter number of hours in the cells intersected at the project and the dates. What I...
  12. partha.majumdar

    Logged in user

    Dear Sir, Web Forms I am trying to create a ASP.Net application. Regards, Partha
  13. partha.majumdar

    Logged in user

    DEar Sir/Madam, I am using ODAC and have used OracleMEmbershipProvider. Now, I am able to login using the default page provided by .Net when an application is created. However, how do I know the details of the Logged in user like the Logged in user name, password, etc. Regards, Partha
  14. partha.majumdar

    Conditionally showing an image in DataGrid

    Well I found the solution. Thanks <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Test1.jpg" Visible='<%# DataBinder.Eval(Container.DataItem, "New") = "True" %>' />
  15. partha.majumdar

    Conditionally showing an image in DataGrid

    Dear Sir, I have defined a template column in a data grid and in the template I have placed an image. I want the image to be displayed if the row is a new row. I can track the status of the row being new from the column NEW in a datatable. The DataSource for the DataGrid is this DataTable...
  16. partha.majumdar

    Data not updated in GridView

    Dear Sir, I have a GridView defined as follows. ============== <asp:GridView ID="dgMain" runat="server" AutoGenerateColumns="False"> <Columns> <asp:BoundField DataField="TeamCode" HeaderText="Code" ReadOnly="True" /> <asp:TemplateField HeaderText="Name">...
  17. partha.majumdar

    Login Control

    Dear Sir/Madam, I found the Oracle MEmbership provider by installing ODAC. I included the following code in the web.config (as provided in the documentation). <membership defaultProvider="OracleMembershipProvider"> <providers> <clear/> <add...
  18. partha.majumdar

    Unable to use designer due to ORacle Error

    Yes. I used the download ODTwithODAC112012. Regards, Partha
  19. partha.majumdar

    Unable to use designer due to ORacle Error

    Dear Sir, While trying to connect to the database from the designer, I am getting the error as shown in the attachment. I have reinstalled Oracle, ODAC and also MS Visual Studio. Please let me know what need doing. REgards, Partha However, when I connect to the database from the program...
  20. partha.majumdar

    Oracle DB connection not working

    Dear Sir/Madam, I had a test code to connect to oracle database which was running fine. However, now I am getting the below exception. Please help. Regards, Partha ============================== System.TypeInitializationException was unhandled Message=The type initializer for...
Back
Top