|
i'm working with DGV and found a little problem that is DGV losses selection when it get clicked before releasing the mouse button, e.g. i have selected 5 rows and if i click on a already selected row then other selected rows get unselected before releasing the mouse button, what i want is, when i click on a already selected row then other selected rows should be keep selected until i release the mouse button like ListView, is there anyway to accomplish this task ?
thanks
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
You are holding down the Control key when selecting?
|
|
|
|
|
no, ok once try it on ListView, i exactly want that, in LV focus do not loss from other selected items until mouse button release
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
At present I have a filesystemwatcher which monitors a folder for the activities of files in that folder.
Now I would like to monitor other folders too.
Can the filesystemwatcher monitor several folders at the same time?
Thanks
|
|
|
|
|
only if all folders are subfolders of the selected folder or drive
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi,
I want to implement the Linked list, hash table functionality in .NET without using the collection classes, assuming they are not present.How Can I achieve this?
Regards,
Srinu
|
|
|
|
|
srinivas0099 wrote: How Can I achieve this?
Buy a book on algorithms...
|
|
|
|
|
O sorry, wasnt my previous answer sufficient? Would you like me to write all the code for you?
|
|
|
|
|
Thank you for your reply Leppie
if you have sample code then only....
other wise give me some reference books name..
I am very thank full if you provide me the code..
Regards,
Srinu
|
|
|
|
|
srinivas0099 wrote: if you have sample code then only....
No I dont.
srinivas0099 wrote: other wise give me some reference books name..
Google: Data structure and Algorithms in C#. It's not hard. I know there are at least 3 sites that will provide you all the code. But the first step for you is to try and do it yourself. We dont spoonfeed. If you have a specific problem, we will help.
|
|
|
|
|
|
|
How could they not be present ? Under what bizarre circumstance do you expect only half the .NET library to be installed ?
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
What is CS education except reinventing the wheel.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
It's clearly a homework question.
|
|
|
|
|
there is a table in database, having feild StationName & pk as stationID.
Now i am adding the StationName in chekedlistBox control and also using stationID in Tag property for each item i add.
after this what i want to do if a user check 1 or more item from list, then all those items deleted/updated(whatever function i want to perform) ona button click.
I am doing this as:
a) On form load event populating the CheckedListBox control.
b) On Button click event performing my action.
IEnumerator myEnum = chkList.CheckedIndices.GetEnumerator();
string SQL;
while(myEnum.MoveNext() != false)
{
SQL = "Update A Set [xyz] = 1 where [stationID] =" chkList.Tag.Tostring();
ExecuteSQL(SQL);
}
the tag property is not giving the corresponding stationID for stationName.
What is wrong?
Also how to use foreach loop for chekedListBox items?
|
|
|
|
|
humdumof wrote: What is wrong?
humdumof wrote: SQL = "Update A Set [xyz] = 1 where [stationID] =" chkList.Tag.Tostring();//sample query
You need a + to concatenate strings.
|
|
|
|
|
leppie wrote: You need a + to concatenate strings.
i miss type here?
that i know........??
problem is TAG property not giving the corresponding StationID for StationName which user selected
|
|
|
|
|
Yes, that will happen, because you are referring to the same checklist object all the time.
You need to cast the current enumerated object to what you put in there, and then get the value.
|
|
|
|
|
leppie wrote: You need to cast the current enumerated object to what you put in there, and then get the value.
how to do that?
(datatype)myEnum.Current ??
but how to get the item name(text)...???
|
|
|
|
|
That depends on the data type you passed into it.
|
|
|
|
|
I am willing a create C# windows application and wanted to distribute it through internet.But I came to know the the .net assemblies can be decompiled.There are so many Obfuscaters avilable but i don't have money to buy that. Can anybody suggest anything other than Obfuscaters.
|
|
|
|
|
I believe VS 2008 comes with a obfuscater community edition which will be free.
|
|
|
|
|
can i use it for 2.0 applications and does Obfuscaters protect my code 100 %.
|
|
|
|
|
Member 1739685 wrote: does Obfuscaters protect my code 100 %.
No. But by asking this question, you likely will not need one. If you have some serious IP to hide, write it in C/C++.
|
|
|
|