|
Have you tried reading all data into a dataset? You can then create a constraint between your two tables (or more) and find parent and child rows using a certain datarelation between those tables.
- - - --[ i love it when a plan comes together ]-- - - -
|
|
|
|
|
Is there a Winforms version of the MembershipProvider services, or do I just use ASP.NET's?
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
|
In continuation with this [^]
i just work out a solution
1)create the arrays of the textures required make it shared as property and assign it to new texture[0];
or
2)save it in variable and assign it null after use
i want to know which will be better in regards of performance
** in this way i will use the merits of them being static and free resources as soon as their work is over ( yes i do have to create a class handling loading and unloading textures )
// i dropped passing it to lower class because it will create multiple instances of the texture require a multiple amount of ram
Last modified: 14mins after originally posted --
|
|
|
|
|
hello guys in this great forum.
i just need to know one thing .
I got dsl 256kpbs alone in my house , and i need to configure my router to accept connections from the outside world cause it is only one way connection .
i connect to outside world but peer can't connect to me , how can i configure my router to be accessible from outside world , giving my ip address to a peer and connect to me , please it is urgently
thanks folks.
Human knowledge belongs to the world.
|
|
|
|
|
snouto wrote: i just need to know one thing .
You mean besides which forum to post your question in?
Just guessing I would say "Operating Systems / SysAdmin"
led mike
|
|
|
|
|
very thx for any one can help me.
=========
Create class SavingsAccount. Use static variable annualInterestRate to store the interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance indicating the amount the saver currently has on deposit. Provide method CalculateMonthlyInterest to calculate the monthly interest by multiplying the savingsBalance by annualInterestRate divided by 12; this interest should be added to savingsBalance. Provide a static method ModifyInterestRate that sets the annualInterestRate to a new value. Write a driver program to test class SavingsAccount. Instantiate two savingsAccount objects, saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. Set annualInterestRate to 4%, then calculate the monthly interest and print the new balances for each of the savers. Then set the annualInterestRate to 5% and calculate the next month’s interest and print the new balances for each of the savers.
===========
I WANT THE IDEA ONLY NOT SOLVE THE CASE, IDEA OR WHAT HE WANT HEAR
tamer
-- modified at 16:51 Wednesday 22nd November, 2006
|
|
|
|
|
tamerana2004 wrote: very thx for any one can help me.
Maybe your professor can help you.
led mike
|
|
|
|
|
Help you with what? All you've done is post a copy of your assignment. What part of this are you having a problem with?
Are you looking for someone to write it for you? If so, you've most assuredly come to the WRONG place.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Are you looking for someone to write it for you?
I think it is a kind way of demanding someone do the homework for him. Will get him really far in a job.
|
|
|
|
|
See here.[^]
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
Sounds like everything you need is right there in the question. Create the class, add the variables it tell you to add, implement the methods it tells you to implement, then write a short console app that creates your objects and does what the question tells you to do.
This question is about as handholdy as you can get. You'd be lucky if you ever get a specification that precise in the real world.
|
|
|
|
|
tamerana2004 wrote: I WANT THE IDEA ONLY NOT SOLVE THE CASE, IDEA OR WHAT HE WANT HEAR
It's very simple.
He want's exactly what the assignment says. It describes exactly what to do, and even how to do it. There is nothing that you have to figure out, you just have to type in the code.
What he does not want, however, is for you to try to make someone else do the assignment for you.
---
b { font-weight: normal; }
|
|
|
|
|
Go to rent a coder and pay 5 bucks
On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Charles Babbage
|
|
|
|
|
First try it yourself. If you really get stuck somewhere post the question here, explain what you've tried and where the problem lies. In that case people are more willing to help you.
|
|
|
|
|
When I test the String.Trim() function,my resource codes as follows:
using System;
using System.Collections.Generic;
using System.Text;
namespace Ch05Ex05
{
class Program
{
static void Main(string[] args)
{
string myString = " This is a test. ";
char[] separator = {' '};
char[] test ={ 'T', 'i' };
string[] myWords;
myString = myString.Trim(test);
// myWords = myString.Split(separator);
foreach (char C in myString)
{
Console.WriteLine("{0}", C);
}
Console.ReadKey();
}
}
}
The alphabet T and i should be removed ,but when I excuted my codes,It change nothing! Can you tell me why?
|
|
|
|
|
Trim removes occurrences only at the begin or at the end of the string (MSDN):
String.Trim (Char[])
Removes all occurrences of a set of characters specified in an array from
the beginning and end of this instance.
|
|
|
|
|
I have got it,Thank you! I'm a new learner on C#.I come from china.Would you mind to make friends with me? I would like that you can help to improve my english and my C#.And if you want to make a journey to china,I can be you guide. MSN:wanlim0817@hotmail.com
email:wanlim0817@yahoo.com.cn
|
|
|
|
|
I wiil be happy to be your friend. On the other hand, since I'm Italian, English is not my native language. Moreover I'm not that C# expertise (C++ is my native programming language...). Anyway I will happy to receive your questions...
|
|
|
|
|
I think you're looking for .Replace. You can replace T with an empty string.
Christian Graus - C++ MVP
|
|
|
|
|
I have got it,Thank you! I'm a new learner on C#.I come from china.Would you mind to make friends with me? I would like that you can help to improve my english and my C#.And if you want to make a journey to china,I can be you guide. MSN:wanlim0817@hotmail.com
email:wanlim0817@yahoo.com.cn
|
|
|
|
|
you can use string builder or you can use the replace function it will repalce the letter T with an empt space
venu gopal
|
|
|
|
|
|
"exit while;"
Ooops -VB.Net only...Last modified: 4mins after originally posted -- correction
|
|
|
|
|
I could certainly be missing something but I thought this was for VB not C#.
only two letters away from being an asset
|
|
|
|