[CSharp.net] CurrentRowIndex - Master/Detail

Sven Arndt csharp.net at glengamoi.com
Fri, 23 Jul 2004 18:40:27 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0124_01C470E4.8609F370
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Könnte es villeicht hier dran liegen?

string cmdDet = "SELECT * FROM art_def WHERE (artno='@artcode')";
MySqlCommand cD = new MySqlCommand(cmdDet, myCon);
 cD.Parameters.Add("@artcode", MySqlDbType.VarChar, 20);
 cD.Parameters["@artcode"].Value = =
myDs.Tables["Master"].Columns["artcode"].ToString();

Gruß,
Sven

  ----- Original Message ----- 
  From: Sven Arndt 
  To: csharp.net@glengamoi.com 
  Sent: Friday, July 23, 2004 6:37 PM
  Subject: Re: [CSharp.net] CurrentRowIndex - Master/Detail


  Hallo,

  hab das geändert, aber es funktioniert immer noch nicht.
  Dann hab ich es auch so probiert:

  dgInfo.DataSource = myDs;
  dgInfo.DataMember = "Master";

  Aber auch ohne Erfolg.

  Gruß,
  Sven
------=_NextPart_000_0124_01C470E4.8609F370
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; =
charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; =
FONT-FAMILY: Arial" 
bottomMargin=7 bgColor=#ffffff leftMargin=7 topMargin=7 =
rightMargin=7>
<DIV>Könnte es villeicht hier dran liegen?</DIV>
<DIV>&nbsp;</DIV>
<DIV>string cmdDet = "SELECT * FROM art_def WHERE (<A 
href="mailto:artno='@artcode'">artno='@artcode'</A>)";<BR>MySqlComm=
and cD = new 
MySqlCommand(cmdDet, myCon);<BR>&nbsp;cD.Parameters.Add("@artcode", 
MySqlDbType.VarChar, 20);<BR>&nbsp;cD.Parameters["@artcode"].Value = 
myDs.Tables["Master"].Columns["artcode"].ToString();</DIV>
<DIV>&nbsp;</DIV>
<DIV>Gruß,</DIV>
<DIV>Sven</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B> 
  <A title=3DArndtinho@gmx.net href="mailto:Arndtinho@gmx.net">Sven =
Arndt</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A =
title=3Dcsharp.net@glengamoi.com 
  href="mailto:csharp.net@glengamoi.com">csharp.net@glengamoi.com</A> =
</DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 23, 2004 =
6:37 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [CSharp.net] =
CurrentRowIndex 
  - Master/Detail</DIV>
  <DIV><BR></DIV>
  <DIV>Hallo,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>hab das geändert, aber es&nbsp;funktioniert immer noch =
nicht.</DIV>
  <DIV>Dann hab ich es auch so probiert:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>dgInfo.DataSource = myDs;<BR>dgInfo.DataMember = =
"Master";</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Aber auch ohne Erfolg.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Gruß,</DIV>
  <DIV>Sven<FONT id=role_document face=Arial color=#000000 =
size=2><FONT 
  style="BACKGROUND-COLOR: transparent" face=Arial color=#000000 
  size=2></DIV></FONT></BLOCKQUOTE></FONT></BODY></HTML>

------=_NextPart_000_0124_01C470E4.8609F370--