Click here to Skip to main content
15,897,360 members
Home / Discussions / C#
   

C#

 
QuestionGmail APi's Pin
Anil Kumar.Arvapalli1-Feb-10 2:13
Anil Kumar.Arvapalli1-Feb-10 2:13 
AnswerRe: Gmail APi's Pin
Not Active1-Feb-10 2:21
mentorNot Active1-Feb-10 2:21 
AnswerRe: Gmail APi's Pin
SergGM24-Nov-10 0:16
SergGM24-Nov-10 0:16 
GeneralRe: Gmail APi's Pin
Norbert Szenasi27-Dec-10 6:27
Norbert Szenasi27-Dec-10 6:27 
QuestionDExplore issue Pin
dwolver1-Feb-10 2:13
dwolver1-Feb-10 2:13 
AnswerRe: DExplore issue Pin
ricmil421-Feb-10 3:26
ricmil421-Feb-10 3:26 
QuestionNeed to Import table & query from one MS Access databas to another. Pin
honeyashu1-Feb-10 2:01
honeyashu1-Feb-10 2:01 
AnswerRe: Need to Import table & query from one MS Access databas to another. [modified] Pin
Dan Mos1-Feb-10 2:51
Dan Mos1-Feb-10 2:51 
Well you should post it in the DB forum/section.

Anyway here's one way how you could do it(the query):

OleDbCommnand cmd =  new OledbCommand(con);

//create a Select for example
cmd.CommandText = "CREATE PROC nameOfQueryHere(inName VARCHAR(50))
AS SELECT * FROM tblNameHere
WHERE tblNameHere.Name = inName";

//and create the query/proc by executing the command

cmd.ExecuteNonQuery();


Of course try catch and all that is up to you. I just posted an ideea.

[EDIT]The same technique for creating a table.
Use a command string in witch you create the table and execute it[/EDIT]

modified on Monday, February 1, 2010 9:07 AM

AnswerRe: Need to Import table & query from one MS Access databas to another. Pin
Md. Marufuzzaman1-Feb-10 9:04
professionalMd. Marufuzzaman1-Feb-10 9:04 
QuestionTrapping arrow keys in form Pin
Kaikus1-Feb-10 0:27
Kaikus1-Feb-10 0:27 
AnswerRe: Trapping arrow keys in form Pin
#realJSOP1-Feb-10 0:47
professional#realJSOP1-Feb-10 0:47 
GeneralRe: Trapping arrow keys in form Pin
Kaikus1-Feb-10 1:00
Kaikus1-Feb-10 1:00 
QuestionCrystal Report Probelm (Subreport) Pin
Syed Shahid Hussain1-Feb-10 0:10
Syed Shahid Hussain1-Feb-10 0:10 
AnswerRe: Crystal Report Probelm (Subreport) Pin
Nagy Vilmos1-Feb-10 2:31
professionalNagy Vilmos1-Feb-10 2:31 
GeneralRe: Crystal Report Probelm (Subreport) Pin
Syed Shahid Hussain1-Feb-10 3:04
Syed Shahid Hussain1-Feb-10 3:04 
GeneralRe: Crystal Report Probelm (Subreport) Pin
Nagy Vilmos2-Feb-10 5:38
professionalNagy Vilmos2-Feb-10 5:38 
QuestionInvoke MouseClick in MouveMove methode Pin
shantz1-Feb-10 0:03
shantz1-Feb-10 0:03 
AnswerRe: Invoke MouseClick in MouveMove methode Pin
#realJSOP1-Feb-10 0:49
professional#realJSOP1-Feb-10 0:49 
AnswerRe: Invoke MouseClick in MouveMove methode Pin
Alex Manolescu1-Feb-10 0:50
Alex Manolescu1-Feb-10 0:50 
QuestionCatch events in my code when VS discovers that the file has been modified outside of the source editor Pin
lucienzhang31-Jan-10 22:09
lucienzhang31-Jan-10 22:09 
AnswerRe: Catch events in my code when VS discovers that the file has been modified outside of the source editor Pin
DaveyM6931-Jan-10 22:16
professionalDaveyM6931-Jan-10 22:16 
GeneralRe: Catch events in my code when VS discovers that the file has been modified outside of the source editor Pin
lucienzhang31-Jan-10 22:25
lucienzhang31-Jan-10 22:25 
AnswerRe: Catch events in my code when VS discovers that the file has been modified outside of the source editor Pin
monstale31-Jan-10 22:33
monstale31-Jan-10 22:33 
QuestionRDLC C# 2005 multiple datasets in one Table ReportItem Pin
HennieSmit31-Jan-10 22:00
HennieSmit31-Jan-10 22:00 
QuestionProblems of reading file content [modified] Pin
codenoobie31-Jan-10 21:48
codenoobie31-Jan-10 21:48 

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.