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

C#

 
AnswerRe: Threads an Objects Pin
carlecomm21-Sep-09 21:42
carlecomm21-Sep-09 21:42 
QuestionCombo Boxes and Database Binding Pin
mbangh15-Sep-09 12:08
mbangh15-Sep-09 12:08 
AnswerRe: Combo Boxes and Database Binding Pin
Christian Graus15-Sep-09 12:37
protectorChristian Graus15-Sep-09 12:37 
GeneralRe: Combo Boxes and Database Binding Pin
mbangh15-Sep-09 12:43
mbangh15-Sep-09 12:43 
AnswerRe: Combo Boxes and Database Binding Pin
Abhishek Sur15-Sep-09 13:00
professionalAbhishek Sur15-Sep-09 13:00 
AnswerRe: Combo Boxes and Database Binding Pin
N a v a n e e t h15-Sep-09 17:33
N a v a n e e t h15-Sep-09 17:33 
GeneralRe: Combo Boxes and Database Binding Pin
mbangh16-Sep-09 5:56
mbangh16-Sep-09 5:56 
AnswerRe: Combo Boxes and Database Binding Pin
carlecomm21-Sep-09 21:30
carlecomm21-Sep-09 21:30 
Hi,

for example
DataTable table = new DataTable();
sqlcon = new SqlConnection(StrCon);
SqlDataAdapter ada = new SqlDataAdapter("select top 20 jsyhm,xm from zjsxx", sqlcon);
sqlcon.Open();
ada.Fill(table);
sqlcon.Close();
comboBoxEx1.DataSource = table.DefaultView;
comboBoxEx1.DisplayMember = "xm";
comboBoxEx1.ValueMember = "jsyhm";
QuestionXML Data and Data Sets Pin
AndyASPVB15-Sep-09 10:19
AndyASPVB15-Sep-09 10:19 
AnswerRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 10:54
Ian Shlasko15-Sep-09 10:54 
GeneralRe: XML Data and Data Sets Pin
AndyASPVB15-Sep-09 11:39
AndyASPVB15-Sep-09 11:39 
GeneralRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 12:05
Ian Shlasko15-Sep-09 12:05 
AnswerRe: XML Data and Data Sets Pin
carlecomm21-Sep-09 21:28
carlecomm21-Sep-09 21:28 
QuestionSource Code Encryption Pin
kKamel15-Sep-09 10:03
kKamel15-Sep-09 10:03 
AnswerRe: Source Code Encryption Pin
Manas Bhardwaj15-Sep-09 10:07
professionalManas Bhardwaj15-Sep-09 10:07 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:09
kKamel15-Sep-09 10:09 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 10:15
protectorChristian Graus15-Sep-09 10:15 
GeneralRe: Source Code Encryption Pin
PIEBALDconsult15-Sep-09 10:16
mvePIEBALDconsult15-Sep-09 10:16 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 10:18
protectorChristian Graus15-Sep-09 10:18 
GeneralRe: Source Code Encryption Pin
Ian Shlasko15-Sep-09 10:18
Ian Shlasko15-Sep-09 10:18 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:22
kKamel15-Sep-09 10:22 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 11:24
protectorChristian Graus15-Sep-09 11:24 
GeneralRe: Source Code Encryption Pin
harold aptroot15-Sep-09 10:23
harold aptroot15-Sep-09 10:23 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:28
kKamel15-Sep-09 10:28 
GeneralRe: Source Code Encryption Pin
harold aptroot15-Sep-09 10:33
harold aptroot15-Sep-09 10:33 

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.