I have a dropdown box for the users to select how many transaction entries they want to enter. Should I program as follow:
for i=1 to intRows Step 1
<table cellpadding="2" cellspacing="1" border="0">
<tr bgcolor="#eeeeee">
<td>
<asp:textbox Width = 50 ID = "AcctUnit" Runat="server">...
Thank you very much, everything is working except I have to change one minor detail, which is:
CommandArgument='<%# Container.DataItem("ID")%>'
Again, you are a life saver.
Thanks!
I have a linkbutton in the datalist <EditItemTemplate> to call a sub function.
Example of my code:
<asp:LinkButton ID="Linkbutton5" Text="Multi" Onclick="CallIndividual" Runat="server"></asp:LinkButton></td>
In the code behind page, I have the function CallIndividual as follow:
Sub...
I have a event procedure that execute when I click the button to execute the following events:
DoCmd.OpenQuery "Step01", acViewDesign
DoCmd.OpenQuery "Step02", acViewNormal
DoCmd.OpenQuery "Step03", acViewNormal
DoCmd.OpenQuery "Step04", acViewNormal
But query step03 is a make table query, so...
I have a field with an original datatype as HMDYYSA; however, I change in the master file into format HYYMD. However,
when I query this field using WHERE START_TIME_DATE EQ 20051004. It doesn't grab all the record because there are
other records that have the following data: 2005/10/04...
I have a field that is A17 format. However, the data contain alpha & numeric. For example:
CRE
PRE
CD-SRF
3456
8970
I want to be able to grab 3456 and 8970 numeric value ONLY. Is there a function that allows me to do that.
Thank you.
I receive the following error message when trying to convert a string into decimal.
"Object reference not set to an instance of an object. "
And this is the line of code that generated the error msg.
Dim DAmnt As Decimal
DAmnt = Convert.ToDecimal(txtDAmnt.Text)
And this is the rest of...
I'm not sure what I should do for checking whether the checkbox is checked, so I use boolean to verify the state. But if there is a better technique, please let me know.
In addition, I've tried the following
Checkselector=ctype(dgItem.FindControl("Checkselector"),Checkbox)
If...
I have the following code that is suppose to insert the following data when the user checked the checkbox in one of the column of the datagrid. However, I can't seem to get pass the
'If (Checkselector.Value = False And Checkselector.Checked) Then '
Is there a better way to verify if the...
I'm trying to add every checked row in a datagrid to another datasource (sqlConnection2) different
from the one I've binded to the datagrid (sqlConnection1). However, I don't know how to proceed this...So far I have this, and now I'm stuck. I'm very new at this, so any suggestion is greatly...
Is there a way i can compile DGCheck.cs through the commandline, if so, what do I need to do to reference it to my ExamConn project.
Thank you very much!!!
I have Microsoft Visual Basic.NET version that doesn't have C# installed. And I have a CS file in C# that I hope I can compile and reference it into my project.
I'm very new at using this tool, so please help.
Thank you.
I have the following error msg, and I don't know what I have to do to solve it.
Server Error in '/ExamConn' Application.
--------------------------------------------------------------------------------
These columns don't currently have unique values.
Exception Details...
This is what I have as my total for Page_Load
Dim strUser As String
strUser = Environment.UserName
Dim cmdAcctUnit As New SqlCommand("Select distinct JOB_TITLE_CODE from ALL_PEOPLE where PERSON_INITIALS = " & strUser & "", SqlConnection1)
Dim drClass As SqlDataReader
SqlConnection1.Open()...
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.