I need assistance on how to bind Radiobutton to database, so that whatever selection made in Radiobutton will appear in the database
I want to produce an online quiz, that will have the following fuctionality
1. it contain database with , ID, Questions, Option A, B,C, and D, Student Answer.
2.After forming the griedview in connection with the database, i form additonal colum to include Radiobutton where students are to choose the correct option.
3. I was able to configure the gridview which successfully show all the above document but the problem now is how to bind the selected option by students to the database so that i can know wether they choose the right answer or not. i wat the student answer appear in the colum named student answer in the database.
i shall be very grateful , if u can just give simple example that i can perform which shall be able to show the click on radiobutton in database not autopostback in textbox.
I have created USERNAME,EMALE,PASSWORD,GENDER,(MALE,FEMALE,OTHERS as radiobutton) and COUNTRY(contry list as dropdownlist)USERNAME,EMALE,PASSWORD is geting inserted but radiobutton value is not .I dont know how to insert the radiobutton vale into databse and what will be the datatype i should choose.I am using using
Now I want if in Storetype column in database was="Product" then radiobutton item with text="Product" selected=true and if in store type column was="Galary" radiobutton item with text="Galary" selected="true"
I have two ddl'a which i insert into a database inform of a grid. Now i will like to make sure the two data i am inserting is not already on the databse and if it exist i want a message to show. I dont have anything right now. I just need ideas on how to go about it.
During an adaption of a book based example application, to use an access database instead of sql server - I have come up with the final issue: It will not insert into the database! I suspect it might be to do with the OrderID, I do have it set to autonumber,but I am not too sure. This is the class that does the inserts, by adding customer information to customer table, order information to order table and ordeitems information to the orderitems table. When submitting this information on the webpage, there is the custom error that an error has occurred in your order due to this code page code behind
i have problem with adding list values(radio button list box ) to the database.my code seems to be correct.but when i clicked submit i got this error message. "Invalid column name 'Age'.all the filed names shown as invalid.how to solve this problem ?
and i also have another problem with a table.i'm able to insert and retrieve the data.but in sql interface all the coloums are empty.where all the data being stored.why i couldnt able to view the data?
I am having a task that, i need to insert a row in gridview but it should not effect in to database immideately. I am having a submit button in the form, whenever i click that submit button all the data in the form should be inserted into the database in their respective tables.
I have already created add/delete rows.. if i click on addRows new rows will be added and when i click DeleteRows the row will be deleted..BUT my question is when new rows are added n the entered data in new rows need to inserted into DAtabase...
I am using ASP.NET 2.0, C#, SQL Server 2005. I have a gridview which has 10 records. I want to only insert few records(for example: 3 records) to the database. How to insert only part of the whole data to the database.
i got the following error when i tried to inser a recrord from my MVC web application , although the insert will work fine when i tried to inser the record manually from the databse explorer, and i checked all the FK relationship they sound valid:-
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Articles_Users". The conflict occurred in database "84A669DA0E532BEFAFBE7BE38367071F_IONALNETWORKWEBAPPLICATIONPROFESSIONALNETWORKWEBAPPLICATIONAPP_DATAPROFESSIONALNETWORKDB.MDF", table "dbo.Users", column 'User_ID'.The statement has been terminated.
in my application i am trying to insert the embeded (video) into database, but it is giving error like this.i am using storeprocedure for inserting. Server Error in '/embeded' Application. A potentially dangerous Request.Form value was detected from the client (txtEmbed="
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (txtEmbed="
I am having a problem in inserting characters such as a name into a mySql database via an Asp.net application.
If I inserted numbers, the app adds the numbers into the database and I can see them, but the case with names, the name column in the database shows no values (keeps on showing null values) along with the numbers added.
I have an MVC app that uses [Authorize] to protect the private bits. When I select the SignOut() URL it signs me out but if I hit the back button on my browser the it goes to the secure page and even lets me use the form. The action takes place and then it shows that I'm signed out. The problem is that it performs the secured action (inserting a row into my database). Then I can use the back button again and do it all over. Am I missing something important? It seems like it could be a really big security issue.
i am inserting a record into oracle database using vb.net,there is a password field by using md5 i am generating it and taking tht value as string(ex: "16D78A6B10D631C8C86397C35A3CCD57") now my requirement is i should insert it into database(oracle) & in database that field is "RAW" how to do this?and the error msg is Type of value has a mismatch with column typeCouldn't store in Col_Pass Column. Expected type is Byte.