|
I have a DataGridView that I bind to a DataTable which is obtained by querying my database. The context for this DataGridView can change, and when that happens I re-run the query, and bind a new DataTable to the DataGridView
I also handle the CellFormatting event to highlight certain values.
What I have discovered is that the CellFormating event fires (one time with e.RowIndex == 0 and e.ColumnIndex == 0) when binding to an empty table, but only when the DataGridView was previously bound to a DataTable that has rows.
This seems like a bug to me. Any thoughts?
|
|
|
|
|
I want to know about facts.
Please guide me.
1.Coding standard.<br />
2.Staff Management System sample project<br />
3.The facts for assigning job.
|
|
|
|
|
This is a technical forum, your question is i)too wide ranging, and ii)nothing to do with .NET.
The best things in life are not things.
|
|
|
|
|
jimsammee wrote: I want to know about facts
fact (noun)
1. Knowledge or information based on real occurrences: an account based on fact; a blur of fact and fancy.
2.
a. Something demonstrated to exist or known to have existed: Genetic engineering is now a fact. That Chaucer was a real person is an undisputed fact.
b. A real occurrence; an event: had to prove the facts of the case.
c. Something believed to be true or real: a document laced with mistaken facts.
3. A thing that has been done, especially a crime: an accessory before the fact.
4. Law The aspect of a case at law comprising events determined by evidence: The jury made a finding of fact.
Idiom:
in (point of) fact
In reality or in truth; actually.
--------------------------------------------------------------------------------
[Latin factum, deed, from neuter past participle of facere, to do; see dh- in Indo-European roots.]
Usage Note: Fact has a long history of usage in the sense "allegation of fact," as in "This tract was distributed to thousands of American teachers, but the facts and the reasoning are wrong" (Albert Shanker). This practice has led to the introduction of the phrases true facts and real facts, as in The true facts of the case may never be known. These usages may occasion qualms among critics who insist that facts can only be true, but the usages are often useful for emphasis.
The American Heritage® Dictionary of the English Language, Fourth Edition copyright ©2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.
--------------------------------------------------------------------------------
fact [fækt]
n
1. an event or thing known to have happened or existed
2. a truth verifiable from experience or observation
3. a piece of information get me all the facts of this case
4. (Law) Law (often plural) an actual event, happening, etc., as distinguished from its legal consequences. Questions of fact are decided by the jury, questions of law by the court or judge
5. (Philosophy) Philosophy a proposition that may be either true or false, as contrasted with an evaluative statement
(Law)
after (or before) the fact Criminal law after (or before) the commission of the offence an accessory after the fact
as a matter of fact, in fact, in point of fact in reality or actuality
fact of life an inescapable truth, esp an unpleasant one
the fact of the matter the truth
[from Latin factum something done, from factus made, from facere to make]
factful adj
Collins English Dictionary – Complete and Unabridged © HarperCollins Publishers 1991, 1994, 1998, 2000, 2003
ThesaurusLegend: Synonyms Related Words Antonyms
Noun 1. fact - a piece of information about circumstances that exist or events that have occurred; "first you must collect all the facts of the case"
information - knowledge acquired through study or experience or instruction
case - the actual state of things; "that was not the case"
detail, item, point - an isolated fact that is considered separately from the whole; "several of the details are similar"; "a point of information"
particular, specific - a fact about some part (as opposed to general); "he always reasons from the particular to the general"
general - a fact about the whole (as opposed to particular); "he discussed the general but neglected the particular"
matter of fact - a matter that is an actual fact or is demonstrable as a fact
observation - facts learned by observing; "he reported his observations to the mayor"
reason - a fact that logically justifies some premise or conclusion; "there is reason to believe he is lying"
score - the facts about an actual situation; "he didn't know the score"
truth - a fact that has been verified; "at last he knew the truth"; "the truth is that he didn't want to do it"
2. fact - a statement or assertion of verified information about something that is the case or has happened; "he supported his argument with an impressive array of facts"
info, information - a message received and understood
record book, book, record - a compilation of the known facts regarding something or someone; "Al Smith used to say, `Let's look at the record'"; "his name is in all the record books"
basics, rudiments - a statement of fundamental facts or principles
index number, indicator, index, indicant - a number or ratio (a value on a scale of measurement) derived from a series of observed facts; can reveal relative changes as a function of time
3. fact - an event known to have happened or something known to have existed; "your fears have no basis in fact"; "how much of the story is fact and how much fiction is hard to tell"
realness, realism, reality - the state of being actual or real; "the reality of his situation slowly dawned on him"
4. fact - a concept whose truth can be proved; "scientific hypotheses are not facts"
concept, conception, construct - an abstract or general idea inferred or derived from specific instances
Based on WordNet 3.0, Farlex clipart collection. © 2003-2008 Princeton University, Farlex Inc.
--------------------------------------------------------------------------------
fact
noun
1. truth, reality, gospel (truth), certainty, verity, actuality, naked truth How much was fact and how much fancy no one knew.
truth lie, fiction, invention, delusion, yarn (informal), fable, fabrication, falsehood, untruth, tall story
2. detail, point, feature, particular, item, specific, circumstance The lorries always left in the dead of night when there were few witnesses around to record the fact.
3. event, happening, act, performance, incident, deed, occurrence, fait accompli (French) He was sure the gun was planted after the fact.
plural noun
information, details, data, the score (informal), gen (Brit. informal), info (informal), the whole story, ins and outs, the lowdown (informal) There is so much information you can find the facts for yourself.
in fact actually, really, indeed, truly, in reality, in truth, to tell the truth, in actual fact, in point of fact That sounds rather simple, but in fact it's very difficult.
Quotations
"In this life we want nothing but facts, sir; nothing but facts" [Charles Dickens Hard Times]
|
|
|
|
|
Someone is in a bad mood today, but my 5 only raised it 0.67.
The best things in life are not things.
|
|
|
|
|
I was tempted to go with the whole Joe Friday thing, but I decided not to.
|
|
|
|
|
Have another five - your answer is technically correct, and it's obvious that you spent time and effort on it.
I are Troll
|
|
|
|
|
I was going to write a mini-essay on the subjectivity of knowledge, and the reprecussions on what can be deemed a fact, but I got too depressed at the new low we seem to be hitting, and frankly this did the job even more effectively.
|
|
|
|
|
Keith Barrow wrote: I was going to write a mini-essay on the subjectivity of knowledge, and the
reprecussions on what can be deemed a fact
I wish you had written it. I would have enjoyed reading it.
|
|
|
|
|
hi to all..
we have made 40 RDLC Reports, now client want to take printout without export to excel or pdf..
is there any way i can give print option directly without exporting files??
thanks/rashmi
|
|
|
|
|
How are you displaying the reports?
I'd imagine you will be showing them in the report viewer component - It's been a while since I looked at it but I'm sure that there is a print option built into the Microsoft report viewer toolbar.
HTH
Darren
|
|
|
|
|
|
|
I think I'm starting to lose it.
I make corporate LOB apps and it is up to me what framework / pattern I want to use. For a good 5 years there it was ASP.Net. Now I can use SilverLight (with or without MVVM), MVC or ASP.Net.
And what about data access? I can use ADO.Net, Entity FrameWork, LINQtoSQL, Subsonic, My own POCO classes, Ria Services, WCF Services ect...
Just for sh*ts and giggles I did my last project, a web application with about 10 pages and 6 database tables all using my ADO.Net DataAccessLibrary that I wrote 8 years ago and standard ASP.Net. I still got application done in no time, the users were stoked cause I automated a lot of sh*t for them and it was a huge success. To top it off, the newest browsers are so fast, you can't even tell the difference between a full postback and a AJAX request on my intranet. AJAX is almost becoming irrelevant.
Oh and BTW, I have been investing some time in learning MVC 3. WTF, it feels like old school classic ASP. I guess it is cool, if you want to make something like face book. But for LOB apps, it isn't any easier than ASP.net...
I'm done ranting...
I didn't get any requirements for the signature
|
|
|
|
|
Because not every technology/method is appropriate to solve every problem.
|
|
|
|
|
Because "corporate LOB" is a small part of the domain.
I are Troll
|
|
|
|
|
ToddHileHoffer wrote: ranting...
In future kindly take it to The Lounge[^] where it belongs.
The best things in life are not things.
|
|
|
|
|
You need to choose the one you are most comfortable and familiar with.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
Probably the wrong place to post this: lounge would have been okay.
Tend to agree with you anyway: Have been using LINQToSql and EF but Ado.Net is just as good. All that happens is that you add another layer of complexity to waht should be reasonably simple. I wouldn't use anything but Asp.Net for LOB or corporate apps: they demand functionality and speed and Asp.Net delivers.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
You have to choose what best fits your requirements / skill sets.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
Abhinav S wrote: You have to choose what best fits your requirements / skill sets.
This makes sense. I have been doing ASP.Net for almost 10 years, so I can write these applications in my sleep. I have spent a two months learning / working on a silverlight MVVM application. I think the user interface is a lot nicer. My users, have only complained about the silver light updates. Many of them are using older PCs so the install isn't as fast as it should be.
Also, I find the MVVM programming rather difficult. All of the data binding "magic" hidden from me as the developer makes wrapping my head around things seem more difficult. I know it takes a little bit more work to set the property of control rather than data binding, but is nice to be able to set a break point and see exactly what is being set...
Really, the only reason for me to use something other than ASP.Net 4.0 at this point is to improve my resume.
I didn't get any requirements for the signature
|
|
|
|
|
ToddHileHoffer wrote:
Really, the only reason for me to use something other than ASP.Net 4.0 at this point is to improve my resume.
Yeah that is a good approach.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
In addition to evident natural reasons, like different approaches are to be used in different situations and profitability of making users pay multiple times for the same thing, there is a fundamental one - it is impossible to do anything right first time and it is impossible to fix anything thanks to legacy applications. Thus, everyone starts anew.
|
|
|
|
|
But not only that!! At one time, you could learn VB, for example, by reading two books - a programming (syntax) manual and a Programmers Reference (HowTo) manual. Those days have now gone. By the time the books come out now, they are usually a release behind. So you have to use the web to find things out.
That's when you discover there is no one place to go to find all the latest information. So you have to read blogs by ScottGu, Hanselman, Haacke, Sanderson, the Microsoft Development Team, and any other blog site that wants to put their 2 pennyworth into the arena. I think the finding of information on the web takes up most of my time when I program these days.
The other problem is that there are now so many classes in ASP.NET that can be used to achieve a particular result. I have given up on trying to use the Help text within ASP.NET. Because of the complexity, they can't give full examples; they would just take up too much space. So it is next to useless. That leaves asking questions on Forums; and that presents a new set of problems. You ask your question and then get two, three ways to achieve it, none of which are ways you understand. So you start searching the web, again.
I'm 68, retired now, and trying to learn ASP.NET, MVC3, EF Code First and C# at home on my own. I wrote my first program in 1962-3, in what language I can't remember, and I have been programming on and off ever since. But I find that the modern frameworks and languages appear to be much more complicated in some ways than they need to be, but so much easier to use in others. Take EF Code First, for example. I think that is a wonderful piece of work.
That's enough from me. I've got an event calendar to code.
|
|
|
|
|
I both agree, and sympathise!
Examples are the best didactic method invented.
"Help files" without them are rendered "Hindrance files".
|
|
|
|
|