Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mchoudhury
  • Order by date
  1. mchoudhury

    Insert Image into Access DB

    I had a look at the site, did not really help me as i could not transfer the script in to my coding. C# is not a strong skills of mine. Any other idea
  2. mchoudhury

    Insert Image into Access DB

    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])...
  3. mchoudhury

    Server Erroe: Operation must use an updateable query.

    Hi Guys, I doing this testing with an Access db. I'm trying to insert some data into access db through vb.net. But i keep on getting thie error: Server Error: Operation must use an updateable query. I know its something to do with permission issue. Where the db is that web folder has no read...
  4. mchoudhury

    show alert if two same value choosen

    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
  5. mchoudhury

    show alert if two same value choosen

    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 =...
  6. mchoudhury

    show alert if two same value choosen

    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...
  7. mchoudhury

    Validation

    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">...
  8. mchoudhury

    Validation

    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...
  9. mchoudhury

    Regular Expression problem

    Hi guys, i have this reqular expression in my code where if a uaer enters anything that is not numeric and an error should be shown: <asp:regularexpressionvalidator id="expression1" runat="server" ValidationExpression="\d*$" ControlToValidate="LocalDay" text="*" Errormessage="Please only...
  10. mchoudhury

    re-write an If Statement

    found the answere: TelephoneCallPlanID = i + 1 thanks
  11. mchoudhury

    re-write an If Statement

    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
  12. mchoudhury

    re-write an If Statement

    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
  13. mchoudhury

    Amend the coding so it equals to CountryID

    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 =...
  14. mchoudhury

    Insert value into datatable

    your coding did not function therefore i amended the question a bit
  15. mchoudhury

    Insert value into datatable

    Hi guys, I created this new column in my datatable through stored procedure. Inside that column i want to insert value from the code - whats hapeening as i am executing the code when in debug mode the value are being shown (the one to be retrived for the new column). But i'm having problem in...
  16. mchoudhury

    add another coulmn to datagrid

    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...
  17. mchoudhury

    Calling an object from another function of another class

    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...
  18. mchoudhury

    Calling an object from another function of another class

    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 -...
  19. mchoudhury

    Retrive an object on the web form

    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...
  20. mchoudhury

    CheckBoxList

    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

Part and Inventory Search

Back
Top