Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionboot configuration Pin
saisp29-May-07 23:54
saisp29-May-07 23:54 
Questionvector, table and pair, C++ Pin
C_Zealot29-May-07 23:21
C_Zealot29-May-07 23:21 
AnswerRe: vector, table and pair, C++ Pin
Cedric Moonen29-May-07 23:35
Cedric Moonen29-May-07 23:35 
GeneralRe: vector, table and pair, C++ Pin
C_Zealot29-May-07 23:48
C_Zealot29-May-07 23:48 
GeneralRe: vector, table and pair, C++ Pin
Cedric Moonen29-May-07 23:56
Cedric Moonen29-May-07 23:56 
GeneralRe: vector, table and pair, C++ [modified] Pin
Rajkumar R31-May-07 4:05
Rajkumar R31-May-07 4:05 
GeneralRe: vector, table and pair, C++ Pin
C_Zealot31-May-07 4:12
C_Zealot31-May-07 4:12 
QuestionLoad combobox Pin
matjame29-May-07 22:41
matjame29-May-07 22:41 
Hi all.

Im trying to load data into a combo box during form load.The items Im trying to load are from a database.

Now here is my little code that gives me errors.

protected void Page_Load(object sender, EventArgs e)
{
con.ConnectionString = str;
String str1 = "Select * from Filter";
con.Open();
cm.Connection = con;
dtr = cm.ExecuteReader();
if (dtr.Read())
{
// Load FilterByKeys onto the combo box
cboExtension.Text = (dtr["FilterKey"]).ToString();<<*****Problem****Sigh | :sigh: Sigh | :sigh: Sigh | :sigh:
lblMessage.Text = "Good. All the values are loaded";

kagiso

AnswerRe: Load combobox Pin
CPallini29-May-07 22:56
mveCPallini29-May-07 22:56 
AnswerRe: Load combobox Pin
toxcct29-May-07 23:03
toxcct29-May-07 23:03 
JokeRe: Load combobox Pin
super_ttd12-Jun-07 11:14
super_ttd12-Jun-07 11:14 
QuestionChanging dialog box colour Pin
neha.agarwal2729-May-07 22:20
neha.agarwal2729-May-07 22:20 
AnswerRe: Changing dialog box colour Pin
Nibu babu thomas29-May-07 22:25
Nibu babu thomas29-May-07 22:25 
QuestionHow can i add toolbar and menu bar using Shared Addin? Pin
Banks K29-May-07 22:18
Banks K29-May-07 22:18 
AnswerRe: How can i add toolbar and menu bar using Shared Addin? Pin
sw@thi29-May-07 22:46
sw@thi29-May-07 22:46 
QuestionXP style Pin
CodeMak29-May-07 21:56
CodeMak29-May-07 21:56 
AnswerRe: XP style Pin
Nibu babu thomas29-May-07 22:02
Nibu babu thomas29-May-07 22:02 
Question860309 - limiting # of errors Pin
ilostmyid229-May-07 21:49
professionalilostmyid229-May-07 21:49 
AnswerRe: 860309 - limiting # of errors Pin
toxcct29-May-07 22:27
toxcct29-May-07 22:27 
Questionstatic member Pin
nitin329-May-07 21:32
nitin329-May-07 21:32 
AnswerRe: static member Pin
toxcct29-May-07 21:38
toxcct29-May-07 21:38 
AnswerRe: static member Pin
CPallini29-May-07 22:02
mveCPallini29-May-07 22:02 
GeneralRe: static member Pin
toxcct29-May-07 22:26
toxcct29-May-07 22:26 
GeneralRe: static member Pin
CPallini29-May-07 22:47
mveCPallini29-May-07 22:47 
QuestionDlls uisng Atl Application wizard Pin
jannathali29-May-07 21:10
jannathali29-May-07 21:10 

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.