hago esto para llenar un text con informacion que traigo de otra pagina
txtAsunto.Text = DataBinder.Eval(ds, "Tables[Requisicion].DefaultView.
[0].Asunto")
y me da este error:
Index 0 is not non-negative and below total rows count.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: Index 0 is not non-
negative and below total rows count.
Source Error:
Line 26: MyCommand.Fill(ds, "requisicion")
Line 27:
Line 28: txtAsunto.Text = DataBinder.Eval(ds, "Tables
[Requisicion].DefaultView.[0].Asunto")
Line 29: txtProducto.Text = DataBinder.Eval(ds, "Tables
[Requisicion].DefaultView.[0].Producto")
Line 30: txtDescrip.Text = DataBinder.Eval(ds, "Tables
[Requisicion].DefaultView.[0].Descripcion")
si alguin puede decirme de porque haaaaaaaa y solo me pasa con algunos
registros hay otros que pasan bien.