|
Luc Pattyn wrote: When you refer to queues, I trust you intend to put either byte[] or text lines in there,
not single chars or bytes.
Yep. Thanks again.
Standards are great! Everybody should have one!
|
|
|
|
|
Hi
I am creating a windows application.In this I want to display master detail in one grid.Means i want to place one child grid in parent grid.I searched it on msdn and google but examples are using two grids.One dedicated for master and other one for child.I want to give this functionality in one grid.Deatils may appear by clicking + sign of parent record or ?????
any idea or any help????????????????????
|
|
|
|
|
I know Infragitics grid works this way, but I don't know of any free components.
only two letters away from being an asset
|
|
|
|
|
Do you mean by this that it is not possible with build in datagridview control in C# or i keep on searching?
|
|
|
|
|
Correct
only two letters away from being an asset
|
|
|
|
|
I want to access file attribute of Access.mdb
i.e. Created Date attribute.
How can i access and stored in variable.
please Help me out
|
|
|
|
|
Have a look at the File object in System.IO. It should give you all the info you need.
|
|
|
|
|
Am having difficulty with effective deployment of my application which includes a crystal report.
The added crystal report runs perfectly in the IDE, prior to deployment, but failed after deployment.
Am suspecting the need for a prerequisite file(s) required during deployment.
|
|
|
|
|
Not sure how you deployed so my answer may not help a lot, hope it does though.
If you deployed by using publish from the project properties dialog, then there is a "Crystal Reports for .Net Framework 2.0" prerequisite that can be selected (at least in my install).
Looking at my depoyed app it placed a file "CRRedist2005_x86.msi" in a "CrystalReports" subdirectory of my publish location.
Thanks,
Ware
|
|
|
|
|
hi guys
i m to read these file with out 3rd party tool
.
|
|
|
|
|
Have you tried the office interop assemblies?
|
|
|
|
|
Hello everyone,
i apologize if this a dumb question, but it bothers me since days and as i am a c-sharp newbie i have to ask here
Problem : i want to bind a variable in a class to a form control element.
Example:
namespace testApp
{
class ContainerValues
{
public static ContainerValues gContainerValues = new ContainerValues();
private bool _test1 = false;
private int _test2 = 0;
public bool Test1
{
get { return _test1; }
set { _test1 = value; }
}
public int Test2
{
get { return _test1; }
set { _test1 = value; }
}
}
public partial class ContainerForm : UserControl
{
public ContainerForm()
{
InitializeComponent();
}
}
public partial class ContainerForm
{
private System.Windows.Forms.CheckBox FormTest1;
private System.Windows.Forms.ComboBox FormTest2;
}
What i need now is that the displayed checkbox of the Container Form is bound to the test1 Property of the ContainerValues-Class Instance gContainerValues as well as the selected entry in the combobox FormTest2 is bound to the gContainerValues-Test2 Property. So changing the form value changes the gContainerValues-Value.
Thanks in Advance, and best regards,
AmorphisOne
-- modified at 8:07 Wednesday 7th February, 2007
|
|
|
|
|
Add a binding through the DataBindings property of the appropriate controls. Read more here.[^]
Marc
Thyme In The CountryPeople are just notoriously impossible. --DavidCrow There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith
|
|
|
|
|
Hello,
I have created a simple windows application in c#.net.
And i have and desktop switching application through which we can
switch from one desktop to other.
Now, my question is that, i want the "single instance" of my windows
application to be run on different desktops and can be seen on all dekstops
when switching is done.
How to do that.
Thanks in advance.
Rahul Kulkarni
|
|
|
|
|
Can some one provide me a demo code using this class.
|
|
|
|
|
The MSDN topic provides an example.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Yes. But it couldn't serve my need. My need is, i have created my own application, also it contains my own extension. When i click on files that are created with my application, it should open its contents in my application. This needs to be registerd in registry. So with the help of this class, I hope it can be achieved. Can u pls give a code to achieve this.?
|
|
|
|
|
GunaChinna wrote: Yes. But it couldn't serve my need.
So why didn't you tell us your need in the first place. We are no mind readers.
Regarding your actual problem. Search the articles for "file extension" or something similar and you should get what you need.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Yaa. Sure. Thanks a lot for ur time and patience.
|
|
|
|
|
I have a XML file and I´d like to show only some collums at DataGrid.
I tryed it:
dataGrid1.DataSource = ds.Tables["Aluno"].Columns["nome"];
but it doesn´t work!!
Please help-me!!!
|
|
|
|
|
ur question is not very clear ... first describe it..
Ravi Kant Srivastava
(System Analyst)
HandsOn Technology & Engineering
Gurgaon
(India)
e-mail:ravikant@hte.co.in
|
|
|
|
|
I want to show only some collumns from a XML file.
I have 3 collums: IDName - Name - Age
I want that the datagrid show only Name
I tried:
dataGrid1.DataSource = ds.Tables[1].Columns["Name"];
but it doesn´t work... can you help me?
ThankS!
|
|
|
|
|
Try to use the index value instead?
Like this:
dataGrid1.DataSource = ds.Tables[0].Columns[indexofcolumn];
|
|
|
|
|
I already tried it.. but, doens´t work as well..
thanks!
|
|
|
|
|
My task is to fill a DataSet from a data source and update another data source
in C#.
For example I have two databases in SQL Server (i.e. db1 and db2).
I have table named ProdMkt_Contrib_Link in db1 with following columns:
ProdMkt_Contrib_Link
--------------------
ProdMktContributorID (PK)
ProductMarketID
Priority
Inactive
Contrib_Type_Override
ProdMkt_Contrib_Link_ID
The above columns data should be mapped/sync to the table named
ProdMktContribLink in db2:
ProdMktContribLink
------------------
ProdMktContributorID (PK)
ProductMarketID
Priority
InactiveFG
ContribTypeOverRide
AcumenProdMktContribLinkID
Note: The table name and few column name are different
Suppose few records are added and few are updated in the
db1.ProdMkt_Contrib_Link table.
I have filled the typed DataSet (DS1) with db1.ProdMkt_Contrib_Link (this
contains only added and updated records) ans also filled the another DataSet
(DS2) with db2.ProdMktContribLink (this contains all records).
Now I want that DS1 should be sync with the DS2. That is, the added records
should be added to the DS2 table rows and also updated records should be updated
to the DS2 table rows.
How can I achieve this in c#. Please suggest any good design or sample code.
Thanks,
Kamran
|
|
|
|