Search results for query: *

  • Users: Rani
  • Content: Threads
  • Order by date
  1. R

    Resize Image and Upload Image to Web Directory and write to DB

    Goal is to re-size an Uploaded image to Web Directory and write to DB Hi, I have this code. I debug to see where It is not working. I have problem at this location. Quote: Dim bitmap As New Drawing.Bitmap(imageToBeResized, imageWidth, imageHeight) Dim stream As System.IO.MemoryStream = New...
  2. R

    Hyperlink

    how do i call a procedure clickme() using a hyperlink, before using the hyperlink to navigate to the next page? I have a hyperlink called NEXT on a form. I want to bring over all the form's text field values in a session variable to the next page. but before doing that, when i click the...
  3. R

    Email from ASP.net

    I have this pc of code that sends the email. I want the break html tag to work so i can display the email properly. My<br> tag just writes as is like this " You are invited to the chat BLABLABLA. <br>The Chat commences on 11/14/2006 at 10:00 Eastern time <br> and ends on 11/14/2006 at 13:00...
  4. R

    calendar DayRender

    Can you please change the syntax to this pc of code. I want to use this on my page behind. I found this code on line. I am not able to fix the syntax. Thanks Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles...
  5. R

    Calendar, Date and Time

    I have to create a chat project. I am working on chat admin page. I have to be able to let the user use the calendar to select the date from the calendar and also user will select the time to schedule a chat. This is quiet similar to the outlook calendar scheduling. with the start time and end...
  6. R

    create Faq page

    I want to create an FAQ page like this link http://www.bigfatwebhosting.co.uk/help/index.php?view=2#top I would appreciate some tips on this. Thanks
  7. R

    Upload file to server

    I have two image folders in my web server saving the actual image file in both folders. one s_folder for thumbnail and the other l_folder for large images. I want to upload images to these folders and make an entry of the file name in database field. This pc of my code does save in one folder...
  8. R

    Object reference not set to an instance of an object.

    This is the error i get "Object reference not set to an instance of an object. " when i try the pc of code below. I get the error at this line"Dim dr As Data.DataRow = ds.Tables("countries").NewRow" Dim con As New SqlConnection(Application("connection")) Dim sql As String = "select * from...
  9. R

    text in ddl before binding with dataset.

    I have two ddl countries and states. I populate using the dataset and bind them to the ddl's. what i want to do is before i bind i want to show in my ddl text like "---Please select Country------" or "----Please select a state-----" how would i get this done? Thanks:confused:
  10. R

    country/state filter

    I have two drop down list box. One for country and the other for state. I am populating the country ddl. I am using a row filter and want to populate the state in the state dll per selected country. here is my code. in my page load event If Not IsPostBack Then Me.fillcountry() End If...
  11. R

    list of countries and States

    I would like to populate ASP.NET Dropdown list with a list of countries. and a DropDown List with a list of States. I do not know how to do that. First of all i do not have list to populate where and how would i get that? Thanks
  12. R

    facing couple problems using my function.

    1. I have a function below it works with out extn. if the phone number is with the extn when i use isnumeric. if you look at my function below, i am replacing extn with x. when i use isnumeric, because of x included (508-614-3344 x 456) in the number i can't get this right. how would you suggest...
  13. R

    phone and email - user input textbox validation

    How would i do the validation in vb.net for phone and email. it's a text box i am using for both fields. Thanks/Rani
  14. R

    How do I get around the following error I get when I fill a dataset?

    How do I get around the following error I get when I fill a dataset? Cannot sort a row of size 8430, which is greater than the allowable maximum of 8094 Line 184: Dim da2 As SqlDataAdapter = New SqlDataAdapter(command2) Line 185: Dim ds2 As New DataSet Line 186: da2.Fill(ds2) I had written...
  15. R

    what does Mod and Fix mean?

    How does this work? Could you make me understand this please 1. values for recordcount = 2 and pagesize = 10 with mod i get D = 2 Dim D = (CInt(Me.lblRecordCount.Text) Mod CInt(Me.lblPageSize.Text)) and with div i get s = 0.2 Dim s = (CInt(Me.lblRecordCount.Text) /...
  16. R

    syntax for a string

    the data type in the data base for the field order number is varchar 50. on the page i have a session variable like so to grab the ordernumber Session("id") = Session("ordernumber") now when i want to query/update the database like so, Dim sql1 As String = "update DDR set registrar = 1 where...
  17. R

    on selection of Radio button

    I have two radio buttons yes/no on my web page showing yes or no based on the values in the database field 'registration sent' boolean type 0 or 1. If the user wants to change this value on the page, i want to send a confirm box "are you sure you want to make changes?". Originally, i had an...
  18. R

    Radio Button, Javascript, and a confirm or messagebox

    I am having two radio buttons on the page with Yes/No option and a payment received button right next to the radio buttons. First time when the page is loaded, one of the two radio buttons is selected based on the boolean type field value in the database 0 OR 1. when the user decides to change...
  19. R

    How to pass id from 1st page in a datagrid to the other page AND how to grab id in2nd

    hi, I have a datagrid in my first page i try using a hyperlink column. I think it is too complicated. I could use a bound column and able to grab the id if it is in the same page like Dim id As Integer = e.Item.Cells(0).Text what i want to do is be able to pass the id from first datagrid from...
  20. R

    datagrid column cell has two lbl controls

    In my datagrid one of my coloumnshas two label controls in (one cell only) . the first label control is set to color green for eg: see the row below. subject has color green and the content after binding is in blue. Green am able to do it but not able to accomplish for the second control that...
Back
Top