Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
8
Downvotes Received
7
Posts with Downvotes
4
Downvoting Members
7
12 Commented Posts
4 Endorsements
Ranked #397
Ranked #490
~51.7K People Reached
Favorite Tags

200 Posted Topics

Member Avatar for bharathi_n_r

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.

Member Avatar for Shashikantp004
0
1K
Member Avatar for wendas

C# and vb.net are the same for all intensive purposes. It's really about formatting... easy to convert from one language to another.

Member Avatar for Momerath
0
275
Member Avatar for rrocket

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 …

Member Avatar for <M/>
0
217
Member Avatar for segoed

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 …

Member Avatar for happygeek
-1
376
Member Avatar for Yuexuan

sBIG.contains("WHATEVERYOUWANTTOFIND") so like: if SBIG.contains("#") then label1.text = "Hello World" end if

Member Avatar for sushmapotla
0
578
Member Avatar for pyro 214

I can't believe I just spent my time reading Page 1 of this thread. What a lame thread. :(

Member Avatar for Ancient Dragon
0
1K
Member Avatar for WhYuLoOkIn

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 …

Member Avatar for jasminvictoria
0
342
Member Avatar for maroin22

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!) …

Member Avatar for vijayjazz
0
222
Member Avatar for cyberjorge
Member Avatar for Catweazle
Member Avatar for Rik_
4
2K
Member Avatar for dskumar_85

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 …

Member Avatar for imamul.karim
0
2K
Member Avatar for rakeshbpatel
Member Avatar for somesh_nag

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.

Member Avatar for eyal_elkevity
0
137
Member Avatar for ebabes
Member Avatar for jtok

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 …

Member Avatar for kvprajapati
0
3K
Member Avatar for chankya

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... :) )

Member Avatar for GrimJack
0
245
Member Avatar for ericstenson

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 …

Member Avatar for kvprajapati
0
1K
Member Avatar for earlofroberts

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

Member Avatar for cynix008
0
100
Member Avatar for rajesh79

select top 3 COLUMNAME from TABLENAME order by COLUMNAME desc The first row will be your third highest paid person.

Member Avatar for manips
0
80
Member Avatar for coollife

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?

Member Avatar for carobee
0
117
Member Avatar for k.vijayakumar

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.

Member Avatar for ericstenson
0
111
Member Avatar for srikanthkadem

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 …

Member Avatar for virtuelabz
0
192
Member Avatar for rhinocort23
Member Avatar for BlahHx2
Member Avatar for Jammerx2
0
211
Member Avatar for ak2ktech

[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] …

Member Avatar for mail2saion
0
118
Member Avatar for Alaskaaa

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 …

Member Avatar for mail2saion
0
110
Member Avatar for ericstenson

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

Member Avatar for gauravmajithia
0
146
Member Avatar for darcee
Member Avatar for ericstenson

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 …

Member Avatar for SheSaidImaPregy
0
1K
Member Avatar for himanjim

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 …

Member Avatar for sedgey
0
147
Member Avatar for justapimp

you can also get the value of the cell and use .text.tostring then test the length of the string len(abc) > 0

Member Avatar for Kusno
0
346
Member Avatar for ericstenson

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 …

Member Avatar for zgar
0
276
Member Avatar for omotoyosi

must love Google translations... maybe posting in the native language would make it easier to understand. (ok, that was a little mean.)

Member Avatar for zumanequeen
-1
3K
Member Avatar for Time Indicator

[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 …

Member Avatar for suley04
0
131
Member Avatar for Dani

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 …

Member Avatar for Troy III
0
177
Member Avatar for bharathi_n_r
Member Avatar for jayybhagat

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 …

Member Avatar for peter_budo
0
171
Member Avatar for bala24

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 …

Member Avatar for bala24
0
613
Member Avatar for ericstenson

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.

Member Avatar for jephthah
0
471
Member Avatar for mindfrost82

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

Member Avatar for dexterz
0
169
Member Avatar for BluePaper

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 …

Member Avatar for BluePaper
0
430
Member Avatar for Blaine Tuisee

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

Member Avatar for Blaine Tuisee
0
115
Member Avatar for Aigini
Member Avatar for fayenot

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", …

Member Avatar for JackyGZ
0
836
Member Avatar for LazurusUdayKumr

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, …

Member Avatar for ericstenson
0
92
Member Avatar for eparse

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 …

Member Avatar for ericstenson
0
130
Member Avatar for tharangasp

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?

Member Avatar for ericstenson
0
82
Member Avatar for fujilec
Member Avatar for Shubhib

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") = …

Member Avatar for ericstenson
0
87
Member Avatar for balamurali07
Member Avatar for technogeek_42
0
96

The End.