|
this shows only one record of field that we specified . but I Want to show all record this field column .
my field is "Name" in the table .
regards,
s_mostafa_h
|
|
|
|
|
you can build all names in to a string, like this:
name1,name2,name3
then split it in crystal report formula editor?
I am not sure which manner you used in crystal report.
if you can't split it. I have no idea.
may be you need contact crystal report support to solve
your problem?
|
|
|
|
|
hi all how do u do a password autherication application using VS 2003 i have found some articles here but it's in 2005 format and i cant open the source code...
can anyone give me links to related articles in vs03 version ??
thanks
|
|
|
|
|
there no related articles in VS2003 if the article is about Membership.
|
|
|
|
|
To create a simple registration system for my program, I create a fingerprint from the users HD serial number, and create a 'salt' with the user's name, email, and the program name. This is then hashed, and compared with the key that I provide them based on the HD serial they provide me.
What are others doing?
|
|
|
|
|
I think using the HD serial number is quite user-unfriendly. Harddisks tend to fail sooner or later and can easily be exchanged. So if you have to request a new key because the SW you bought doesn't work any longer after a disk failure, I'd be quite pissed.
Binding a software to a single PC can never be done 100% safe and user-friendly, but in my company (we don't create shareware, but that's not the point) we chose to use the computer name (hostname) as the identifying property, since it's the least probable to change.
Of course, if you don't have a network connection you can have more than one PC with the same hostname, but in real life this just doesn't occur.
That way, any part of HW can fail and be exchanged, even if you restore a complete system backup to a completely new machine the hostname is kept unchanged, so this method is working quite well.
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
Hi everyone,
I recently converted my vb.net code to c#.net, it was running ok at first with few minor error that needed me to attend to. Then when finally I got all the error fixed and press 'F5' to start debugging or run my application, my application did not pop up, it is running but it seems my .exe did not run.
I don't understand what happened as this is the first time I encounter this, please do let me know why is this happening, without the application running I can't proceed.
Btw, before I post this one error message appear saying some stack overflow.
Thanks
Jie Liang
|
|
|
|
|
Evidently you made some change that is causing a stack overflow before the visible window is rendered. Most likely you changed some code in an event handler in such a way that it is being called recursively, resulting in a stack overflow. Put a breakpoint at the beginning of the routines you modified, then single step until you spot the bug.
|
|
|
|
|
Hi Rob,
Thanks, I found out why. I was calling a function in let say ParentPage call ParentPageFunc in ChildPage by doing this 'ParentPage parent = new ParentPage()' which is why the ParentPage is being created again and again before the ParentPage can be shown. So instead of that I do this 'public ParentPage parent' so that I can do this 'parent.ParentPageFunc' in ChildPage. And the ParentPage pops out as normal.
Jie Liang
|
|
|
|
|
hi
How can i change color of an item of listbox which is selected or set focus?
Thanks for your favor.
|
|
|
|
|
Open the display properties in the control panel. Go to Apperabce, click Advanced. Choose "Selected Items" and change the color.
This will of course change the color of all selected items in the system.
---
b { font-weight: normal; }
|
|
|
|
|
Just like the tittle,
In a Windows Service ,A Process(such as Process pro1 = new Process("aa.exe");) was used to call a windows application,but deny.
Thanks for your help.
|
|
|
|
|
hi there
I want to capture received data from modem.I have been testing it with serialport class in .Net , but it diden`t work completely.
What should i do for it.
Best wishes
|
|
|
|
|
|
Do you want to capture the data through IP or through serial port ?
For IP see the reply from Divyang Mithaiwala.
For serial port, use this : http://www.compt.ru/
|
|
|
|
|
hi guys!
I'm a newbie to c#
Method signature: public static string Translate(string translationCode, string culture, ref Dictionary<string, Dictionary<string, string>> input)
I want to pass a dictionary by reference and not the entire object.
Is it correct to use 'ref' in the argument?
Then how do I insert the dictionary when calling the method?
thanks
|
|
|
|
|
Reference types (objects) are never copied when you use them in a call. It's always the reference to the object that is sent to the method.
If you use the ref keyword with a reference type, you will be sending a reference to the reference.
Parameters are always sent by value unless you specify the ref keyword. For reference types that means that the value of the referecne is passed to the method.
Example:
void Test(string a, ref string b) {
a = "1";
b = "2";
Console.WriteLine("a: " + a);
Console.WriteLine("b: " + b);
}
string x = "x";
string y = "y";
Console.WriteLine("x :" + x);
Console.WriteLine("y :" + y);
Test(x, ref y);
Console.WriteLine("x :" + x);
Console.WriteLine("y :" + y);
The output will be:
x: x<br />
y: y<br />
a: 1<br />
b: 2<br />
x: x<br />
y: 2
---
b { font-weight: normal; }
|
|
|
|
|
How can we generate help file in (c#)visual studio 2005.
Using NDoc utility or through any other method........
thanx in advance...
Regards
parvinder
|
|
|
|
|
how to save a dataset and its row to the sqlserverc
|
|
|
|
|
nsyogi wrote: how to save a dataset and its row to the sqlserverc
use dataadapter
|
|
|
|
|
Hi all,
Can i add constants to MessageBoxButtons enumeration...
either by overriding or by using unmanaged code.........
Did anyone come across this.............
|
|
|
|
|
What do you mean ?
Do you want a extra button available ?
Don't you also love the code?
|
|
|
|
|
Hello
I am also facing a problem with datatable. I have been using a class which inherits a dataset, datatables, and rows. When I delete a row from table, it leaves a blank row with row state deleted and from here the problem starts. Prior there was no problem with deleting the rows from DataGrid (which is bound to my datatable). I am using a binding source to bind the data. Searching rows in table by 'FindByid()'. I am removing the row by 'DataTable.RemoveTableRow(row)' the error message displayed is as follows...
System.InvalidOperationException: DataTable internal index is corrupted: '5'.
at System.Data.RBTree`1.RBInsert(Int32 root_id, Int32 x_id, Int32 position)
at System.Data.RBTree`1.RBInsert(Int32 root_id, Int32 x_id, Int32 position)
at System.Data.Index.RecordStateChanged(Int32 oldRecord, DataViewRowState oldOldState, DataViewRowState oldNewState, Int32 newRecord, DataViewRowState newOldState, DataViewRowState newNewState)
at System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.SetNewRecord(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean fireEvent)
at System.Data.DataRow.EndEdit()
Above that, this error message come after some runs, i.e when we remove the rows from table for some number of times.
Please can any one help me in this... I dont know the cause of this problem, neither the solution....
Thanks in advance.
Priya
|
|
|
|
|
hello everybody!
(1)
i want to play mp3 which is contained in a database, and i don't want to read the data, write it to the disk and play the file from disk. i just want to play it from memory directly.
How should i do?
(2)
i want to splite some mp3s into pieces,and each piece has different length.
is there any tools that can auto splite the files using the custom length showed in an index file, maybe use .lrc file?
thx and sorry for my poor English.
|
|
|
|
|
i have found a good tool to solve problem 2.
http://chinajuanbob.spaces.live.com/
|
|
|
|