TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
anuradha shiv
NA
21
0
Filling data grid view
Jan 11 2010 11:45 PM
Hi
I have a problem with updating my datagridview using data table . I am unable to get the select statement right .. Could some one help please
This is my xml fragment in question
<
TestSuite
>
<
TestGroup
ID
="
1001
"
Description
="
Group1
"
ErrorCondition
="
Skip
"
>
<
TestCase
ID
="
1001
"
Description
="
CT
"
>
<
TestStep
Command
="
SetCT
"
ID
="
"
Description
="
Set CT
"
>
<
Parameters
>
<
Parameter
Name
="
setCTRatio
"
Value
="
8232
"
Direction
="
Write
"
/>
</
Parameters
>
</
TestStep
>
<
TestStep
Command
="
ReadCT
"
ID
="
"
Description
="
Get CT
"
>
<
Parameters
>
<
Parameter
Name
="
getCTRatio
"
Direction
="
Read
"
/>
</
Parameters
>
</
TestStep
>
<
ValidationCriteria
>
if setCTRatio == getCTRatio testResult.valid = true else testResult.valid = false end
</
ValidationCriteria
>
<
ValidationError
/>
</
TestCase
>
</
TestGroup
>
</
TestSuite
>
As u see there can be many test steps to each test case and each of the test steps has its own set of data .
I want to get the parameters pertaining to a test step that is clicked .
The data structure would be like this
Table "Parameters"
TestStep_Id Parameters_Id
0 0
1 1
Table Parameter
Parameters_Id Name Direction
0 A B
0 C D
1 E F
So if i clicked on TestStep "0" , then the query must pick up Parameters_Id from the table "Parameters" and retrieve only those rows of "Parameter" where Paramters_Id = "0";
I hope i am clear
Reply
Answers (
3
)
Not able to access post
PROGRESS BAR