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
User Profile
Collapse
-
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... -
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.
BestLeave a comment:
-
The best place to answer all you datagrid queries.
http://www.syncfusion.com/FAQ/Window.../FAQ_c44c.aspx...Leave a comment:
-
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)...Leave a comment:
-
Please be more specific with the error?? Cut paste the code/error message if needed.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).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...Leave a comment:
-
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.Leave a comment:
-
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...Leave a comment:
-
Just a clarification.. Is it a Windows app or Web application? DataGrids are quite different in those scenarios.Leave a comment:
-
-
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...
No activity results to display
Show More
Leave a comment: