ASP.NET - RADIO BUTTON Y BASES DE DATOS

 
Vista:

RADIO BUTTON Y BASES DE DATOS

Publicado por ARACHELO (1 intervención) el 20/11/2004 00:18:05
HOLA::

SALUDOS::

EL PROBLEMA QUE TENGO, ESKE ESTOY HACIENDO UN EXAMEN EN LINEA, PERO NO SE COMO HACERLE PARA COMPARAR EL VALOR DEL RADIO BUTTON CON LOS VALORES DE LA BASE DE DATOS ESTO PARA CALIFICAR EN EL EXAMEN..

SI ALGUIEN ME PUEDE AYUDAR FAVOR DE AGREGAR UN POCO DE CODIGO PORKE NO SE COMO COMENZAR ESTO OK..

SALUDOS, Y TRES MIL GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:RADIO BUTTON Y BASES DE DATOS

Publicado por David Medina (72 intervenciones) el 20/11/2004 12:54:12
Puedes encontrar cada uno de los option button que hay dentro de la pàgina y aveirguar su estado, es algo asì como:
VB.NET
Dim objControl as OptionButton = CType(Me.FindControl("opButton1"), OptionButton)

C#
OptionButton objControl = (OptionButton)this.FindControl("opButton1")

ya ahì tendràs cargado el control que esta en la pàgina y podràs preguntar por su valor.

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar