Click here to Skip to main content
15,901,373 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# 2005 Tab pages and designed pages Pin
Hennie van Wyk23-Jan-10 3:50
Hennie van Wyk23-Jan-10 3:50 
GeneralRe: C# 2005 Tab pages and designed pages Pin
Not Active23-Jan-10 4:38
mentorNot Active23-Jan-10 4:38 
GeneralRe: C# 2005 Tab pages and designed pages Pin
Hennie van Wyk23-Jan-10 6:00
Hennie van Wyk23-Jan-10 6:00 
AnswerRe: C# 2005 Tab pages and designed pages Pin
Abhinav S23-Jan-10 4:04
Abhinav S23-Jan-10 4:04 
GeneralRe: C# 2005 Tab pages and designed pages Pin
Not Active23-Jan-10 4:42
mentorNot Active23-Jan-10 4:42 
AnswerRe: C# 2005 Tab pages and designed pages Pin
Luc Pattyn23-Jan-10 7:10
sitebuilderLuc Pattyn23-Jan-10 7:10 
QuestionC# books Pin
gamer112722-Jan-10 23:43
gamer112722-Jan-10 23:43 
AnswerRe: C# books Pin
Shadoblaque23-Jan-10 0:55
Shadoblaque23-Jan-10 0:55 
Well, one book that I have found useful is Deitel's C# for Programmers (ISBN 0-13-134591-5). That's what I started with.

Concerning MS Access, here is some code that may help you get started:


OleDbConnection jetDB = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0; Data Source='" + AccessFileFullPath + "'");


/// <summary>
/// Handles SQL commands that do not return results, such as CREATE,
/// INSERT, or DELETE.
/// </summary>
/// <param name="SQL">SQL command string (must terminate with semicolon).</param>
public void ExecuteNonQuery(string SQL)
{
OleDbCommand executeCommand = new OleDbCommand(SQL, jetDB);
jetDB.Open();
executeCommand.ExecuteNonQuery();
jetDB.Close();
}

/// <summary>
/// Retrieves data from the specified table or query, using the SQL string
/// passed as a parameter.
/// </summary>
/// <param name="query">SQL string to execute to obtain the Data Table.</param>
/// <returns>A data table populated with the specified query.</returns>
public DataTable ExecuteQuery(string query)
{
DataTable queryResult = new DataTable();

OleDbDataAdapter queryDBA = new OleDbDataAdapter(query, jetDB);
queryDBA.Fill(queryResult);

return queryResult;
}
GeneralRe: C# books Pin
gamer112723-Jan-10 1:45
gamer112723-Jan-10 1:45 
GeneralRe: C# books Pin
Shadoblaque23-Jan-10 1:55
Shadoblaque23-Jan-10 1:55 
GeneralRe: C# books Pin
DaveyM6923-Jan-10 2:11
professionalDaveyM6923-Jan-10 2:11 
GeneralRe: C# books Pin
Shadoblaque23-Jan-10 3:03
Shadoblaque23-Jan-10 3:03 
GeneralRe: C# books Pin
DaveyM6923-Jan-10 3:46
professionalDaveyM6923-Jan-10 3:46 
AnswerRe: C# books Pin
Roger Wright23-Jan-10 20:19
professionalRoger Wright23-Jan-10 20:19 
Questionconnect to SQL Pin
jojoba201022-Jan-10 20:13
jojoba201022-Jan-10 20:13 
AnswerRe: connect to SQL Pin
Roger Wright22-Jan-10 20:18
professionalRoger Wright22-Jan-10 20:18 
QuestionRe: connect to SQL Pin
jojoba201022-Jan-10 20:32
jojoba201022-Jan-10 20:32 
AnswerMessage Closed Pin
22-Jan-10 20:45
stancrm22-Jan-10 20:45 
QuestionRe: connect to SQL Pin
jojoba201022-Jan-10 20:55
jojoba201022-Jan-10 20:55 
AnswerRe: connect to SQL Pin
Roger Wright22-Jan-10 20:51
professionalRoger Wright22-Jan-10 20:51 
QuestionRe: connect to SQL Pin
jojoba201022-Jan-10 20:59
jojoba201022-Jan-10 20:59 
AnswerRe: connect to SQL Pin
Roger Wright22-Jan-10 21:13
professionalRoger Wright22-Jan-10 21:13 
QuestionXna Graphics setting advise Pin
venomation22-Jan-10 19:00
venomation22-Jan-10 19:00 
AnswerRe: Xna Graphics setting advise Pin
Member 103390722-Jan-10 22:32
Member 103390722-Jan-10 22:32 
GeneralRe: Xna Graphics setting advise Pin
venomation23-Jan-10 7:28
venomation23-Jan-10 7:28 

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.