Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
8
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
2 Endorsements
Ranked #621
Ranked #686
~92.1K People Reached
Favorite Tags
asp.net x 122
mssql x 96
asp x 65
c# x 28
mysql x 20
Member Avatar for shadowrider
Member Avatar for aerian

this is a community help forum. We help you with your problem, we don't do everything for you. Tell us what you have tried and what problems your are having and we will help you solve them. We won't do everything for you.

Member Avatar for Bessemer
0
2K
Member Avatar for JoBe

to find the number of digits in int x [code] if (x < 0) x = -x; int count = 1; x = x/10; while( x > 0) { count++; x = x/10; } [/code]

Member Avatar for jimmyraynor
0
343
Member Avatar for ohgosh
Member Avatar for dieterm
Member Avatar for AliQadir
0
367
Member Avatar for miragefighter

What error messages/symptoms are you getting? Post code from where you think problem might be happening. If you want help with your homework, you are going to have to give us some details

Member Avatar for larashaikh
0
3K
Member Avatar for vangraan

where is this ("lb.Click += new System.EventHandler(engCat_Clicked);") piece of code located? without seeing all of the code, i would hazard a guess that it is inside an if(Postback){ } section

Member Avatar for rawat_raju1985
0
3K
Member Avatar for gogic

SQL express is free, or at least it was a month or two ago when I downloaded it. I can't imagine that would have changed. Also sqlexpress supports sub-queries, which I don't believe access does. Also, in my experience, sqlexpress recovers better from errors than access. I have had instances …

Member Avatar for kasun757
0
590
Member Avatar for anglerman247

System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage(); mail.To = "whoyouwantmailtogoto@yoursite.com"; mail.From = "whoyouwantmailtoshowfrom@yoursite.com"; mail.Subject = "Subject"; mail.Body= "Message from " + txtboxName.Text +"<BR>"+"Email Address: " + txtboxEmailAddress.Text +"<BR>"+"Message: " + txtboxMessage.Text; mail.BodyFormat = (System.Web.Mail.MailFormat.Html); //mail.Send(); System.Web.Mail.SmtpMail.SmtpServer = "yourmailserver"; System.Web.Mail.SmtpMail.Send(mail);

Member Avatar for tej kharka
0
493
Member Avatar for ramareddy_dotne
Member Avatar for anjela

select the info that you want into a datatable, set the datatable as the datasource for the dropdown. call the databind function. and make sure you specify in the dropdown control which columns have correspond with the DataValueField and DataTextField

Member Avatar for asshankar
0
701
Member Avatar for mcupryk

[code] string testString = Session("ssNtUser").ToString(); int i = testString.IndexOf("\\")+1; if(i > 0) { testString=testString.Substring(i); } [/code]

Member Avatar for asxcode
0
226
Member Avatar for rajni11
Member Avatar for shrikant76

problem is nothing is returend if the try block throws an exception and it is caught by the catch block. Simplest way to fix this is to return a "blank" sqlcommand. Change [code] catch (Exception ex) { Console.Write ("Error in connection : "+ex.Message); } [/code] to [code] catch (Exception ex) …

Member Avatar for rohand
0
927
Member Avatar for frmsasp

How about something like this [code] private void DateSubmit_Click(object sender, System.EventArgs e) { DateTime date1, date2; bool date1OK, date2OK; date1 = new DateTime(1,1,1); date2 = new DateTime(1,1,1); try { date1 = Convert.ToDateTime(Date1.Text); date1OK=true; } catch { date1OK = false; } try { date2 = Convert.ToDateTime(Date2.Text); date2OK=true; } catch { date2OK …

Member Avatar for amitesh kaushik
0
4K
Member Avatar for slingingshot15
Member Avatar for SeekAnswers

here, save this in a file called pc.js [code] var calWindow; var targetField; var today = new Date(); var dayofmonth = today.getDate(); var startDate; var selectDate; var prevMonth; var prevYear; var currMonth; var currYear; var nextMonth; var nextYear; var days = new Array('Sun','Mon','Tue','Wed','Thr','Fri','Sat'); var months = new makeArray(12); function makeArray(arrayLength) …

Member Avatar for muktiranjan
0
664
Member Avatar for campkev

Having a problem connecting via dsn on windows 2003 x64. Keep getting : ADODB.Connection error '800a0ea9' Provider is not specified and there is no designated default provider. Code works fine on regular server 2003

Member Avatar for cptspock
0
115
Member Avatar for afaquaholic

kinda hard to tell, but what happens with your first example if there is an exception during someAction()

Member Avatar for seahmadmom
0
272
Member Avatar for superwoman

It makes sense just fine, she is just using the wrong word. She means dll. what you are looking for is in the bin subdirectory. All you need is to put the all non-codebehind pages(*.aspx, global.asax, etc) in the folder on the new server. You don't need the code behind …

Member Avatar for hirenpatel53
0
233
Member Avatar for nazeem2005

do you need your app to send and email, or are you trying to do a whole email interface to check email, send email, etc?

Member Avatar for ericjohn
0
359
Member Avatar for cumadhu

short answer is No. There is no direct way to disable the back button so that it is greyed-out and user cannot click on it. However, there are some tricks using javascript which might be able to give you the results you need,although they won't be as pretty. One I …

Member Avatar for data4use
0
1K
Member Avatar for Naters_uk
Member Avatar for kvprajapati
0
269
Member Avatar for tootytoot

<SCRIPT LANGUAGE="JavaScript"> if (this.name!='fullscreen'){ window.open(location.href,'fullscreen','fullscreen,scrollbars') window.close(this) } </script>

Member Avatar for sbonder
0
183
Member Avatar for Harry1S

[CODE] update tablename set memssn = cast(substring(memid,1,9) as int) where substring(memid,1,9) like replicate('[0-9]',9)[/CODE]

Member Avatar for campkev
0
67
Member Avatar for OfirSh
Member Avatar for jaysapidocs
0
295
Member Avatar for campkev

Ok occasionally I get the following error message on my site System.String Substring(Int32, Int32) Error: Length cannot be less than zero. Parameter name: length here's the wierd part, I don't use that Substring function, I use System.String Substring(Int32) whose only parameter is start. So I am getting an error from …

Member Avatar for Ezzaral
0
207
Member Avatar for campkev

I know how to use System.Web.Mail to send emails. Anybody know how to send encrypted emails?

Member Avatar for Lam4
0
160
Member Avatar for requiem2

>Doesn't it increment by itself? it depends on how that column is setup in the database. Is it set up as an identity column?

Member Avatar for somit
0
148
Member Avatar for Emmaliu

what you probably want to use is a gridview (or datagrid, if your are not on 2.0) and bind it to the database

Member Avatar for kanchanraaj
0
1K