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
A

arefkarimi

@arefkarimi
About
Posts
9
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ObjectDatasource Edit/Delete problem
    A arefkarimi

    Hi, I want to work with some data with an ObjectDataSource. The data comes from a DB table which have two fields: ID (primary key) and Title. I have created such a class: [System.ComponentModel.ObjectData(true)] class Biz { public Biz() {} [System.ComponentModel.ObjectMethod(Select)] public DataSet FetchAll() { ... } [System.ComponentModel.ObjectMethod(Update)] public void Update(int Serial, string Title) {...} } I have assigned this class to my ObjectDatasource. And I show the records with a Gridview control. Since ID field is PK it must not be update. so I make Id field Invisible or Readonly. Then when updating the records, only Title field is edditable. Afterwards, in Update method, Serial parameter is always 0 (becasue Id was not editted) and only Title field has a correct value. I need Serial field's value to update the Table because more than one person may have the same name. I have written a code in GridView's RowUpdating event and bypassed the Biz.Update method but I am quite sure it is a wrong job. Please let me know what to do to make the ObjectDataSource update records by itself. Thanks

    Aref

    ASP.NET database help announcement career

  • TableLayoutPanel and Getting a Cell by Mouse position
    A arefkarimi

    Hi All, I have a TableLayoutPanel on a form and I want to let the user drag and drop objects on to it. I need to find out on which cell the dragged object has been dropped. is there any way to do it? Thanks a lot

    Aref

    C# question

  • Multiview in Winform app.
    A arefkarimi

    Hi gurus, In an app. I need to have a Multiview control, like ASP.NET Multiview, to show different set of controls at a time to the end-user. As far as I know there is not such a control in .NET for WinForm apps. I also tried to hide TabbedControl's tabs and hide/show pages via code but I did not manage to do it. Can anyone help me how to solve this problem out? Thanks

    Aref

    C# help csharp asp-net tutorial question

  • Help me to design a user form maker!
    A arefkarimi

    Hi GuyThiebaut, Thanks for the reply. First I must say that I dont want to write this program by my wish! The company in which I work have an old product line (written by Delphi) and a new .NET product line. In the Delphi product line there is such a program (we call it Form Maker) and I must say that our end users love it! They love it because they can extend the system's forms or they can add their desired forms. for example in Office Automation system, there is a Letter form. In some cases, some kind of letters have some information which our Letter form doenst support them. So the users can design an extra Letter form and attach it to the main Letter form. Or in some cases some users need to enter some data and make reports out of them but our total system doenst contain such a feature. For instance suppose that our integrated system has Accounting and Inventory programs but no Appointment system. By our Form Maker the user can design his own Appointment form in a few minutes and use it. Our Form Maker can only save and load data and there is no complex business supported in it. As I mentioned, our Delphi systems has a Form Maker program. This program lets the user design the forms and then based on the structure of each form it creates some DB objects (i.e. Tables, Indcices...). When I was asked to write it in .NET I tough I would better search for better ways (better architecture or design) and not to rewrite the same thing in .NET. When I said "persisting entities" I ment to keep them somewhere, not DB only. I googled in web and I found out that there are alot of Form Makers on the globe :) Thanks again Aref, MCTS and MCPD

    C# database design architecture help question

  • Help me to design a user form maker!
    A arefkarimi

    Hi gurus, I must develop a software which lets the end-user design his own form and fill it afterwards. In the other hand the user will define the form's structure (simple or master/detail) and starts entering data in it. I'd like to know that from your point of view what is the best architecture/design for such a program. Specially what is the best way to persist entities inside DB. Thanks alot Aref , MCTS & MCPD

    C# database design architecture help question

  • How to disable a ListViewItem?
    A arefkarimi

    It is pretty clear that what Enabled and Disabled mean. As you mentioned , Disable items must look Gray and could not be selected. Also their Click, Doubleclick and other such events must not be triggered. thanks

    Aref

    C# question tutorial

  • How to disable a ListView item?
    A arefkarimi

    Hi gurus, I need to disable some items inside a ListView control. As far as I know ListViewItem has no Enabled property or something like it. How can I disable a ListViteItem? Thanks

    Aref

    C# question tutorial

  • How to disable a ListVite item?
    A arefkarimi

    Hi gurus, I need to disable some items inside a ListView control. As far as I know ListViewItem has no Enabled property or something like it. How can I disable a ListViteItem? Thanks

    Aref

    C# question tutorial

  • How to disable a ListViewItem?
    A arefkarimi

    Hi gurus, I need to disable some items inside a ListView control. As far as I know ListViewItem has no Enabled property or something like it. How can I disable a ListViteItem? Thanks

    Aref

    C# question tutorial
  • Login

  • Don't have an account? Register

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