Forum: ASP.NET Feb 17th, 2009 |
| Replies: 4 Views: 352 Go to http://www.connectionstrings.com
It is your friend. Bookmark it. |
Forum: MS SQL Nov 19th, 2008 |
| Replies: 6 Views: 2,516 While I don't want to discourage new members, you might want to look at the dates of previous messages. This thread has been dead for 2 and a half years. |
Forum: C# May 22nd, 2008 |
| Replies: 3 Views: 970 you could also use
buyerName.Contains(TextBox3.Text)
buyerName.BeginsWith(TextBox3.Text)
buyerName.EndsWith(TextBox3.Text) |
Forum: MS SQL May 9th, 2008 |
| Replies: 3 Views: 7,555 ignore that last one and try this instead
Select pt.ProductID
from Products pt
left join Rating RT
on pt.productid = rt.productid
group by pt.productid
order by IsNull(Min(rt.Rating),0) |
Forum: MS SQL May 9th, 2008 |
| Replies: 3 Views: 7,555 I think you want something like this
Select distinct pt.ProductID
from Products pt
left join Rating RT
on pt.productid = rt.productid
order by IsNull(Min(rt.Rating),0) |
Forum: MS SQL May 9th, 2008 |
| Replies: 1 Views: 1,380 get rid of the square brackets around the varchar(255) and it will work fine.
For that matter, why are you putting them around the datatypes anyway? I've never seen anyone do that. |
Forum: MS SQL May 9th, 2008 |
| Replies: 3 Views: 3,702 select * from persons where (prefix like '%'+@input+'%'
or
firstname like '%'+@input+'%'
or
lastname like '%'+@input+'%')
and address like '%'+@addressinput+'%' |
Forum: MS SQL May 9th, 2008 |
| Replies: 1 Views: 3,620 This isn't a problem as I have already solved the problem, just trying to figure out why it happened.
Ok I have a field that is type money. I wrote a stored procedure that updates this field,... |
Forum: MS SQL Jan 24th, 2008 |
| Replies: 5 Views: 900 that would add the assumption that the names in b are the first letter of the names in a |
Forum: MS SQL Jan 24th, 2008 |
| Replies: 5 Views: 900 ok, i am assuming that you want a name for all id's. if a has an entry use that, otherwise use the name from b. also assuming that B has an entry for every id. if those assumptions are correct,... |
Forum: ASP.NET Sep 10th, 2007 |
| Replies: 15 Views: 67,770 I am no longer amazed by newbie posters who tell people that have consistently been on this (or any) forum for a long time helping people how to help people. Sometimes, the best way to help someone... |
Forum: C# Aug 13th, 2007 |
| Replies: 6 Views: 1,283 are you asking as the interviewer or interviewee? |
Forum: ASP Jul 11th, 2007 |
| Replies: 3 Views: 9,651 |
Forum: ASP.NET May 31st, 2007 |
| Replies: 2 Views: 1,147 are you using c# or vn.net? |
Forum: ASP May 23rd, 2007 |
| Replies: 2 Views: 1,557 ???? What kind of resources? What are you trying to do? |
Forum: ASP.NET May 22nd, 2007 |
| Replies: 2 Views: 767 |
Forum: ASP.NET May 22nd, 2007 |
| Replies: 10 Views: 16,766 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... |
Forum: ASP.NET May 22nd, 2007 |
| Replies: 2 Views: 3,876 of course it is opening in a new window, you are using window.open.
use
document.location = "page2.aspx?username=" + lstruser |
Forum: MS SQL May 22nd, 2007 |
| Replies: 5 Views: 1,211 I don't have time to test this, but i don't think that this will work. This won't show any id1's that don't have a matching id2 or any id2's that don't have a matching one |
Forum: MS SQL May 21st, 2007 |
| Replies: 5 Views: 1,211 select distinct case when id1<id2 then id1 else id2 end, case when id1<id2 then id2 else id1 end from tablename |
Forum: Computer Science May 18th, 2007 |
| Replies: 0 Views: 1,113 I am trying to write an interface to another vendor. There spec requires the use of cast-128 encryption. I am trying to use an open-source version but am not getting the same results that they do. ... |
Forum: MS SQL May 18th, 2007 |
| Replies: 7 Views: 4,352 um, yes you can. I have Windows XP Pro with SQL Server 2000 installed on it. |
Forum: C# May 17th, 2007 |
| Replies: 10 Views: 29,890 you can't decrypt this. This is a one-way hash. It is the best way to handle passwords. You don't want to be able to decrypt them. |
Forum: ASP May 14th, 2007 |
| Replies: 2 Views: 1,216 |
Forum: MS SQL May 11th, 2007 |
| Replies: 7 Views: 4,352 |
Forum: MS SQL May 9th, 2007 |
| Replies: 2 Views: 1,124 I agree that storing images in your database is probably not the best way to do it. But it is possible. Look into BLOB's (binary large object) |
Forum: ASP.NET May 9th, 2007 |
| Replies: 6 Views: 3,030 why? Because it saves you a roundtrip and a server call, and is faster and more efficient. |
Forum: ASP.NET May 7th, 2007 |
| Replies: 6 Views: 3,030 hopefully, this will get you going in the right direction.
var tb = document.getElementById('TEXTBOXID');
var tbVal = '';
if(tb !=null)
tbVal = tb.value;
... |
Forum: ASP.NET May 7th, 2007 |
| Replies: 3 Views: 2,401 can you give us some sample data? |
Forum: MS SQL May 3rd, 2007 |
| Replies: 1 Views: 1,199 it think this should work
select nick, max(energy.dateposted) from users
join energy
on energy.userid = user.id
group by nick |
Forum: C# May 3rd, 2007 |
| Replies: 7 Views: 5,167 sounds like homework. Show us what you have tried and then we can help |
Forum: C# Apr 17th, 2007 |
| Replies: 7 Views: 55,656 |
Forum: ASP.NET Mar 1st, 2007 |
| Replies: 1 Views: 7,675 ok, figured out the problem. needed the following line in the aspx page. Evidently, this makes functions from the master accessible by the content page
<%@ MasterType... |
Forum: ASP.NET Mar 1st, 2007 |
| Replies: 1 Views: 7,675 ok,
I am new to master pages. I have created a public function called setMenu in the cs file.
I can call this function fine from about half of my pages, but when i try to call it from the other... |
Forum: ASP.NET Feb 26th, 2007 |
| Replies: 2 Views: 1,328 well, are you using c# or vb.net, what kind of database are you using, what fields are in the database, what textboxes, dropdowns etc are you getting information from to populate said fields, are you... |
Forum: MySQL Feb 23rd, 2007 |
| Replies: 2 Views: 8,562 if the column is indexed, it should only scan the rows included in the where clause |
Forum: ASP.NET Feb 23rd, 2007 |
| Replies: 2 Views: 993 |
Forum: MS SQL Feb 23rd, 2007 |
| Replies: 1 Views: 4,144 there's probably a more efficient way but this should work
select max(empsal) from employees where empno not in (select top 3 empno from employees order by empsal desc) |
Forum: C# Feb 21st, 2007 |
| Replies: 3 Views: 15,453 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... |
Forum: ASP.NET Feb 15th, 2007 |
| Replies: 3 Views: 1,715 i believe square brackets, not parentheses, should be used when referencing a column
l1.Text =Reader("Username");
should be
l1.Text =Reader["Username"]; |