- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 8
- Downvotes Received
- 7
- Posts with Downvotes
- 4
- Downvoting Members
- 7
200 Posted Topics
Re: Come on, man. Add a column "UserType" with a value of 0 or 1. 0 for admin, 1 for user. When you check the username and password, also grab the value from that column. | |
Re: C# and vb.net are the same for all intensive purposes. It's really about formatting... easy to convert from one language to another. | |
Re: Hi - Why not have the user validate the email on registration? I send the user an email with a random number that I generate. Store that number in the database and have them enter it to activate the account. You can also give a link to a blank page … | |
Re: seriously... i leave VS projects open all the time when i am not working on them, just because i hate closing and re-opening them. even if i don't intend on coming back anytime soon, i often leave project open just by accident. you are better off creating a simple timer … | |
Re: sBIG.contains("WHATEVERYOUWANTTOFIND") so like: if SBIG.contains("#") then label1.text = "Hello World" end if | |
Re: I can't believe I just spent my time reading Page 1 of this thread. What a lame thread. :( | |
Re: Hi - Check the spelling on your SQL database, this is probably the issue. An invalid column name means the column simply doesn't exist as stated. Also, try a test. What happens when you run the query: Select DatabaseImage from ImageTable Best/Eric P.S. If this helped, give me some points … | |
Re: Hi - I haven't done it, but I think you would need to create a custom control for this. So you would create a control that onload gets the Screen.PrimaryScreen.Bounds (but it needs to be a user control, because otherwise it will return the server screen and that's no good!) … | |
Re: You are all a bunch of ---------. Internet Explorer rules!!!!!! Microsoft is the best. | |
Re: Hi... I would suggest passing the CompanyID in Session -- Session.Add("CompanyID") -- and retrieving the companyid -- Session.Item("ComanyID") from the popup. [code] Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As GridViewCommandEventArgs) Handles GridView1.RowCommand If GridView1.Rows.Count - 1 > 0 Then If e.CommandName = "WHATEVERYOURBUTTONCOMMANDNAME" Then Dim CompanyID As String … | |
Re: try a response.redirect to the document. i should not ask. | |
Re: I am not sure how to answer the question other than: "ARE YOU SERIOUS?" We would all be in a lot of trouble if IIS was not able to handle 2 users at the same time and keep them seperate. | |
Re: like a response.redirect or server.transfer("~/page.aspx", true) | |
Re: Hi J Tok... I take it from AddSystemOS.SelectedValue = OS.Text That you are trying to set the selected value of the dropdown list to whatever the value is from your database. 1. The dropdownlist has 2 properties. A DataTextField and a DataValueField. Is your DataValue field properly bound to the … | |
Re: i don't know... but does anyone else feel like the new colorful $20 bill should be worth more than the old $20 bill... or is it just me? (it could very well just be me... :) ) | |
Hi, I am receiving a stream of data (a text message) through a TCP listener. It then sends back a stream. Then the first computer (the client) sends another stream of data. Then I send back a response message. The first message is successfully received. The first response is successfully … | |
Re: dim string1 as string string1 = gridview1.rows(row#).cells(cell#).tostring now, here is the kicker. the first row is row "0" the first column/cell is "0" it goes against intuition of using 1... if you still need help estenson1 at gmail best, eric | |
Re: select top 3 COLUMNAME from TABLENAME order by COLUMNAME desc The first row will be your third highest paid person. | |
Re: Why can't you run a SQL UPDATE statement... UPDATE TABLE_NAME SET INT_COLUMN = (INT_COLUMN - 1) WHERE INT_COLUMN > @DEL_ROW_VALUE Would something like that work? | |
Re: Spicelogic has a component that you can drag-n-drop. I have used it, it's cheap and quite an efficient way to integrate PayPal into .NET apps. | |
Re: Hi - Try e-mailing the message to [email]PHONENUMBER@CARRIERNAME.COM[/email]. For instance, in the USA, if you wanted to text 212-555-1212, a verizon wireless customer, you could just send an e-mail to [email]2125551212@vtext.com[/email] and it will convert your e-mail into an SMS message to the phone. Now, let's suppose you don't know … | |
Re: He is saying that you need to add the web browser control to the form... | |
Re: [QUOTE=ak2ktech;843816]Dear Friends, i host a website and use visual web developer for aspx ... i want to create a form , in which users will aftre logging to my page enter 10-12 fields and that will be appended in a backend database on my server eg MS Access... please suggest..[/QUOTE] … | |
Re: IF IT IS RELATED TO A TEXT BOX: [code] Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If IsNumeric(TextBox1.text) = false then try textbox1.text = textbox1.text.substring(0, len(textbox1.text) - 1) catch ex as exception textbox1.text = "" end try end if End Sub [/code] If you generally … | |
Hi- Does anyone have any good code to watermark an image in vb.net? I guess this would be effectively the same as overlaying a 2nd image on top of an existing image. Thanks, Eric | |
Hi - I was wondering if there is a way to force a postback after the FileUpload1 control has a file... Right now, people his "Browse" select the file then click another button to upload the file. I want to write code on postback to automatically write the file to … | |
Re: Hi - There are a host of issues that can cause this, and there is no solution that can be provided here given the information provided. 1. Some hosting providers, such as GoDaddy, so not allow remote inbound our outbound database connections. Check with your hosting provider to see if … | |
Re: you can also get the value of the cell and use .text.tostring then test the length of the string len(abc) > 0 | |
Ok, so here is the problem. I googled this and this is a known issue, but I haven't seen any good solutions. Let's say some clicks a button in an Update Panel (VS 2008). Let's say that button results in a Server.Transfer("somepage.aspx"). It doesn't work. Server.Transfer cannot be called from … | |
Re: must love Google translations... maybe posting in the native language would make it easier to understand. (ok, that was a little mean.) | |
Re: [code] Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If Len(TextBox1.Text) > 0 Then If Not IsNumeric(TextBox1.Text) Then TextBox1.Text = TextBox1.Text.Remove(TextBox1.Text.Length - 1, 1) End If End If End Sub [/code] Basically, it looks at the text in the text box as soon as there is … | |
Re: I work at a web development firm in Boston. All the designers and programmers around me are Firefox users. The firm I am at does a lot of "big" client projects. Anyway, one of the partners put a sign on the desk of the guy that sits next to me … | |
Re: Want to sub out the contract? Sound like you are in over your head. I see DW as a place where people can get help on specific nuances they need help with in code, not a place where the world can provide you with a solution that you get paid … | |
Re: It's doable. Here is how I would attack it.... 1. Drop an ASP UpdatePanel somewhere on the page 2. Create a Session variable called "PopupEvent" (Session.Add("PopUpEvent", "1") > Set this to a value of 1 3. Put a timer in the UpdatePanel. Let it fire every 2-5 minutes 4. When … | |
Well, enough with match.com, jdate, eharmony (e-[B]her[/B]-[B]money[/B]), and the other so-called dating sites... who needs those with Daniweb.com? With over 200,000 active users, people *** should *** be able to make a connection here. So, I start this thread as a dating thread. Post your personal, get a reply... maybe. | |
Re: [code] Dim conn1 as new data.sqlclient.sqlconnection(CONNECTIONSTRING) Dim Select_String as String = WHAT YOU JUST WROTE Dim Select_Adapter as new data.sqlclient.sqldataadapter(Select_String,conn1) Dim YourDataSet as New Data.Dataset conn1.open Select_Adapter.Fill(YourDataSet) conn1.close [/code] There are free converters to C# if you need. | |
Re: What you need to do is the following: 1. Run a query to see if any bookings fall within your date range. (Select * from Bookings where BookDate >= YourStartDate or BookDate <=YourEndDate 2. If there is a record returned, you cannot book. 3. Next, check to see if there … | |
Re: [code] Response.Write("<script>") Response.Write("window.open('WHATEVERNEWPAGENAME.aspx','_blank','toolbar=0,location=0,menubar=0,resizable=0,width=400,height=320')") Response.Write("</script>") [/CODE] The Pop-Up is just a different page; Play around with the height and width. You would do that action on a "Button Click" or pageload or whatever event... | |
Re: sqlexpress is a named instance of an SQL server. I would do it in code with the system.net.mail namespace... [code] Dim User_Password as String '''''''' FIRST GET THE PASSWORD FROM THE DATABASE User_Password = YOUR USER'S PASSWORD Dim ObjectMail As New SmtpClient("MAILSERVER", 25) ObjectMail.EnableSsl = False ObjectMail.Credentials = New Net.NetworkCredential("USERNAME", … | |
Re: On quote from Microsoft: "All the server page life-cycle events occur, and view state and form data are preserved. However, in the rendering phase, only the contents of the UpdatePanel control are sent to the browser. The rest of the page remains unchanged." So, yes. It's a bad question, though, … | |
Re: You might have to post this in the database forum, but why are you specifying INTEGER(50)? Shouldn't it just be a datatype INTEGER? I mean, an Integer is a whole number. So "1" is just "1", not 1.0000.... therefore, I don't think INTEGER(50) makes any sense. Moreover, an INTEGER type … | |
Re: Too many possibilities. Firewall issue? Are you just trying to use the development server? Because the development server that runs when you test doesn't support remote connections. Did you configure IIS to run a web application? Did you actually create a virtual directory in IIS for the application? | |
Re: or i think you can use .value.tostring | |
Re: What I would do is run a timer on the first form that checks a Session object like If Session("SearchClosed") = 2 then Timer1.enabled = False DO WHATEVER YOU WANT BECAUSE IT IS BACK TO THE FIRST FORM End If And before you close the search form set Session("SearchClosed") = … | |
|
The End.