Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
QuestionHow to load HTML file using XmlDocument class Pin
El'Cachubrey15-Dec-07 10:13
El'Cachubrey15-Dec-07 10:13 
AnswerRe: How to load HTML file using XmlDocument class Pin
Christian Graus15-Dec-07 10:34
protectorChristian Graus15-Dec-07 10:34 
AnswerRe: How to load HTML file using XmlDocument class Pin
pmarfleet15-Dec-07 10:39
pmarfleet15-Dec-07 10:39 
AnswerRe: How to load HTML file using XmlDocument class Pin
Uwe Keim15-Dec-07 10:46
sitebuilderUwe Keim15-Dec-07 10:46 
AnswerRe: How to load HTML file using XmlDocument class Pin
El'Cachubrey16-Dec-07 8:35
El'Cachubrey16-Dec-07 8:35 
Questionhow to pick some records in datagrid Pin
E_Gold15-Dec-07 9:35
E_Gold15-Dec-07 9:35 
GeneralRe: how to pick some records in datagrid Pin
Yitzchok Dev16-Dec-07 18:49
Yitzchok Dev16-Dec-07 18:49 
Generalstring replace method Pin
ahawari0915-Dec-07 9:35
ahawari0915-Dec-07 9:35 
I use below code to fill the DataAdapter with a table contents, but the table name contain space such as "Table Name" I am using replace method to elemnate space from the table name to become "TableName" because when filling DataAdapter it returns an error and even with using the replace method I receive an error such "Syntax error in query. Incomplete query clause."

private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
{
DataSet1 ds = new DataSet1();
string stconn = "connection string";
OleDbConnection conn = new OleDbConnection(stconn);
string deletespace = this.treeView1.SelectedNode.Text.ToString();
string Deletespace = deletespace.Replace(" ","");
OleDbCommand command = new OleDbCommand("select * from '" + Deletespace.ToString() + "'", conn);
conn.Open();
OleDbDataAdapter Adapter = new OleDbDataAdapter();
Adapter.SelectCommand = command;
Adapter.Fill(ds, Deletespace.ToString());
}
hawari

GeneralRe: string replace method Pin
Christian Graus15-Dec-07 9:51
protectorChristian Graus15-Dec-07 9:51 
GeneralRe: string replace method Pin
ahawari0915-Dec-07 10:47
ahawari0915-Dec-07 10:47 
GeneralRe: string replace method Pin
Christian Graus15-Dec-07 14:02
protectorChristian Graus15-Dec-07 14:02 
GeneralRe: string replace method Pin
ahawari0915-Dec-07 15:45
ahawari0915-Dec-07 15:45 
GeneralRe: string replace method Pin
darkelv15-Dec-07 16:50
darkelv15-Dec-07 16:50 
GeneralRe: string replace method Pin
PIEBALDconsult16-Dec-07 13:18
mvePIEBALDconsult16-Dec-07 13:18 
QuestionGet a list of "Open with" applications like in Windows Explorer? Pin
Uwe Keim15-Dec-07 8:01
sitebuilderUwe Keim15-Dec-07 8:01 
GeneralRe: Get a list of "Open with" applications like in Windows Explorer? Pin
Christian Graus15-Dec-07 9:49
protectorChristian Graus15-Dec-07 9:49 
GeneralRe: Get a list of "Open with" applications like in Windows Explorer? Pin
Uwe Keim15-Dec-07 10:29
sitebuilderUwe Keim15-Dec-07 10:29 
GeneralRe: Get a list of "Open with" applications like in Windows Explorer? Pin
Christian Graus15-Dec-07 10:32
protectorChristian Graus15-Dec-07 10:32 
Generalproblems with DataGridView in Windows forms 2.0 Pin
koonda00715-Dec-07 3:12
koonda00715-Dec-07 3:12 
GeneralMSCD 70-316 dump required Pin
dan!sh 15-Dec-07 2:21
professional dan!sh 15-Dec-07 2:21 
GeneralRe: MSCD 70-316 dump required Pin
Paul Conrad15-Dec-07 9:01
professionalPaul Conrad15-Dec-07 9:01 
GeneralRe: MSCD 70-316 dump required Pin
Christian Graus15-Dec-07 10:03
protectorChristian Graus15-Dec-07 10:03 
GeneralRe: MSCD 70-316 dump required Pin
dan!sh 15-Dec-07 20:00
professional dan!sh 15-Dec-07 20:00 
GeneralRe: MSCD 70-316 dump required Pin
GuyThiebaut16-Dec-07 7:36
professionalGuyThiebaut16-Dec-07 7:36 
Generalinput(file) photo upload.. Pin
Rajeshwar Code- Developer15-Dec-07 1:29
Rajeshwar Code- Developer15-Dec-07 1:29 

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.