Click here to Skip to main content
15,917,456 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralNavigating to another list in a DataList Pin
mcupryk7-Oct-04 20:43
mcupryk7-Oct-04 20:43 
GeneralRe: Navigating to another list in a DataList Pin
Dave Kreskowiak8-Oct-04 3:26
mveDave Kreskowiak8-Oct-04 3:26 
GeneralWeb Access Failed Error Pin
Hadi Fakhreddine7-Oct-04 20:43
Hadi Fakhreddine7-Oct-04 20:43 
GeneralRe: Web Access Failed Error Pin
Syed Abdul Khader8-Oct-04 1:08
Syed Abdul Khader8-Oct-04 1:08 
GeneralControling the Number of Records On A DataGrid Page Pin
mcupryk7-Oct-04 14:09
mcupryk7-Oct-04 14:09 
GeneralRe: Controling the Number of Records On A DataGrid Page Pin
Gavin Jeffrey7-Oct-04 22:55
Gavin Jeffrey7-Oct-04 22:55 
GeneralRe: Controling the Number of Records On A DataGrid Page Pin
macsgirl8-Oct-04 1:59
macsgirl8-Oct-04 1:59 
GeneralBind the records from the table to a datalist control in c# Pin
mcupryk7-Oct-04 12:49
mcupryk7-Oct-04 12:49 
I tried egghead.
Not much help.
I am trying to bind the records from the table to a datalist control in C#
private DataSet BindTBCOMMANDTYPE()
{
OdbcConnection myConnection = new OdbcConnection("DSN=POS;UID=system;PWD=system");

// Populate the ddlDataSet1
myConnection.Open();
const string strSQLDDL = @"SELECT DT_REF, DT_DESCRIPTION FROM TBCOMMANDTYPE ORDER BY DT_REF";
OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
ddlDataSet1.Clear();
myDataAdapter.Fill(ddlDataSet1, "ddlDATATYPE");
DataSet1.DataSource = ddlDataSet1;
DataSet1.DataBind();
myDataAdapter.Dispose();
myDataAdapter = null;
myConnection.Close();
return ddlDataSet1;
}

Just need the correct syntax.


http://www.eggheadcafe.com/forums/ForumPost.asp?ID=14586&INTID=6


Let's share our knowledge together!!!
mcupryk@sun.net.bb
Matt Cupryk
514-685-0449
GeneralRe: Bind the records from the table to a datalist control in c# Pin
Dave Kreskowiak8-Oct-04 3:23
mveDave Kreskowiak8-Oct-04 3:23 
GeneralDo Loop problem with MSAgent Pin
Member 8605507-Oct-04 12:34
Member 8605507-Oct-04 12:34 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak8-Oct-04 3:17
mveDave Kreskowiak8-Oct-04 3:17 
GeneralRe: Do Loop problem with MSAgent Pin
Member 8605508-Oct-04 4:48
Member 8605508-Oct-04 4:48 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak8-Oct-04 7:15
mveDave Kreskowiak8-Oct-04 7:15 
GeneralRe: Do Loop problem with MSAgent Pin
Member 86055011-Oct-04 6:21
Member 86055011-Oct-04 6:21 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak11-Oct-04 7:47
mveDave Kreskowiak11-Oct-04 7:47 
GeneralRe: Do Loop problem with MSAgent Pin
Member 86055011-Oct-04 8:15
Member 86055011-Oct-04 8:15 
GeneralRe: Do Loop problem with MSAgent Pin
Dave Kreskowiak11-Oct-04 15:21
mveDave Kreskowiak11-Oct-04 15:21 
GeneralPrintPrivew Problem in MDI Form Pin
szaidi7-Oct-04 12:06
szaidi7-Oct-04 12:06 
GeneralRe: PrintPrivew Problem in MDI Form Pin
szaidi8-Oct-04 4:39
szaidi8-Oct-04 4:39 
GeneralRS-232 event Pin
mannett7-Oct-04 8:52
mannett7-Oct-04 8:52 
GeneralRe: RS-232 event Pin
Dave Kreskowiak7-Oct-04 10:11
mveDave Kreskowiak7-Oct-04 10:11 
GeneralFor Next issues Pin
KreativeKai7-Oct-04 7:09
professionalKreativeKai7-Oct-04 7:09 
Generaladd subreport in crystal report Pin
nitin_ion6-Oct-04 21:11
nitin_ion6-Oct-04 21:11 
Generaladd txt file to sql db using vb6.0 Pin
Mohammed Bassam Dab'an6-Oct-04 19:54
sussMohammed Bassam Dab'an6-Oct-04 19:54 
Generaladd text file to sql database, VB6.0 Pin
Mohammad Daba'an6-Oct-04 19:36
Mohammad Daba'an6-Oct-04 19:36 

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.