Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

cnu kamath

@cnu kamath
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • if i refresh my page in asp.net then page will goto home page
    C cnu kamath

    May be you are using iframe in your pages, which is having the Home page set as default page. just check it out.

    Srini

    ASP.NET csharp asp-net

  • Problem with ObjectDataSource + GridView
    C cnu kamath

    Hi, I am using a GridView that bound to an ObjectDataSource. This ObjectDataSource works against the business class containing the methods for updating and retrieving records. My problem is: After updating a record in the database the Gridview is not getting re-binding to reflect the changes. Instead it is throwing an error: "ObjectDataSource 'ObjProfile' could not find a non-generic method 'UpdateUserProfile' that has parameters: RoleID, FirstName, LastName, NickName, BirthDate, StreetAddress, State, Zip, Phone1, Email1, UserID." Any work arounds or help is appriciated. Below is the code that i used: Code written in .aspx page <asp:DropDownList ID="drdUserCategory" runat="server" CssClass="Label" Width="150px" AutoPostBack="true"> asp:DropDownList/ <asp:ObjectDataSource ID="ObjProfile" runat="server" TypeName="AEIBusiness.UsersProfile" UpdateMethod="UpdateUserProfile" SelectMethod="GetUserProfilesByRole" OldValuesParameterFormatString="{0}"> <SelectParameters> <asp:ControlParameter ControlID="drdUserCategory" Name="RoleID" PropertyName="selectedvalue" /> </SelectParameters> <UpdateParameters> <asp:Parameter Name="RoleID" Type="Int32" /> <asp:Parameter Name="UserID" Type="Int32" /> <asp:Parameter Name="FirstName" Type="string" /> <asp:Parameter Name="LastName" Type="string" /> <asp:Parameter Name="NickName" Type="string" /> <asp:Parameter Name="BirthDate" Type="string" /> <asp:Parameter Name="StreetAddress" Type="string" /> <asp:Parameter Name="State" Type="string" /> <asp:Parameter Name="Zip" Type="Int32" /> <asp:Parameter Name="Phone1" Type="string" /> <asp:Parameter Name="Email1" Type="string" /> </UpdateParameters> </asp:ObjectDataSource> <asp:GridView ID="grdUserProfile" runat="server" AutoGenerateColumns="False" BackColor="White" CssClass="Label" DataSourceID="ObjProfile" HorizontalAlign="Center" PageSize="10" AllowPaging="true" EmptyDataText="Record not found." EmptyDataRowStyle-HorizontalAlign="Center" CellPadding="2" GridLines="Vertical" BorderColor="InactiveBorder" BorderStyle="None" Bord

    Windows API help database wpf wcf sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups