Click here to Skip to main content
14,925,975 members

Comments by BillWoodruff (Top 200 by date)

BillWoodruff 4 days ago View
Why would you insert data into a login form ? Isn't the idea of a login form not to give the user any clue about what they are supposed to enter ?
BillWoodruff 5 days ago View
BillWoodruff 8-Jun-21 20:43pm View
Here in Thailand, we have don chao, 6am~12:59pm, don bai 1pm~4pm, don yen 4pm~7pm, don thum 7pm~12am, don dhee 12am~5am: you can see why the 24 hour format (nellikar) is used in the digital domain, business, etc. :)
BillWoodruff 8-Jun-21 16:33pm View
You don't show the code that sets/uses the keydown.
BillWoodruff 6-Jun-21 22:32pm View
check out:
BillWoodruff 6-Jun-21 16:19pm View
I don't see any use of generics in your code
BillWoodruff 2-Jun-21 6:27am View
Please respond to the specific questions I asked you.
BillWoodruff 2-Jun-21 6:25am View
By "impractical: I mean so possibly large in scope ... the potential things that could be done ... that it would require years of development.

No problem with your English, just trying to get a more concrete exajoule of what your goal is.
BillWoodruff 1-Jun-21 13:54pm View
BillWoodruff 1-Jun-21 13:12pm View
three strings "A002", "75", and "B908"

those are the intersection of the two sets; the OP is after what's in B and not in A: htg1 EDDIE1 EDDIE2
BillWoodruff 1-Jun-21 11:27am View
Thanks !
BillWoodruff 1-Jun-21 6:17am View
If Table means DataTable, bind it to an appropriate UI control, like a DataGridView, or, create a special UI like a UserControl.
BillWoodruff 1-Jun-21 4:09am View
What is your goal here ? What doesn't work, or, causes an error ?
BillWoodruff 1-Jun-21 4:06am View
When are you going to quit procrastinating and start studying ?
BillWoodruff 1-Jun-21 2:49am View
Kong Fu Zi (Confucius): "I do not enlighten those who are not eager to learn, nor arouse those who are not anxious to give an explanation themselves. If I have presented one corner of the square and they cannot come back to me with the other three, I should not go over the points again.6

The case is like that of someone raising a mound. If he stops working, the fact that it perhaps needed only one more basketful makes no difference; I stay where I am. Whereas even if he has not got beyond leveling the ground, but is still at work, the fact that he has only tilted one basketful of earth makes no difference. I go to help him."

BillWoodruff 31-May-21 2:54am View
Until you clarify what you want to achieve, how can we help you ? What works, what doesn't work; what errors, what error messages and, where do errors or unexpected results. What do you expect the runb-time user to do ?
BillWoodruff 31-May-21 2:51am View
Another long post in response to a very confused OP who has been unable to articulate what his goal is. I guess you just enjoy writing code, rather than helping the OP clarify what their goal is.
BillWoodruff 29-May-21 14:19pm View
Unicode supports all languages ... see if this helpsz:
BillWoodruff 29-May-21 9:15am View

Are you asking if you can insert left-to-right reading text in a way that it is included in right-to-left-reading text.

Your question appears identical to a previous question asked in 1918 by Sami Jildeh.
BillWoodruff 29-May-21 9:05am View
So: why aren't you looking on Google for Firestore documentation, support, forums, etc. ?

See the list of articles on the right titled "Related Questions: read them.
BillWoodruff 29-May-21 9:03am View
We can't read your mind ! You need to describe your goal, and what does and does not work in detail. Show the code for 'register and 'stats
BillWoodruff 28-May-21 7:44am View
A test of our psychic powers: to discern from posts like these those who are not learning because:

1. they are not being taught, or being taught poorly
2. they have not made an effort, not done homework, etc.
3. they have made an effort, but are not making progress because:
a. they do not have aptitude
b. they have aptitude but have taken on a challenge they are not prepared for
c. they do not know how to use the resources of the net and/or documentation.

Kong Fu-zi (Confucius) on education:

I do not enlighten those who are not eager to learn,
nor arouse those who are not anxious
to give an explanation themselves.
If I have presented one corner of the square
and they cannot come back to me with the other three,
I should not go over the points again.6

The case is like that of someone raising a mound.
If he stops working,
the fact that it perhaps needed only one more basketful
makes no difference; I stay where I am.
Whereas even if he has not got beyond leveling the ground,
but is still at work,
the fact that he has only tilted one basketful of earth
makes no difference. I go to help him
BillWoodruff 28-May-21 4:40am View
+5 with extra gold star for merciful patience
BillWoodruff 28-May-21 4:40am View
+5 with extra gold star for merciful patience
BillWoodruff 28-May-21 4:36am View
"according to need of the user" user is someone launching your app, or, user is a programmer able to see, change, compile, run, your code ?

if you can add GridViews, why is adding a WinForm a problem ?
BillWoodruff 28-May-21 4:25am View
What you describe is impractical, and very confused.
BillWoodruff 28-May-21 4:20am View
Appears to be the latest incarnation of the same abusive poster seen recently. Same question in almost the same language.
BillWoodruff 26-May-21 2:21am View
Wish I could be more helpful !
BillWoodruff 26-May-21 2:20am View
BillWoodruff 25-May-21 10:57am View
for the "black rectangles" you describe: is there any common feature you can isolate (size ?) that would let you exclude them ?
BillWoodruff 25-May-21 10:54am View
your code makes no sense: you are iterating the ListBox Items, and, at the same time, adding new Items: that's an error right there.
BillWoodruff 25-May-21 10:53am View
this type of answer in response to a code sample that is clearly messed up ... ridiculous !

the code is iterating the ListBox Items, and, at the same time, adding new Items.

do you really think explaining the error message is relevant ?
BillWoodruff 25-May-21 10:45am View
Where does the Chart come from ? 3rd. party Control ?
BillWoodruff 25-May-21 10:41am View
"but when I use them, the buttons in my form window are not visible."

to assist you, we need to understand your design: what are the buttons on the Form, and what is their relationship to the UserControl ?
BillWoodruff 24-May-21 1:53am View
BillWoodruff 24-May-21 1:18am View
Very entertaining :)
BillWoodruff 23-May-21 3:59am View
You have a choice to make: spend time studying the links I sent you and gain a basic knowledge of how Types are allocated, stored ... or, persist in lurching to and 'fro on the deck of a ship in a storm :) Boxing, and unboxing, are simple:
BillWoodruff 23-May-21 0:49am View
BillWoodruff 20-May-21 5:04am View
describe what happens and any error messages clearly
BillWoodruff 19-May-21 10:25am View
you need to set break-points and single-step through your code: i suggest running it on a test case where a message has one .pdf attachment.

as you hit each break-point, examine the state of variables and note where values seem in error.

please explain in more detail: "read pdf from Embedded attachement" ... what does "read" mean ?
BillWoodruff 18-May-21 17:29pm View
If you have an account at GrapeCity: ask their support forum:
BillWoodruff 16-May-21 0:43am View
what is the point of your answering posts that are almost certain to be deleted ?
BillWoodruff 16-May-21 0:38am View
think about the difference between educating the OP and writing their code for them
BillWoodruff 16-May-21 0:33am View
please summarize the strategy you are using to guarantee a solvable maze
BillWoodruff 16-May-21 0:31am View
highlight in your code exactly where the error occurs
BillWoodruff 12-May-21 21:03pm View
BillWoodruff 12-May-21 21:02pm View
is this your own code ?
BillWoodruff 8-May-21 6:53am View
does this kind of gimmecodez question really deserve a response ?
BillWoodruff 7-May-21 20:22pm View
repost of:
BillWoodruff 7-May-21 20:19pm View
consider posting an issue on ?
BillWoodruff 6-May-21 1:07am View
+5 unwarranted vote of #3 countered
BillWoodruff 6-May-21 1:05am View
where did you get the Control ?
BillWoodruff 6-May-21 1:04am View
BillWoodruff 6-May-21 1:02am View
You need to ask specific questions based on specific parts of your code, with clear descriptions of what works and what does not work, including specific error messages and where they occur.
BillWoodruff 5-May-21 1:29am View
Voted #1: random thoughts from someone who has obviously never really worked with a TableLayoutTable.
BillWoodruff 5-May-21 1:10am View
When I click yes, it doesn't remove the row I want, it just closes the page entirely.

in the code shown, this is incorrect: a 'yes would delete the Controls.
BillWoodruff 5-May-21 0:06am View
+4 The user SHOULD use a local variable, but, in this case ... if there is no other code uses the Form's DialogResult ... it will not potentially cause an error.

Note that the Form.DialogResult property is not exposed in the design-time Property Browser view.
BillWoodruff 3-May-21 20:02pm View
BillWoodruff 3-May-21 20:01pm View
see the solution I added
BillWoodruff 2-May-21 8:00am View
I think the OP just wants to save/load the Text in each TextBox ... that is not difficult.
BillWoodruff 2-May-21 7:57am View
Are there always the same number of TextBoxes, or are they added/deleted during game play ?

Do you need to save/load only the TextBox Text ... that's easy ... or, do you need to save both Text and visual state ... that's harder ?
BillWoodruff 1-May-21 20:37pm View
Sorry, we're not here to play the game of trying to guess what you mean, and, you respond by saying: "not that."
BillWoodruff 30-Apr-21 20:01pm View
You are mistaken: any code inside the first {} will be called only if the user clicks the 'Yes button.
BillWoodruff 28-Apr-21 7:50am View
Explain what "mark the answer" means, and show your code.

"tool could accidentally switch the correct answer" explain in detail.
BillWoodruff 26-Apr-21 14:03pm View
With that attitude, you will never reach your potential as a programmer.

Revenge down-voting is childish.
BillWoodruff 26-Apr-21 12:48pm View
read the description of the assignment which I quoted from.
BillWoodruff 26-Apr-21 12:41pm View
"TesxtBox2, TextBox3, and TextBox4, then multiply the result with the value of TextBox5. Show the final result in textBox6." 4 for data entry.
BillWoodruff 26-Apr-21 12:20pm View
with 5 textboxes, this is even more of a DRY red-flag.

it's the kind of homework answer from one of my students that is the perfect setup for introducing concepts of validation, and, using inheritance to create created modified Controls.
BillWoodruff 26-Apr-21 12:16pm View
my vote acknowledges you have posted 20% of a solution; that's really charity on my part :)
BillWoodruff 26-Apr-21 11:52am View
You are really confused, which is okay, but, how about improving your knowledge before you post on QA.

If you start a .NET FrameWork Console app, there is no way to display a WinForm in design-view, or, display a toolbar with WinForm Controls.

If you ADD a WinForm to the Project, only then do you get the design-time view.

If you start a .NET Core Console app, you cannot use Windows.Forms in any way.

The .NET Core WinForm project designer is still not in final form, and is available only for .NET Core WinForm apps. It won't work in my Visual Studio 16.9.4
BillWoodruff 26-Apr-21 6:05am View
+2 not a solution
BillWoodruff 24-Apr-21 8:19am View
BillWoodruff 24-Apr-21 8:18am View
BillWoodruff 24-Apr-21 7:44am View
see my reply here.
BillWoodruff 24-Apr-21 7:38am View
A {1} with a {2} is exactly the same as a {1} without a {2} except for that it has a {2 }.

BillWoodruff 24-Apr-21 7:31am View
Yes, a chimeric app is not good food for this OP :)

Not the big picture: "they do not support the message loop and suchlike that is required of a Windows app with forms." There is a fix for that: adorn the Console app Main method with [STAThread]

You may find this thread interesting:
BillWoodruff 24-Apr-21 7:22am View
Hi Piebald,

I feel strongly that newcomers to C# and WinForms should not be distracted by the complexity of chimeric apps.
Interesting ! I'd enjoy seeing an article by you on this. This SO thread was helpful back when I was doing my chimeric app:
BillWoodruff 23-Apr-21 18:09pm View
+5 A good example of constructive feedback (as opposed to rewriting the code for the OP) where you discuss the OP's logic AND show the relevant code. This type of analysis is all too rarely seen here.
BillWoodruff 23-Apr-21 18:03pm View
You created a golem.
BillWoodruff 23-Apr-21 17:59pm View
A long time ago I did a Console app that used several WinForms for data input ... what drove this chimeric choice :) was the client's demand for the end-user to have a highly controlled experience, almost a kiosk-like ui.

Well, we all have things we'd like to forget.
BillWoodruff 23-Apr-21 17:53pm View
Console apps can use Windows Forms ... but, that is not good programming practice.
BillWoodruff 23-Apr-21 13:05pm View
this is a repost by the OP
BillWoodruff 23-Apr-21 10:26am View
Not to worry ! I just hope you are not missing what I'm missing :)
BillWoodruff 23-Apr-21 9:12am View
I say, in the previous comment: "CPallini's solution does prevent duplicates."

You are missing ... something :)
BillWoodruff 21-Apr-21 9:11am View
put breakpoints in your code and single-step through it until you isolate where the error occurs.
BillWoodruff 21-Apr-21 3:18am View
+5 bulls-eye
BillWoodruff 21-Apr-21 3:15am View
and what happened when you tried it ?
BillWoodruff 18-Apr-21 6:14am View
So, I just considered the technical merit of your response, and, acted on it by modifying my judgement/response, and, you respond with an ad hominem attack.

If your personal opinions had any value to me, I would respond to them.
BillWoodruff 18-Apr-21 5:52am View
You're right, it is an alternative, and it is more on-topic than Schmitz' usual rep-bloating spew: I am raising my vote to #3.
BillWoodruff 18-Apr-21 5:49am View
If you want to see a code example that demonstrates simplifying creating the two decks, and guarantees each player does not have duplicate cards in their hand: let me know. Note that CPallini's solution does prevent duplicates.
BillWoodruff 18-Apr-21 5:43am View
Some of us take teaching seriously; others enjoy showing off.
BillWoodruff 18-Apr-21 5:41am View
OP means "original post/poster" ... the author, i.e.: you.
BillWoodruff 18-Apr-21 5:40am View
OP means "original post/poster" ... the author, i.e.: you.
BillWoodruff 17-Apr-21 12:57pm View
BillWoodruff 17-Apr-21 12:53pm View
You do not separate the construction of the player decks from testing for a "winner" ... that seems odd.
BillWoodruff 17-Apr-21 11:02am View
And, when the OP gets a job, are you going to rewrite his code for him ?
BillWoodruff 17-Apr-21 11:00am View
Voted #1: irrelevant ... if you are sampling the deck randomly, you do not need to shuffle.
BillWoodruff 16-Apr-21 0:12am View
Post the exceptions, and, describe exactly where they occur.
BillWoodruff 13-Apr-21 0:15am View
contact Solution
BillWoodruff 13-Apr-21 0:15am View
contact Solution
BillWoodruff 9-Apr-21 1:23am View
put a breakpoint before _context.Add(job);

inspect the value of Reference
BillWoodruff 8-Apr-21 6:26am View
OP: "... compiler is reaching the first method"

suggests it compiles ?
BillWoodruff 8-Apr-21 4:10am View
"compiler is reaching the first method always though I am passing value with str variable only."

doesn't make sense: both methods require: IDbDataParameter[] parameters
BillWoodruff 6-Apr-21 23:12pm View
changed vote to #3:

"Curiously though, you should be able to write a WinForms or WPF app without actually having to display a window, unless you choose to do so."

indeed, you can, using WinForms Application Context, but, why would you ?
BillWoodruff 6-Apr-21 6:18am View
BillWoodruff 6-Apr-21 6:18am View
feed elephants bananas, and they are very happy ... but, they do not turn yellow.
BillWoodruff 6-Apr-21 4:07am View
"that depends on what the meaning of 'is' is." Bill Clinton :)

the example shown was created as a Console app; the VS compiler thinks it's a Console app.
BillWoodruff 5-Apr-21 20:00pm View
A good idea to test and experiment before posting what you "doubt." See my post,
BillWoodruff 5-Apr-21 19:09pm View
Vote of #1: absolutely wrong ... you can use MessageBox.Show, and you can create and show (modal, or non-modal) Forms in a console app. See example here.

However, just because you CAN, does not mean you should, or that it is a good idea !

BillWoodruff 3-Apr-21 23:27pm View
BillWoodruff 3-Apr-21 23:27pm View
BillWoodruff 3-Apr-21 23:25pm View
my vote of #1: after not telling us you were using a Global Keyboard Hook ... wasting our time ... you now post this incomplete code which does not handle F3.
BillWoodruff 31-Mar-21 8:53am View
homework: just do it.
BillWoodruff 27-Mar-21 20:17pm View
BillWoodruff 27-Mar-21 20:14pm View
I have found PostSharp support excellent.
BillWoodruff 27-Mar-21 20:13pm View
Please do report this to PostSharp; I have found their support excellent.
BillWoodruff 27-Mar-21 19:22pm View
ask DevExpress
BillWoodruff 27-Mar-21 18:36pm View
see reply below
BillWoodruff 27-Mar-21 18:14pm View
Where does the data (lines) come from ? Do you have any control over its format ?
BillWoodruff 24-Mar-21 22:32pm View
BillWoodruff 24-Mar-21 22:30pm View
Yax text ... what's that ?
BillWoodruff 24-Mar-21 22:28pm View
BillWoodruff 24-Mar-21 22:27pm View
BillWoodruff 20-Mar-21 23:06pm View
show the code/and or xaml for the button and its event handlers
BillWoodruff 20-Mar-21 11:51am View
show the code you are using now, show the xaml for the grid.
BillWoodruff 19-Mar-21 16:23pm View
BillWoodruff 18-Mar-21 18:21pm View
see if this is helpful:
BillWoodruff 18-Mar-21 13:29pm View
see my post below
BillWoodruff 18-Mar-21 11:06am View
Are you asking how to use "unsafe" code in C# ... or, are you asking how to write a C# equivalent to the C function ?
BillWoodruff 18-Mar-21 11:00am View
+5 to counteract an unwarranted vote of #1
BillWoodruff 16-Mar-21 19:34pm View
BillWoodruff 16-Mar-21 19:33pm View
+5 kudos for ... cmbcam1Id , cmbcamera2Id ... viva Hungarian notation !
BillWoodruff 16-Mar-21 19:31pm View
+5 ReSharper is not free, but, I can't imagine coding in C# washout it :)
BillWoodruff 16-Mar-21 19:29pm View
BillWoodruff 16-Mar-21 19:24pm View
single-step through the code, and look at the value of variables: compare what you see with what you expect. that should help you isolate the problem.
BillWoodruff 15-Mar-21 7:22am View
Thank you, Maciej
BillWoodruff 14-Mar-21 14:59pm View
BillWoodruff 14-Mar-21 14:56pm View
BillWoodruff 14-Mar-21 10:23am View
more confused code. you define 'training and never use it.
BillWoodruff 14-Mar-21 10:16am View
A ListBox Items collection is just a collection of Type Object ... not ListViewItem ... you can add anything to it ... anything with a built-in, or user-defined ToString method will cause the expected result in the displayed control.

NewItem.Text = listBox1.SelectedItem.ToString() + " - " + listBox2.SelectedItem.ToString();

This is wrong: it would result in a single item being added, not two items
BillWoodruff 14-Mar-21 10:04am View
Voted #5 to counter unwarranted down-vote.
BillWoodruff 14-Mar-21 3:08am View
I looked at the screen capture.

Your goal is clear, but the code shown here is fragmented, and does not show where many variables used are initialized. We can't read your mind.
BillWoodruff 13-Mar-21 11:26am View
Your code here is fragmented, and does not show where many variables used are initialized. We can't read your mind !
BillWoodruff 13-Mar-21 10:46am View
Hi Ralf, I respond at length only to people I take seriously :) fwiw: I respect you and Patrice. You have every right to question my behavior and intent: the truth I face liberates me; the truth I hide from destroys me :)

The "ideal" QA solution could be every mentor and mvp taking a major role in managing QA ? Oh, I forgot ... this is not an ideal world :)
BillWoodruff 13-Mar-21 9:52am View
Hi Ralf, I take my responsibilities as a CP Mentor seriously, and, I really hesitate to down-vote ... if I can see a shred of relevance to the technical content of the OP's post, usually I don't vote.

Any solution that insults, discourages, the OP gets down-voted and/or reported.

imho, OriginalGriff has earned the right to make frequent advisory comments posted as solutions by his almost unique contributions to CP and QA over so many years: his imitators who post inferior me-too stuff (to pad their reps ?) have earned nothing.

Because "lots of people do it" doesn't make it "right."

At age 77.5, near blind in one eye, increasingly limited vision in the other, leaky heart valve, etc., I don't have time to read/respond to many posts :)
BillWoodruff 13-Mar-21 5:57am View
"whenever I tried, I get an error for not being able to access the *.csv file."

show error details, where does it occur ? you do not show the code that calls ReadAndStoreLinesIn01
BillWoodruff 13-Mar-21 5:48am View
I we do your homework, you will learn nothing !
BillWoodruff 13-Mar-21 5:45am View
"I submitted what I have tried in the problem part." Where's the code ?
BillWoodruff 12-Mar-21 18:49pm View
Describe the structure of the data in the file in detail. Is it comma separated strings each of which can be converted to an integer ? What do non numeric entries mean ?
BillWoodruff 12-Mar-21 18:44pm View
My vote of #1: This is not a solution; it's a comment, and repeats the comments you've already made.
BillWoodruff 12-Mar-21 18:42pm View
My vote of #1: This is not a solution; it's a comment with an explicit "go away" message.
BillWoodruff 12-Mar-21 18:34pm View
"with approximately 5 million functions ... compiled on different platforms, and different OS versions." This sounds like either science-fiction or madness.
BillWoodruff 12-Mar-21 18:29pm View
BillWoodruff 10-Mar-21 10:40am View
The incomplete code you show does not provide any information about user data. We can't read your mind.
BillWoodruff 8-Mar-21 7:11am View
"my requierments are when ever I edit the user name than all the checkbox will become zero but I want when I change the name than all the the permission checkbox stay put." So: who defines the requirements ?
BillWoodruff 7-Mar-21 23:09pm View
describe the structure of your tables.
BillWoodruff 6-Mar-21 4:47am View
We can't read your mind: show the code that creates the Class.

How do you handle "state of motion:" not running, starting run, running, stopping, stopped ? Show the code for that.
BillWoodruff 6-Mar-21 4:26am View
We can't read your mind: show the code that creates the Class.
BillWoodruff 6-Mar-21 4:14am View
We can't read your mind: show the code that creates the Class, and the code where the error occurs.
BillWoodruff 5-Mar-21 3:38am View
How do you create the DataGridView Columns ?
BillWoodruff 5-Mar-21 3:08am View
What stops you from asking the instructor for clarification ?
BillWoodruff 5-Mar-21 2:32am View
How could we guess your app was an Android project ? Use Tags on your questions.
BillWoodruff 5-Mar-21 2:24am View
We can't read your mind: which variable, where ?
BillWoodruff 4-Mar-21 4:40am View
Given the user can select up to 3 distinct values from 5 values, are ComboBoxes the best UI ? Perhaps use a CheckedListBox where selection is limited to 3 choices ?
BillWoodruff 4-Mar-21 4:35am View
BillWoodruff 3-Mar-21 15:58pm View
BillWoodruff 3-Mar-21 15:55pm View
Use the dedicated ImageMagick section on StackOverflow ?
BillWoodruff 3-Mar-21 15:35pm View
You create 'listB, but we can't see what you do with it. Show the code that produces those outputs.
BillWoodruff 1-Mar-21 1:55am View
BillWoodruff 1-Mar-21 1:55am View
BillWoodruff 1-Mar-21 1:09am View
start here:
BillWoodruff 27-Feb-21 21:51pm View
BillWoodruff 24-Feb-21 13:39pm View
Unless your exchanges need to transfer very large data, consider using JSON for communication,
BillWoodruff 24-Feb-21 2:12am View
Several ways you can handle this, but, first:

"after the web page is called from the running program"

how is the WebBrowser instance/process created/launched ?

are you using Process.Start, or, are you using a WebBrowser Control on a Form ?
BillWoodruff 20-Feb-21 7:25am View
Gosh, Patrice, you have expressed respect for my choice to downvote publicly several times in the past, but, now, you are a proxy for Dave ?
BillWoodruff 20-Feb-21 7:20am View
Salaam, Naeem, I deliberately left the code missing in the loop, as explained in the comments.

My goal is to try and help you start solving the problem yourself ... to teach ... not write the code for you.

