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

12 Posted Topics

Member Avatar for Papa_Don

I thought I would jump in here. If I have missed something and one of my questions has already been addressed, let me know. Why do you need to know a row number? If the main reason is to have a unique identifier for each row, I would change the …

Member Avatar for Papa_Don
0
2K
Member Avatar for glennt

I recently had a strange thing happen in an ASP.Net application I wrote in VB. When each session starts, one of the first thing it does is create a record in a SQL table and captures its ID value, which is an identity field. Two sessions were started very close …

Member Avatar for Airshow
0
341
Member Avatar for swathys

If I am understanding correctly, I think that what you need is a where clause. Change your select statement to this: [CODE]SELECT TOP 1 [GrandTotal],[BoothID] FROM RetailerBalance WHERE [BoothID] = boothID ORDER BY TransactionDate DESC[/CODE] You will need to pass the booth id to this function like: [CODE]Public Function CreditBalance(byval …

Member Avatar for swathys
0
92
Member Avatar for glennt

I have an ASP.NET application that runs one way when I run it within Visual Studio 2010 (the way it should), but when I publish it onto the web server and run it there, it runs differently. I have reset IIS (iisreset), shutdown and restarted the web site, deleted the …

Member Avatar for MichaelWClark
-1
115
Member Avatar for plugsharma

The problem is that you have declared @CityId as an integer but you are trying to set it to a string value: SET @CityId = ' AND CityId IN (23,45,85,86)' Anything in single quotes is considered to be a string value and unless it can be converted to an integer, …

Member Avatar for glennt
0
222
Member Avatar for Kru

I am not sure here but I think that what you are looking for is not help with SQL but help with your software. I no not know where you should look for this kind of help.

Member Avatar for glennt
0
103
Member Avatar for stolikp

I have never seen the "remove" code in the connection strings area. What is this needed for? [QUOTE=kumar169;1360885]for creating the session "global.asax" file is right, when you creating the session u must wright the code "Session["sec"] = 0" inside the Session_Start () function. and for connection the web.config is right …

Member Avatar for glennt
0
121
Member Avatar for afrofish

[code=sql]UPDATE farmlink.dbo.tblCattle SET curMartPrice = FarmData.dbo.tblFarmDetails.MartPric FROM FarmData.dbo.tblFarmDetails INNER JOIN farmlink.dbo.tblCattle ON strEartag =FarmData.dbo.tblFarmDetails.EarTagNo WHERE FarmData.dbo.tblFarmDetails.curMartPrice=0 Or FarmData.dbo.tblFarmDetails.curMartPrice Is Null;[/code] I assume that you are getting some kind of error. Please post. Your where clause can be rewritten as follows in case the nulls are giving you fits: [code=sql]WHERE isnull(FarmData.dbo.tblFarmDetails.curMartPrice,0)=0;[/code]

Member Avatar for afrofish
0
261
Member Avatar for glennt

I have a users domain and user id. I would like to retrieve the full user name. The data is coming from a SQL table for display onto an asp.net page. Anyone know how to get the users name for someone other then the user who is using the asp.net …

Member Avatar for glennt
-1
105
Member Avatar for Jdugan4

The SQL looks correct after removing all of the VB code. But there is no way to know what the functions cbdebt, cbequity, cbmezzanine, and cbcredit are returning. I would recommend saving the insert command text into a variable and posting that back to this thread. When you have that …

Member Avatar for kvprajapati
0
110
Member Avatar for j_808

[QUOTE=j_808;1163674]Not completely sure what you tried using Int32.TryParse and my code failed miserable. "txtStorageChargeFee" is an empty text box and when i click a button it calulates a 'storage charge' which is suppose to be displayed in the "txtStorageChargeFee" text box[/QUOTE] In your code you are using CINT. This assumes …

Member Avatar for j_808
0
4K
Member Avatar for glennt

I understood that a string in VB .Net maximum length was quite large (could be way over 1000 characters) but do not know for sure. I keep having a problem when I concatenate one string to another and the result is the second string. Example: Str1 = “this is the …

Member Avatar for kvprajapati
-1
94

The End.