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 wOOdy-Soft 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
  • Content: Threads
  • Order by date
  1. 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])...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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
  7. 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 =...
  8. 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...
  9. 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...
  10. 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 -...
  11. 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...
  12. mchoudhury

    Institate a Class

    Hi guys, My vb.net class was getting longer so i decided to create another public class and carry on coding. From my 1st class iam claaing a function of the created class. in the first class iam inisitating new new class: Protected TM As TelephoneInputMinutes Protected TC As...
  13. mchoudhury

    CheckBoxList

    Hi Experts I have a checkboxlist, values are retrived from the database. There are 6 checkboxes. If a user checks a checkbox how would i write the script to say this checkbox was selecetd i.e. if two checkbox are selected how would i write a.checked b.checked using the checkboxlist attributes...
  14. mchoudhury

    SQL Value problem

    Hi Guys, I have couple of texboxes, if nothing is inserted in them then 0 should be inserted into the database. But whats hapeening with my store procedue its returning -1.#IND or 1.#INF into the database. Does anyone knows why - i'm using real instead of int in my SP. Thanks
  15. mchoudhury

    Select a value from checkboxlist

    Hi Experts I have a checkboxlist, inside the checkboxlist i have 5 items (checkboxes). Say if a user selects a checkbox how would i represent this in vb.net code. if it was just checkbox i would say: a.checked = true but with checkboxlist i have values, say a users selects two checkbox how...
  16. mchoudhury

    Call A function from another class

    Hi Guys, I have class, and on tghat class i want to call a function from another class. I've already specified where that class is within the director in the namespace, but how do you call a function from that class. 1st class - Telephoneusage 2nd class - costpermonth - Function to call is...
  17. mchoudhury

    Loop through and deleted a list from DD

    Hi guys, I have this page where when loaded in a textbox it shows a coulumn from the DB. I also have a drop down list, where all the values of that column are listed. What i want is if a value is texted on the textbox then that value should not be listed on the dropdown list Thios should be...
  18. mchoudhury

    Edit DataGrid

    Hi Guys, I have this DataGrid, I'm trying to edit columns within the grid. At present the way its being edited are all the fields and value from the DB get retrived on another page, and that page i have textboxes, after any amendments within the textboxes its updates the DB. <asp:DataGrid...
  19. mchoudhury

    Reterive Data from database for the back button

    Hi guys, On this form i have dropdown list, when selected and the continue button is the values are inserted on to the database. On the next web page i have a back button, if pressed it goes to the last page view with requesting the id it was submitted from the DB. I now also want to retrive...
  20. mchoudhury

    Show Panel

    Hi Guys, I have a panel - inside the panel i have things like labels, textboxes etc. What i want is to write a JS OnClick event where if a checkbox is selected themn the panel will show up, and if the checkbox is de-selected then the panel will dissaper. Can someone help me on how i could do...

Part and Inventory Search

Back
Top