User Profile

Collapse

Profile Sidebar

Collapse
sainin
sainin
Last Activity: Sep 25 '06, 07:12 AM
Joined: Sep 5 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sainin
    replied to rendering controls from database in runtime
    in .NET
    I am assuming that its a Windows Application; though it doesnt matter.

    Load the form => Fetch controls (or Control properties) from the database => Render all the controls using the data you have (oCtl.Width = ...; etc).

    It seems so easy. OR probably I misunderstood you (Write in detail what you want to achieve if so).

    Best
    See more | Go to post

    Leave a comment:


  • sainin
    started a topic Application Specific WINDOWS HOOKS
    in .NET

    Application Specific WINDOWS HOOKS

    I want to capture (and replay) the keyboard & mouse events for a windows application. This application is written in C# and uses a number of forms and threads. Thankx to the community; I have seen a number of examples which talk about using WinAPIs to capture system level events. Can anyone help me with a link/sample code to achive application specific event capturing. Please mind that I want to replay these events as well..

    T...
    See more | Go to post

  • So you want to use a bound and unbound dataset to populate the control. Here are the steps:

    - Create a third dataset (or datatable or dataview or whatever you are using).
    - Populate it with the bound data and then unbound data.
    - Use it to populate your control.

    Best
    See more | Go to post

    Leave a comment:


  • The best place to answer all you datagrid queries.

    http://www.syncfusion.com/FAQ/Window.../FAQ_c44c.aspx...
    See more | Go to post

    Leave a comment:


  • sainin
    replied to How do I cancel?
    in .NET
    Polygon (Thats a nice name).

    OK. So here is the deal. Assume that your main form is FrmMain, and the search functionality is another class (say ClsSearch) OR just another function in the FrmMain class. Whichever way it is, the issue is how to get the results back when the search is complete (in a different thread), so that you can update some controls or write the search results back to the main form.

    The answer is (1)...
    See more | Go to post

    Leave a comment:


  • Please be more specific with the error?? Cut paste the code/error message if needed.
    See more | Go to post

    Leave a comment:


  • Looks like you tried to rename, recreate the aspx OR you renamed the class name in the aspx.cs.

    Check the qualified name for the class. You do not have any class by this name (_Default).
    See more | Go to post

    Leave a comment:


  • Patrick. The error messages are very clear. You are trying to compare a listview item (type is listviewitem) with other types (such as integer, string). .Net is a type-safe environment and wont let you compare different types.

    So the way is to read the listview item's value. Convert the value to the type you want to compare (such as datetime, integer, string); use Convert(..., Int32) e.g. And then compare.You would like to catch any...
    See more | Go to post

    Leave a comment:


  • sainin
    replied to How do I cancel?
    in .NET
    Run the SEARCH functionality in a different "unjoined" thread. That will not bother the main thread, and you will be well able to click anywhere. Make sure to kill the SEARCH thread and any DB connections at appropriate call (CANCEL??).

    Hope that helps.
    See more | Go to post

    Leave a comment:


  • sainin
    replied to Datagrid row color
    in .NET
    There are a couple of ways to achive so. The easiest I presume is to override the paint method for the datagrid columns.

    Here is a nice link. You will find most of the datagrid related issues here.

    http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.asp...
    See more | Go to post

    Leave a comment:


  • Just a clarification.. Is it a Windows app or Web application? DataGrids are quite different in those scenarios.
    See more | Go to post

    Leave a comment:


  • sainin
    replied to .Net
    in .NET
    Can you be more specific with the Error Message??
    See more | Go to post

    Leave a comment:


  • sainin
    started a topic Application Specific Windows Hooks??
    in .NET

    Application Specific Windows Hooks??

    I want to capture (and replay) the keyboard & mouse events for a windows application. This application is written in C# and uses a number of forms and threads. Thankx to the community; I have seen a number of examples which talk about using WinAPIs to capture system level events. Can anyone help me with a link/sample code to achive application specific event capturing. Please mind that I want to replay these events as well..

    T...
    See more | Go to post
No activity results to display
Show More
Working...