Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Image and text in Sql Server

$
0
0

Hi

I want ask about sql server

I create a form, there is have a radio button list consist of : (1)Text (2)Picture

I have database, there is have 1 table (the name is Quiz). I table quiz have some coloumn

IDQuestion | Number | Question |  ChoiceA | ChoiceB | ChoiceC | ChoiceD | ChoiceE | Correct Answer|

The type of IDQuestion : varchar 50

The type of Number     : int

The type of Question    : text

The type of ChoiceA     : varchar 128

The type of ChoiceB     : varchar 128

The type of ChoiceC     : varchar 128

The type of ChoiceD    : varchar 128

The type of ChoiceE    : varchar 128

The type of Correct Answer  : varchar 128

When, user click radiobuttonlist (1) Text, the ChoiceA until Choice E will appear text.

such as :

IDQuestion | Number | Question             |  ChoiceA | ChoiceB | ChoiceC | ChoiceD | ChoiceE | Correct Answer |

1               | 1            | Where Dino live? |  Japan    | German | Seoul     | China     | Turki      | A                     | 

But when user click radiobuttonlist (2)Picture, the ChoiceA until ChoiceE will appear name of the picture

such as :

IDQuestion | Number | Question                  |  ChoiceA | ChoiceB | ChoiceC | ChoiceD | ChoiceE | Correct Answer |

1               | 1            | What is logoi of UT? |  UT.jpg   | LO.jpg   | 1.jpg      | 2.jpg     | 3.jpg      | B                    |

I confused how to manage the answer consist of text or picture in my sqlserver?

What type in sqlserver, I can insert text or picture? If there is not. So what I must to do for this problem?

Do you understand with my question? I hope yes

Can you help me?

Please


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>