Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
QuestionAdvantages of using virtual method in base class? Pin
Varun Thakur7-Apr-14 0:01
Varun Thakur7-Apr-14 0:01 
AnswerRe: Advantages of using virtual method in base class? PinPopular
OriginalGriff7-Apr-14 0:37
mveOriginalGriff7-Apr-14 0:37 
GeneralRe: Advantages of using virtual method in base class? Pin
Varun Thakur7-Apr-14 18:48
Varun Thakur7-Apr-14 18:48 
AnswerRe: Advantages of using virtual method in base class? Pin
pallelokanathareddy8-Apr-14 6:43
professionalpallelokanathareddy8-Apr-14 6:43 
QuestionHow to merger data from two sql databases that have a same structure ? Pin
taibc6-Apr-14 23:59
taibc6-Apr-14 23:59 
AnswerRe: How to merger data from two sql databases that have a same structure ? Pin
Peter Leow7-Apr-14 0:08
professionalPeter Leow7-Apr-14 0:08 
Questiondatagridview doesn´t show the datasource Pin
tom_ma6-Apr-14 21:40
tom_ma6-Apr-14 21:40 
AnswerRe: datagridview doesn´t show the datasource Pin
V.6-Apr-14 22:13
professionalV.6-Apr-14 22:13 
Some things to look at:

* is it Asp.Net? I remember back in the days you also had to call the databind method. Not sure if it changed in newer versions.
* Is the datagridview "aligned" with the source you put into it? IOW the values of the class are not appended at the end of the grid (column wise) or the datagridview doesn't know what to do with the properties you're putting in? In short, you're pumping in a block of data, but you need to tell the datagridview what parts of the data are for which column.

Hope this helps.
V.

(MQOTD rules and previous solutions)

OriginalGriff wrote:
V is absolutely right

GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma6-Apr-14 22:34
tom_ma6-Apr-14 22:34 
GeneralRe: datagridview doesn´t show the datasource Pin
V.6-Apr-14 22:45
professionalV.6-Apr-14 22:45 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 0:24
tom_ma7-Apr-14 0:24 
GeneralRe: datagridview doesn´t show the datasource Pin
V.7-Apr-14 1:19
professionalV.7-Apr-14 1:19 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 0:24
tom_ma7-Apr-14 0:24 
AnswerRe: datagridview doesn´t show the datasource Pin
OriginalGriff6-Apr-14 22:27
mveOriginalGriff6-Apr-14 22:27 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma6-Apr-14 22:38
tom_ma6-Apr-14 22:38 
GeneralRe: datagridview doesn´t show the datasource Pin
OriginalGriff6-Apr-14 23:00
mveOriginalGriff6-Apr-14 23:00 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma6-Apr-14 23:08
tom_ma6-Apr-14 23:08 
GeneralRe: datagridview doesn´t show the datasource Pin
OriginalGriff6-Apr-14 23:24
mveOriginalGriff6-Apr-14 23:24 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 0:14
tom_ma7-Apr-14 0:14 
GeneralRe: datagridview doesn´t show the datasource Pin
OriginalGriff7-Apr-14 0:25
mveOriginalGriff7-Apr-14 0:25 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 1:38
tom_ma7-Apr-14 1:38 
GeneralRe: datagridview doesn´t show the datasource Pin
OriginalGriff7-Apr-14 1:43
mveOriginalGriff7-Apr-14 1:43 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 1:55
tom_ma7-Apr-14 1:55 
GeneralRe: datagridview doesn´t show the datasource Pin
OriginalGriff7-Apr-14 2:19
mveOriginalGriff7-Apr-14 2:19 
GeneralRe: datagridview doesn´t show the datasource Pin
tom_ma7-Apr-14 4:04
tom_ma7-Apr-14 4:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.