Click here to Skip to main content
   

C#

 
GeneralRe: object reference not set to an instance of an object PinmemberChinmaya_Champatiray3-Apr-13 19:03 
GeneralRe: object reference not set to an instance of an object Pinmembersurya 20133-Apr-13 19:39 
AnswerRe: object reference not set to an instance of an object PinmemberSimon_Whale3-Apr-13 4:17 
AnswerRe: object reference not set to an instance of an object PinprotectorPete O'Hanlon3-Apr-13 7:54 
QuestionC# BITMAP to Binary.. Pinmember정성만2-Apr-13 17:07 
AnswerRe: C# BITMAP to Binary.. PinmvpRichard MacCutchan2-Apr-13 23:01 
AnswerRe: C# BITMAP to Binary.. PinmvpEddy Vluggen3-Apr-13 8:05 
Questionerror in query with 2 tables in c# visual studio 2010 Pinmemberzebra882-Apr-13 10:40 
why is my query wrong at FROM ?
i want to connect two tables so i can get some specific data but c# appear error.
 
try
{
//Set the command string
string Cmd = "SELECT * FROM Robberies_Table JOIN Branches_Table ON Robberies_Table.BranchCode =Branches_Table.BranchCode ;";
//create new new connection to the database
OleDbConnection conn = new OleDbConnection(ConnectionString);
//create new data adapter
OleDbDataAdapter Adapter = new OleDbDataAdapter(Cmd, conn);
//create new command builder
OleDbCommandBuilder CmdBuilder = new OleDbCommandBuilder(Adapter);
dTable = new DataTable();
Adapter.Fill(dTable);
conn.Close();
}
catch (Exception e)
{
MessageBox.Show(e.ToString());
}
//return the search results on a datatable
return dTable;
 
}
AnswerRe: error in query with 2 tables in c# visual studio 2010 PinprotectorPete O'Hanlon2-Apr-13 11:12 
GeneralRe: error in query with 2 tables in c# visual studio 2010 Pinmemberzebra882-Apr-13 12:04 
GeneralRe: error in query with 2 tables in c# visual studio 2010 PinprotectorPete O'Hanlon2-Apr-13 12:14 
GeneralRe: error in query with 2 tables in c# visual studio 2010 [modified] Pinmemberzebra882-Apr-13 12:35 
GeneralRe: error in query with 2 tables in c# visual studio 2010 PinprotectorPete O'Hanlon2-Apr-13 12:39 
GeneralRe: error in query with 2 tables in c# visual studio 2010 Pinmemberzebra882-Apr-13 12:47 
GeneralRe: error in query with 2 tables in c# visual studio 2010 PinprotectorPete O'Hanlon2-Apr-13 12:50 
GeneralRe: error in query with 2 tables in c# visual studio 2010 Pinmemberzebra882-Apr-13 13:00 
GeneralRe: error in query with 2 tables in c# visual studio 2010 PinmemberRavi Bhavnani4-Apr-13 7:18 
GeneralMessage Removed Pinmemberzebra884-Apr-13 11:21 
GeneralRe: error in query with 2 tables in c# visual studio 2010 PinmemberRavi Bhavnani4-Apr-13 12:50 
SuggestionRe: error in query with 2 tables in c# visual studio 2010 PinmemberROHIT SRIVASTAVA3-Apr-13 3:58 
Question1500x1500 image at 30fps on wpf Pinmemberbarbetto802-Apr-13 5:58 
AnswerRe: 1500x1500 image at 30fps on wpf PinprotectorPete O'Hanlon2-Apr-13 6:24 
GeneralRe: 1500x1500 image at 30fps on wpf Pinmemberbarbetto803-Apr-13 0:06 
GeneralRe: 1500x1500 image at 30fps on wpf PinprotectorPete O'Hanlon3-Apr-13 0:39 
QuestionSilent installation - Invalid Re-install mode character error Pinmembersonia$cool2-Apr-13 4:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150129.1 | Last Updated 30 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid