Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
QuestionRadio Buttons Pin
bar300023-Feb-09 7:23
bar300023-Feb-09 7:23 
AnswerRe: Radio Buttons Pin
0x3c023-Feb-09 7:35
0x3c023-Feb-09 7:35 
GeneralRe: Radio Buttons Pin
bar300023-Feb-09 7:50
bar300023-Feb-09 7:50 
Questionhow to open and play mpeg file using aforge.net Pin
sbs23-Feb-09 7:17
sbs23-Feb-09 7:17 
AnswerRe: how to open and play mpeg file using aforge.net Pin
Christian Graus23-Feb-09 9:09
protectorChristian Graus23-Feb-09 9:09 
QuestionHow to get the directory (folder) on which user has done right click Pin
Abhishek Kulkarni23-Feb-09 6:52
Abhishek Kulkarni23-Feb-09 6:52 
AnswerRe: How to get the directory (folder) on which user has done right click Pin
0x3c023-Feb-09 7:44
0x3c023-Feb-09 7:44 
AnswerRe: How to get the directory (folder) on which user has done right click Pin
Luc Pattyn23-Feb-09 8:16
sitebuilderLuc Pattyn23-Feb-09 8:16 
GeneralRe: How to get the directory (folder) on which user has done right click Pin
Abhishek Kulkarni23-Feb-09 18:31
Abhishek Kulkarni23-Feb-09 18:31 
Question[Message Deleted] Pin
muhammadafsal23-Feb-09 6:30
muhammadafsal23-Feb-09 6:30 
AnswerRe: Hello ,Brothers ,hav you know any error priventig codes in asp.net or c#? Pin
EliottA23-Feb-09 7:24
EliottA23-Feb-09 7:24 
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 

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.