Whether you accept the solution, or not, is up to you ... I'm am old man with enough reputation :)
BillWoodruff 20-Feb-21 3:24am View
I was writing my response when you posted this. When I can fantasize we are on the same wavelength, I almost feel (temporarily) like I am not past my use-by date :)
BillWoodruff 20-Feb-21 2:49am View
Voted #1: this is not a solution; it's gratuitous advice. The OP is asking for help with a problem; you respond with a not so subtle "go do it yourself" as if the OP had asked you to write his code for him.
BillWoodruff 7-Feb-21 19:21pm View
BillWoodruff 4-Feb-21 18:51pm View
Hey, Considering the state of this body keeping a mind afloat, right now, I'm glad you've got my back :)
BillWoodruff 4-Feb-21 13:15pm View
Dave, I am responding to Brian's request for help (in a comment) posted 2 days ago :) Since it's a long response including code, I thought answering with solution rather than comment was an appropriate format.
BillWoodruff 9-Jan-21 12:22pm View
I have a suspicion there's some weirdness you could do using 'groupby ... but, i am not going there :)
BillWoodruff 9-Jan-21 12:17pm View
You have not shown any code you TRIED: you just show the result you want.
BillWoodruff 9-Jan-21 9:05am View
BillWoodruff 9-Jan-21 2:21am View
Sorry, I don't use ASP; perhaps post a new question; be sure and clarify if you are asking about a screenshot, or an active window shot, or a browser screen shot.
BillWoodruff 8-Jan-21 18:58pm View
This is yet another question, like many others you have posted recently, where you don't describe the context clearly, and appear to have done no experimentation.

Describe the UI the end-user interacts with: describe the server side code structure.

And, get to work.
BillWoodruff 4-Jan-21 4:27am View
"First of all, i'm not sure what OP wants to achieve..." Exactly why I went to the trouble of writing a lengthy reply reminding the OP what we need to know to further assist him.

"If there's a set of columns with comparable data" ... in this case we know the column structure in the tables is different.

Voted #1 for being a vague collage of assumptions and irrelevant code.
BillWoodruff 4-Jan-21 3:18am View
Hi Maciej, Does this work given the different column structure in the two DataTables ... given we don't know, yet, what those differences are.

Please, prove me wrong when I claim you cannot directly compare a selected Row from one DataTable with a Row from another DataTable that has a different Column structure ... without a much deeper kind of comparison :)
BillWoodruff 3-Jan-21 22:36pm View
Are the NAMES of the two columns with the same values the SAME in each Table ? The INDEXES in the column collections identical ?

"for example in the common two columns in table A there is code=x , Nature =y and in table B there is also code=x , Nature =y , so this record should be removed when I fetch the table A records"

By remove: I assume you mean FILTER table A, not actually remove a ROW ?

Filter out ALL instances of rows where the two columns have matching values, or ONLY rows with identical values you specify ?

Can't read your mind :)
BillWoodruff 2-Jan-21 21:38pm View
until i have a better crystal ball :) ... what's critical is knowing the structure of the Columns ... like this:

dt.Columns.Add(new DataColumn("TypID")
AllowDBNull = false,
DataType = typeof(System.Char),
Unique = false
BillWoodruff 2-Jan-21 21:31pm View
Hi Griff, I'd consider it a gift if you would let me know if you think I am misinterpreting the OP's question in my response below. thanks, Bill
BillWoodruff 2-Jan-21 21:25pm View
Hi, Do you see the concern I am expressing about the generic Dictionary's requirement for unique keys ? I am willing to post a code example, if you clarify what the relationship is between the DataSet and the "multi-valued dictionary." cheers, Bill
BillWoodruff 31-Dec-20 10:24am View
BillWoodruff 30-Dec-20 19:51pm View
what handles/loads/reads/finds tags in/with the pdf files ? some 3rd. party utility ?
BillWoodruff 30-Dec-20 19:48pm View
"What I have tried:" Okay, that sounds good, and, now, what is the question ?

fwiw: the idea of doing things at the same time with two open db's which somehow replicate, and "can contain different set of data for similar tables" ... fills me with horror :)
BillWoodruff 29-Dec-20 21:12pm View
+5 Your thoughtful posting of appropriate links to many questions deserves recognition !
BillWoodruff 29-Dec-20 21:06pm View
If you show the actual structure for the DataSet (or, for each DataSet in the DataTable), I think you may get more specific responses,
BillWoodruff 28-Dec-20 5:28am View
BillWoodruff 27-Dec-20 0:50am View
BillWoodruff 26-Dec-20 16:15pm View
Do nothing and you will stay where you are :)