Hi to all,

I am using dataset to retrieve value from dataset but I can't do it, control automatically goes to next sentence without retrieving any value..

Dim scd As Integer = ds.Tables("collage_detail").Rows(x)("sc")
                                    Dim cd As Integer = ds.Tables("collage_detail").Rows(x)("c_id")

collage_detail is my table name .

Hi to all,

I am using dataset to retrieve value from dataset but I can't do it, control automatically goes to next sentence without retrieving any value..

Dim scd As Integer = ds.Tables("collage_detail").Rows(x)("sc")
                                    Dim cd As Integer = ds.Tables("collage_detail").Rows(x)("c_id")

collage_detail is my table name .

How do you say the value is not retrieved?

Does it throw any error?

Have you checked the value of the variable after the control goes to next line by putting a breakpoint?

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.