i wan create a datatable complex like tis 1!any1 can teach me how to do it?
The datatable consist 5 datacolumn(col1,col2,col3,col4 and col5)
the data of row of col1,col3 and col5 is fix("A","Book","100") and tis same data will insert into 30 row (when the ds.Tables(0) got 30 row)
the data of row of col2 and col4 is take from ds.Tables(0)!


The example is like below:
col1 col2 col3 col4 col5
A ds.Tables(0).Rows(i) Book ds.Tables(0).Rows(i) 100
A ds.Tables(0).Rows(i) Book ds.Tables(0).Rows(i) 100
A ds.Tables(0).Rows(i) Book ds.Tables(0).Rows(i) 100
A ds.Tables(0).Rows(i) Book ds.Tables(0).Rows(i) 100
A ds.Tables(0).Rows(i) Book ds.Tables(0).Rows(i) 100

Thanks....
i ady think for it whole day oso cannot create the table like tis 1!
Can any1 help me?
thanks....URGENT!!!!

Recommended Answers

All 3 Replies

The example is like below:
col1 ,col2 ,col3 ,col4 ,col5
A ,ds.Tables(0).Rows(i) ,Book ,ds.Tables(0).Rows(i) ,100
A ,ds.Tables(0).Rows(i) ,Book ,ds.Tables(0).Rows(i) ,100
A ,ds.Tables(0).Rows(i) ,Book ,ds.Tables(0).Rows(i) ,100
A ,ds.Tables(0).Rows(i) ,Book ,ds.Tables(0).Rows(i) ,100
A ,ds.Tables(0).Rows(i) ,Book ,ds.Tables(0).Rows(i) ,100

can any1 solve my problem?Tell me how to create the table like sample above!

thanks

Please rephrase your question, and please, don't get angry because no one replies. Remember: you'll learn more when you TRY to solve problems like this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.