Click here to Skip to main content
15,889,315 members
Home / Discussions / C#
   

C#

 
QuestionAdobe PDF component on MDI form Pin
RobScripta23-Feb-09 5:18
professionalRobScripta23-Feb-09 5:18 
QuestionQI for IEnumVARIANT failed on the unmanaged server Pin
IGilham23-Feb-09 4:06
IGilham23-Feb-09 4:06 
QuestionPrintDocument.print StartPrintCall not issued problem Pin
sroliki23-Feb-09 3:28
sroliki23-Feb-09 3:28 
QuestionDatagridview beginners question Pin
Priya Prk23-Feb-09 3:23
Priya Prk23-Feb-09 3:23 
AnswerRe: Datagridview beginners question Pin
Ennis Ray Lynch, Jr.23-Feb-09 3:26
Ennis Ray Lynch, Jr.23-Feb-09 3:26 
GeneralRe: Datagridview beginners question Pin
Priya Prk23-Feb-09 3:50
Priya Prk23-Feb-09 3:50 
GeneralRe: Datagridview beginners question Pin
Ennis Ray Lynch, Jr.23-Feb-09 3:56
Ennis Ray Lynch, Jr.23-Feb-09 3:56 
GeneralRe: Datagridview beginners question Pin
Priya Prk23-Feb-09 4:02
Priya Prk23-Feb-09 4:02 
I did this to look at the code, i exactlly copied and paste the names of the columns of the datagridview into the query. Still 3 empty rows:
SqlConnection mycon1 = new SqlConnection(connString);
            SqlCommand mycom1 = new SqlCommand();
            mycom1.CommandText = "SELECT CONTR_NR as contrId, " +
                " CONTR_PROCOUNT as  contrProCount, CONTR_TOTPRICE as contrTotPrice  FROM Contracts WHERE CONTR_CU_ID='" + custNr + "' ";
            myda1 = new SqlDataAdapter(mycom1.CommandText, mycon1);
            mycb = new SqlCommandBuilder(myda1);
            mydt1 = new DataTable();
            myda1.Fill(mydt1);
            mybs = new BindingSource();
            mybs.DataSource = mydt1;
            mf.dgvContr.DataSource = mybs;


And im sure that i have 3 records in my table
GeneralRe: Datagridview beginners question Pin
Ennis Ray Lynch, Jr.23-Feb-09 4:07
Ennis Ray Lynch, Jr.23-Feb-09 4:07 
GeneralRe: Datagridview beginners question Pin
Priya Prk23-Feb-09 4:34
Priya Prk23-Feb-09 4:34 
QuestionTelephony Application Pin
smilerP23-Feb-09 3:23
smilerP23-Feb-09 3:23 
AnswerRe: Telephony Application Pin
EliottA23-Feb-09 3:25
EliottA23-Feb-09 3:25 
AnswerRe: Telephony Application Pin
Deresen23-Feb-09 3:30
Deresen23-Feb-09 3:30 
AnswerRe: Telephony Application Pin
Dave Kreskowiak23-Feb-09 5:05
mveDave Kreskowiak23-Feb-09 5:05 
AnswerRe: Telephony Application Pin
Nagy Vilmos23-Feb-09 5:32
professionalNagy Vilmos23-Feb-09 5:32 
RantRe: Telephony Application Pin
Smithers-Jones23-Feb-09 7:33
Smithers-Jones23-Feb-09 7:33 
Questionhow to drag grop in c#.net by usin text not panel or picturebox Pin
poonam jagdale23-Feb-09 3:20
poonam jagdale23-Feb-09 3:20 
AnswerRe: how to drag grop in c#.net by usin text not panel or picturebox Pin
EliottA23-Feb-09 3:21
EliottA23-Feb-09 3:21 
GeneralRe: how to drag grop in c#.net by usin text not panel or picturebox Pin
Ennis Ray Lynch, Jr.23-Feb-09 3:24
Ennis Ray Lynch, Jr.23-Feb-09 3:24 
GeneralRe: how to drag grop in c#.net by usin text not panel or picturebox Pin
Nagy Vilmos23-Feb-09 5:34
professionalNagy Vilmos23-Feb-09 5:34 
QuestionPort programming Pin
smilerP23-Feb-09 2:59
smilerP23-Feb-09 2:59 
AnswerRe: Port programming Pin
Kristian Sixhøj23-Feb-09 3:05
Kristian Sixhøj23-Feb-09 3:05 
AnswerRe: Port programming Pin
EliottA23-Feb-09 3:17
EliottA23-Feb-09 3:17 
AnswerRe: Port programming Pin
Luc Pattyn23-Feb-09 4:49
sitebuilderLuc Pattyn23-Feb-09 4:49 
AnswerRe: Port programming Pin
0x3c023-Feb-09 7:32
0x3c023-Feb-09 7:32 

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.