I am developing a ASP.NET web application for conducting online exam.
The exam contains some 60-150 questions.Currently, I'am storing all the answers in session and updating in the database at the end.I'am using SQL Server database.
But I'am facing problems with this approach.If more than some...
Sorry for the delay,
No one replied to me except you,
Here is my html code,
<%@ Register TagPrefix="uc1" TagName="LMSWelcome" Src="LMSWelcome.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LMSTopBanner" Src="LMSTopBanner.ascx" %>
<%@...
I had a treeiew control and a usercontrol on my web page.The "Expand Level" property of that treeview control is set to '0'.When I run the page ,If I select any node at level 1 or higher in the treeview, and I click on the userControl, then I'am getting this error...
I have a datagrid which currently supports only default Next Previous paging.
But I nedd to include both numeric paging as well as Next/Prev paging as Google
Can anybody please post me sample code?
bye,
For that Button You can keep one Button column in your DataGrid.
The click of button in that column will raise Datagrids ItemCommand event.In that event you can capture the particular row containing the button clicked, so that you can get all other column data for that row.
I think this sui...
The problem is that for the ControlToValidate property of validator, you need to give a string which is the ID of your textbox control.
The code should be as
Dim text As TextBox
Dim required As RequiredFieldValidator
text = New TextBox()
text.ID = "t1"...
You can keep 5 DropDownLists,DataTables,TextFields, and Value fields in
4 different arraylists.
Within a loop you need to typecast the appropriately while assigning
Dim alLists As New ArrayList()
al.Add(dropList1)
al.Add(dropList22)
Dim alDataTab As New ArrayList()...
I would like you to know one thing which I came to know recently.
All Validators except RegularExpression validator will supress any kind of validation if the data is null.
Even I had the same doubt
If items are already added to the dropdown list then the
following code works fine for me . It will select the item in list if it is already added.
Try
dropTitle.Items.FindByValue(rs.Fields.Item("CustomerID").Value).Selected = True
Catch
End Try
Or You can find the item by text...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.