Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding New Row & Relation
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00762056
Message ID:
00762547
Vues:
15
Here is the code to replicate a string:
'Create a stringBuilder    
Dim sb As StringBuilder = New StringBuilder()

'Insert the expression into the StringBuilder for 5 times   
sb.Insert(0, "0", 5)

'Convert it to a string   
Me.TextBox1.Text = sb.ToString()
>Thanks Cathi,
>
>By the way do you know what is the .Net command for this VB6 command
>
>String("0", 5)
>
>which repeats the "0" five times?
>
>
>
>>Add the new row to the child table and not the relationship.
>>
>>>Dear All
>>>
>>>What is the correct method when you have a parent table and child tbale and datarelation between them?
>>>Adding the new Row to the child table as :
>>>
>>>myDS.Tables("Member").NewRow()
>>>
>>>
>>>Or adding the new Row to the relation as :
>>>
>>>
>>>myDS.Tables("Member.MemMsr”).NewRow()
>>>
>>>
>>>Thanks for the advice
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform