Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
QuestionCalling files Pin
sreecahitu13-Feb-07 15:09
sreecahitu13-Feb-07 15:09 
AnswerRe: Calling files Pin
Christian Graus13-Feb-07 15:13
protectorChristian Graus13-Feb-07 15:13 
GeneralRe: Calling files Pin
sreecahitu13-Feb-07 15:17
sreecahitu13-Feb-07 15:17 
GeneralRe: Calling files Pin
miestas13-Feb-07 19:39
miestas13-Feb-07 19:39 
QuestionPC Anywhere and C# Application Pin
Darrell Long13-Feb-07 12:50
Darrell Long13-Feb-07 12:50 
AnswerRe: PC Anywhere and C# Application Pin
Christian Graus13-Feb-07 13:26
protectorChristian Graus13-Feb-07 13:26 
AnswerRe: PC Anywhere and C# Application Pin
miestas13-Feb-07 19:50
miestas13-Feb-07 19:50 
QuestionOpening a document from a DataTable Pin
Darkness8413-Feb-07 12:39
Darkness8413-Feb-07 12:39 
I need some help with being able to open a document that is listed in a datatable and is displayed in a datagridview. The code below returns a series of results from a database and these results include the file paths of files on my computer. What I want to be able to do is doulble click on a particular file path in the link column and have that file open.

Hits hits = searcher.Search(query);
DataTable dt = new DataTable();
dt.Columns.Add("link", typeof(string));
for (int j = 0; j < hits.Length(); j++)
{
       // get the document from index
       Document doc = hits.Doc(j);
       // get the document filename
       DataRow row = dt.NewRow();
       row["link"] = doc.Get("link");
       dt.Rows.Add(row);
}
MessageBox.Show("Search Complete", "", MessageBoxButtons.OK);
return dt;

AnswerRe: Opening a document from a DataTable Pin
Darkness8413-Feb-07 13:53
Darkness8413-Feb-07 13:53 
QuestionUpdating UI/Dataset from serialport Pin
TheTinSoldier13-Feb-07 12:22
TheTinSoldier13-Feb-07 12:22 
AnswerRe: Updating UI/Dataset from serialport Pin
Ed.Poore13-Feb-07 13:15
Ed.Poore13-Feb-07 13:15 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier13-Feb-07 14:35
TheTinSoldier13-Feb-07 14:35 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier13-Feb-07 14:38
TheTinSoldier13-Feb-07 14:38 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore13-Feb-07 22:53
Ed.Poore13-Feb-07 22:53 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier13-Feb-07 23:54
TheTinSoldier13-Feb-07 23:54 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore14-Feb-07 0:23
Ed.Poore14-Feb-07 0:23 
GeneralRe: Updating UI/Dataset from serialport [modified] Pin
TheTinSoldier14-Feb-07 8:47
TheTinSoldier14-Feb-07 8:47 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore14-Feb-07 9:25
Ed.Poore14-Feb-07 9:25 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier14-Feb-07 9:46
TheTinSoldier14-Feb-07 9:46 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore14-Feb-07 9:49
Ed.Poore14-Feb-07 9:49 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier14-Feb-07 11:43
TheTinSoldier14-Feb-07 11:43 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore14-Feb-07 11:48
Ed.Poore14-Feb-07 11:48 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier14-Feb-07 12:42
TheTinSoldier14-Feb-07 12:42 
GeneralRe: Updating UI/Dataset from serialport Pin
Ed.Poore14-Feb-07 12:55
Ed.Poore14-Feb-07 12:55 
GeneralRe: Updating UI/Dataset from serialport Pin
TheTinSoldier14-Feb-07 13:30
TheTinSoldier14-Feb-07 13:30 

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.