Click here to Skip to main content
15,896,727 members
Home / Discussions / C#
   

C#

 
AnswerRe: Amazon Web Services Pin
agent00zelda27-Apr-09 9:09
agent00zelda27-Apr-09 9:09 
GeneralRe: Amazon Web Services Pin
Kevin Marois27-Apr-09 9:32
professionalKevin Marois27-Apr-09 9:32 
GeneralRe: Amazon Web Services PinPopular
led mike27-Apr-09 9:43
led mike27-Apr-09 9:43 
GeneralRe: Amazon Web Services Pin
Kevin Marois27-Apr-09 9:49
professionalKevin Marois27-Apr-09 9:49 
GeneralRe: Amazon Web Services Pin
led mike27-Apr-09 9:52
led mike27-Apr-09 9:52 
AnswerRe: Amazon Web Services Pin
0x3c027-Apr-09 9:39
0x3c027-Apr-09 9:39 
GeneralRe: Amazon Web Services Pin
Kevin Marois27-Apr-09 9:40
professionalKevin Marois27-Apr-09 9:40 
QuestionDataGridView,DataBind() Pin
Idoshhh27-Apr-09 8:23
Idoshhh27-Apr-09 8:23 
Hello,
I'm using VS2008 (C#).

i built a desktop application that doing few type of query's and save the results to CSV file.

now, i want also to see the result in the DataGridView.
i understand the logic, and i understand that i have to use in my code something like the follow lines: (i cant see the "DataBind" Method!!)

<pre>
public void ExecuteFromBox(string ExecuteFromFile,string timeNow)
{
string conStr = String.Format(@"UID=very_Funny;PWD=hahahahaha;InitialCatalog=hahahahahahaha;Data Source=hahahahahaha");
Form1 frmain = new Form1();
SqlConnection conn = new SqlConnection(conStr);
conn.Open();
SqlCommand cmd = new SqlCommand(@ExecuteFromFile, conn);
MessageBox.Show(cmd.CommandText);
DataSet ds = new DataSet();
//SqlDataAdapter ad = new SqlDataAdapter(cmd);
SqlDataReader reader = cmd.ExecuteReader();
frmain.DTResults.DataSource = reader;
<b>frmain.DTResults.DataBind();</b> // i cant find this Method!!!
conn.Close();
}
</pre>

is there any suggestion?? how can i add the DataBind Method?

Thank you Smile | :)
AnswerRe: DataGridView,DataBind() Pin
led mike27-Apr-09 9:10
led mike27-Apr-09 9:10 
Questionlooking for a piece of wire or sample to convert voice from microphone to a Oscilloscope [modified] Pin
dinbrca3527-Apr-09 8:03
dinbrca3527-Apr-09 8:03 
GeneralRe: looking for a algorithem or sample to convert voice from microphone to a Oscilloscope Pin
OriginalGriff27-Apr-09 8:15
mveOriginalGriff27-Apr-09 8:15 
Questionusing file. Pin
jaraldumary27-Apr-09 7:50
jaraldumary27-Apr-09 7:50 
AnswerRe: using file. Pin
0x3c027-Apr-09 8:06
0x3c027-Apr-09 8:06 
GeneralRe: using file. Pin
OriginalGriff27-Apr-09 8:17
mveOriginalGriff27-Apr-09 8:17 
GeneralRe: using file. Pin
0x3c027-Apr-09 8:38
0x3c027-Apr-09 8:38 
QuestionConvert Time Pin
onetreeup27-Apr-09 7:15
onetreeup27-Apr-09 7:15 
AnswerRe: Convert Time Pin
Luc Pattyn27-Apr-09 7:42
sitebuilderLuc Pattyn27-Apr-09 7:42 
GeneralRe: Convert Time Pin
harold aptroot27-Apr-09 7:42
harold aptroot27-Apr-09 7:42 
AnswerRe: Convert Time Pin
onetreeup27-Apr-09 7:58
onetreeup27-Apr-09 7:58 
GeneralRe: Convert Time Pin
harold aptroot27-Apr-09 8:04
harold aptroot27-Apr-09 8:04 
GeneralRe: Convert Time Pin
Luc Pattyn27-Apr-09 8:10
sitebuilderLuc Pattyn27-Apr-09 8:10 
GeneralRe: Convert Time Pin
harold aptroot27-Apr-09 8:20
harold aptroot27-Apr-09 8:20 
GeneralRe: Convert Time Pin
agent00zelda27-Apr-09 8:19
agent00zelda27-Apr-09 8:19 
GeneralRe: Convert Time Pin
onetreeup27-Apr-09 8:28
onetreeup27-Apr-09 8:28 
QuestionMilitary time project Pin
blskv27-Apr-09 6:59
blskv27-Apr-09 6:59 

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.