You don't need to use all that databinder eval stuff in codebehind. That syntax is for inline databinding syntax in the page markup. The syntax you have is incorrect:
Change this:
DataGridNo.Text = CStr(DataBinder.Eval(DsBook11, "Tables{Material_Table1].DefaultView.[0].seqNo"))
DataGridTitle.Text = CStr(DataBinder.Eval(DsBook11, "Tables{Material_Table1].DefaultView.[0].Title"))
To this:
DataGridNo.Text = DsBook11.Tables["Material_Table1"].DefaultView.[0].seqNo.ToString();
DataGridTitle.Text = DsBook11.Tables["Material_Table1"].DefaultView.[0].Title.ToString();
What are these controls? Are these labels or textboxes? I'm confused by your naming. The thread started with a question about the datagrid, but you seem to now be asking about some other control.
-
Peter