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

C#

 
AnswerRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:31
professionalThomas Stockwell10-Jul-08 10:31 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 10:41
GreatBarrier8610-Jul-08 10:41 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:54
professionalThomas Stockwell10-Jul-08 10:54 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury10-Jul-08 16:59
professionalJoe Woodbury10-Jul-08 16:59 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield10-Jul-08 21:13
Ashfield10-Jul-08 21:13 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury11-Jul-08 5:14
professionalJoe Woodbury11-Jul-08 5:14 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield11-Jul-08 9:32
Ashfield11-Jul-08 9:32 
QuestionDataGridView strange Pin
muharrem10-Jul-08 9:18
muharrem10-Jul-08 9:18 
I have following in my form

MySqlDataAdapter da;
DataSet ds;

private void MyForm_Load(object sender, EventArgs e)
{
ds = new DataSet();
string strSQL = "SELECT A,B,C,D FROM MyTable";
da = new MySqlDataAdapter(strSQl,myConnection);

da.Fill(ds, "Example");
gridForExample.DataSource = ds.Tables["Example"];
}

private void btnRefresh_Click(object sender, EventArgs e)
{
da.Fill(ds, "Example");
}

So, MyTable has only six rows in database. Every time da.Fill(ds, "Example"); executes grid view
showing 6 more but same rows. I mean 6 then 12 then 18 and so on.

But I expect to see only 6 rows, don't I? Or am I mistaken?

Please help.

Thanks
AnswerRe: DataGridView strange Pin
paas10-Jul-08 9:36
paas10-Jul-08 9:36 
GeneralRe: DataGridView strange Pin
muharrem10-Jul-08 10:49
muharrem10-Jul-08 10:49 
QuestionRemoting - sending a message from both server and client? Pin
Iron Goat10-Jul-08 9:02
Iron Goat10-Jul-08 9:02 
AnswerRe: Remoting - sending a message from both server and client? Pin
mav.northwind11-Jul-08 21:31
mav.northwind11-Jul-08 21:31 
Questionneed help with LOOP to display records from Access Database............ Pin
Reality Strikes10-Jul-08 8:48
Reality Strikes10-Jul-08 8:48 
AnswerRe: need help with LOOP to display records from Access Database............ Pin
Pete O'Hanlon10-Jul-08 8:58
mvePete O'Hanlon10-Jul-08 8:58 
GeneralRe: need help with LOOP to display records from Access Database............ Pin
Reality Strikes11-Jul-08 5:21
Reality Strikes11-Jul-08 5:21 
AnswerRe: need help with LOOP to display records from Access Database............ Pin
Reality Strikes10-Jul-08 9:12
Reality Strikes10-Jul-08 9:12 
QuestionDestroying Object from memory Pin
Saksida Bojan10-Jul-08 8:44
Saksida Bojan10-Jul-08 8:44 
AnswerRe: Destroying Object from memory Pin
Thomas Stockwell10-Jul-08 10:33
professionalThomas Stockwell10-Jul-08 10:33 
AnswerRe: Destroying Object from memory Pin
Robert.C.Cartaino10-Jul-08 14:32
Robert.C.Cartaino10-Jul-08 14:32 
GeneralRe: Destroying Object from memory Pin
Scott Dorman10-Jul-08 17:02
professionalScott Dorman10-Jul-08 17:02 
AnswerRe: Destroying Object from memory Pin
N a v a n e e t h10-Jul-08 19:32
N a v a n e e t h10-Jul-08 19:32 
QuestionMouse event Pin
zeeShan anSari10-Jul-08 8:18
zeeShan anSari10-Jul-08 8:18 
AnswerRe: Mouse event Pin
DaveyM6910-Jul-08 8:29
professionalDaveyM6910-Jul-08 8:29 
QuestionRe: Mouse event Pin
zeeShan anSari10-Jul-08 8:34
zeeShan anSari10-Jul-08 8:34 
AnswerRe: Mouse event Pin
TheFM23410-Jul-08 9:48
TheFM23410-Jul-08 9: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.