Hi Guys,
I'm trying to insert a image into an Access DB, but having bit of a problem sorting the backend codeing. Can someone look at it and tell me how would i amend this inorder to accept image:
Dim PictureCommand As OleDbCommand
Dim InsertBye As Byte = "INSERT INTO Properties ([Picture1])...
...Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & Server.MapPath("db1.mdb")
Dim strSQL As String = "Select * From Customers"
Dim cmd As New OleDbCommand(strSQL, New OleDbConnection(strConn))
cmd.Connection.Open()
Repeater1.DataSource =...
Hi tsuji
I've done what u dictated above, but still no luck. Do i have to do anhything to my <select name="Country1" id="Country1" style="width:200px;">
code, i.e add the onFocus attribute or anything else which u could think of.
Thank You
Mac
Hi guys,
I wrote this function but cant seem to get this functioning with my coding:
function validate(theForm){
//If a country is selected, the user must select some amount of mimutes per month
var d = document.Form1;
for (var z=1;z<4;z++){
var selValueX =...
Hi guys,
I have three drop down list. Inside them i have three value each three has the same data inside.
I'm trying to write a JS function where if a user selects say value 1 fron drop down list one and again chooses value one from either drop down2 or drop down3 then an alert box should show...
This is my front end drop down coding in asp.net:
<p>
<td> Telephone line rental supplier?</td>
<td><asp:dropdownlist id="ddlLineRentalSupplier" datavaluefield="TelephoneSupplierID" datatextfield="TelephoneSupplierName" runat="server">...
Hi Guys,
I have this drop down menu where u select a item then another drop down menu gets populated - chained list. This is writtten in vb.net. i'm trying to do the validation through vb.net but this intercepts with the second drop down, therefore the only other option of me doing this...
...that is not numeric and an error should be shown:
<asp:regularexpressionvalidator id="expression1" runat="server" ValidationExpression="\d*$" ControlToValidate="LocalDay" text="*" Errormessage="Please only enter numeric numbers in Local Daytime box"></asp:regularexpressionvalidator>...
No this does not function.
If tsp is 3 - 1 will give 2 therefore i will also want the
TelephoneCallPlanID to be 2. the way your writing is if
TelephoneCallPlanID is 2 then TSP = what ever value - 1 = which will make TelephoneCallPlanID = 1
this will mess up my functions
Thanks anyway
Hi Guys
How can i re-write this code so :
If TSP.Count - 1 = 1 Then
TelephoneCallPlanID = 1
End If
Dim cc As New ConnectionCharge(TelephoneCallPlanID)
if TSP.Count - 1 = x then
TelephoneCallPlanID = x
thanks
Hi Guys,
this is my coding:
For c = 0 To CCL.Count - 1
If Country1 > 0 Then
BTCountry1Daytime = CCL.Item(c).PeakPerMin / 100
BTCountry1Evening = CCL.Item(c).OffPeakPerMin / 100
BTCountry1Weekend =...
...+ MCNationalTotal + MCTotalCountries + MobileTotal
Public dtSavings As DataTable
dtSavings.Rows(i).Item("AnnualPrice") = (FinalTotal2 * 12)
in debug mode the value of item.array at 3 shows the value of annualprice, but i need to insert that value in the datatable so it can be...
hi guys
I have this table with these columns:
TelephoneServicePlanID TelephoneCallPlanID ServicePlanName LocationConnectionCharge MonthlyFee
I want to add another column to the table call Annual Price and inside that column each, value should be inserted according to FinalResult which i...
Thank you its working perfectly - just one more question on the aspx front web page how will i write this object so it shows up when the page load.
at present i'm doing it like this -
CPM.getCostPerMonth(TC, TM)
Dim Total As Single = CPM.FinalTotal
Response.Write(Total)
but...
I created a class in vb.net in that class i have a function within that function there is an object. In another asp.net front end web form i'm trying to retrive that object from that class but not sure how to.
Does anyone knows how this could take place.
Class name - CostPerMonth
Function -...
I created a class in vb.net in that class i have a function within that function there is an object. In my asp.net front end web form i'm trying to retrive that object but not sure how to.
Does anyone knows how this could take place.
Class name - CostPerMonth
Function - getCostPermonth
Object...
I'm not using checkbox attribute but checkboxlist attribute. anyway found a solution to overcome my problem:
if checkboxlistname.Items(0).Selected = True then
do this
End if
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.