| Stored Procedure edit (3 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Hello List, Anyone know why I can not edit stored procedures from my vs.net on my machine (sa/password) while I can use another machine (NT authentication) to do it? What is the missing on my machine TIA Peter |
|
| Sending SMS from .Net (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi there Does anybody know of a way (assembly, component, anything) of sending a SMS message from a .Net application? |
|
| Redirection (9 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi, I am pulling my hair out here. I have been having difficulty getting the FormsAuthentication.RedirectFromLoginPage method to work eventually I just tried a simple redirection and I get the same result i.e. the page just hanging. Any suggestions? SCRIPT language "C#" runat "server" protected void Page Load(Object Src, EventArgs E ) { this.Page.Response.Redirect("http://www.dot-net-guru.com",true);... |
|
| Looping through textboxes in a datalist (4 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi all, I've got a datalist with some text fields in it. How can i loop through and grab the values in each of those fields? The text fields all have the id of UnitCount. So i'd want to loop through, get the values of each one, as well as the associated record ID with each one. I think i know how to get the record ID using the DataKeys, but i dont know how to loop through all the textbox'es. Ian |
|
| Caching a HashTable (3 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi all, What would be considered the best practices way to Cache a Hash Table, I'm writing an application where I have a billing Rate for Attorneys. I want to cache their billing rates in a Hash table Key 3D"Attyid" Value 3D"BillRate" So that when on a drop down box, the user chooses the attorney, I can go to the Hash table on the postback and get their billing rate and populate a label with that ... |
|
| Binding xml to treeview (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi All, I know I should put this email to webcontrol group or xml group , but it is very quiet there. So I put it here and hopefully I can get any clue or help from here. I'm trying to bind a xml file to treeview control. The xml file(mytest.xml) is set up from IIS Virtual Directory Management for SQL Server in template type. something like: ROOT xmlns:sql "urn:schemas microsoft com:xml sql" sql:q... |
|
| Sharing Cookies Across Legacy and ASP.Net. (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Is it possible? I have a legacy ASP app that uses cookies and a database to manage sessions. The database records a guid that is stored on the client pc as a cookie. Can I get a cookie in ASP.Net that was created by ASP? I would think this is possible, since cookies are created and sent in the header of an HTTP stream. The browser shouldn't care if the request was for .asp or aspx, it shouold stil... |
|
| datalist problems driving me nuts, cant get textbox values (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I can not get this datalist to work for anything. I've followed the examples in buyspy and it still doesnt work. I want to do something that should be fairly simple. I want to loop through some text boxes grab the values in each one. Sub UpdateQuantity(ByVal dl as Object, ByVal e as DataListCommandEventargs) response.write("blah") Dim i as Integer For i 0 To dl.Items.Count 1 Dim quantity As TextBo... |
|
| Reflection conundrum. (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi, In my infinite search to reduce the number of lines of code I write, I have a problem. Consider the following situation, where I have 5 panels, names panelX, with X 3D1 to 5. 20 I want to change the Visible property of each of them to true, using a loop. I've invented a mythical GetObject(string objectName) function, which returns the reference to the object specified by the string. Initially,... |
|
| Check whether a record exissts or not (8 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| I need a function to simply take the following SQL Statement and check whether a record exists or not. select networkID from authorization table where networkID 'NedR' and group id 32 then. . . .if record exists return 1. . .if no, return 0 I need to do this on a page load so that I can make the admin buttons visible/invisible depending on whether they are an admin or not. Any suggestions? Thanks,... |
|
| Conversion Problem: Beta2 to RC1 (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I'm in the process of converting our work in process project to RC1 (the PDC release) and the first thing that I ran into is this fuzzy little problem in web.config. I have no clue what to look for since the RC1 documentation is a little sparse at this time, so any help is greatly appreciated... This is what comes out: Server Error in '/equis' Application. Configuration Error Description: An error... |
|
| Custom Class in a Session Variable (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi, I was wondering what the best way is to access individual members of a custom class that are stored in a session. For instance, in the example below, is Option 1 any better than Option 2? Option 2 is less code, but it seems like it would be slower. Any thoughts? Thanks, Jon Given a basic class like the following: public class Appointment { public DateTime StartTime; public DateTime EndTime; pu... |
|
| SQL Server 7.0 Timing Out (5 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| This is the second thread I have started on this issue this week. I got some good advice that may have helped but it is still happening. I have a site that uses a nested datalist inside another datalist. I am using the technique used in the IBUYSpy Portal discussion list. The major difference is that I am nesting the list in the regular item, not the selected item. What I am finding is multiple da... |
|
| Interacting With User Controls (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi All, Quick question which should be pretty easy. I have a user control which hold 5 different possible menus like so.. [code] If i 0 then use this menu ElseIf i 1 then use this menu etc.... [/code] Then depending on what part of the site I am in I would like to show a different menu but how do I get the user control to interact with the page before it load, so that it only loads the part that I... |
|
| hiding a column from datagrid dynamicly (3 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi all, I have one problem in my web app. In my page I need to hide/show some of the columns in a datagrid based on the login user's rights. How can I do it? Thanks. Amy |
|
| MSMQ Messaging from ASP to VB.Net (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| We've set up the simple sample code from GotDotNet to read message queues, and it works fine for messages sent via .NET code, but it barfs on messages put in the queue by an ASP 3.0 (not ASP.NET) page. I think it's because the ASP messages are not in Unicode, but I'm not sure how to progress. It seems like I need to either convert the ASP message to unicode before putting it in the queue, or set u... |
|
| Stored Procedure (3 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I have got so useful hepl from the list. I want thanks for you all helped me in the past. Now I have two new questions, hope someone can help. I know how to write a stored procedure to insert a record into a table. The syntax likes this, CREATE PROCEDURE sp xyz ( @para1 int, @para2 int ) AS INSERT INTO Match ( para1, para2 ) VALUES ( @para1, @para2 ) My first question is that can I write a stored ... |
|
| When will VS.Net, ASP.Net, and .Net Server be released? (2 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi: Does anyone know when will VS.Net, ASP.Net and the .Net Server (WinXP Server) be officially released? Thanks. Allen |
|
| How to do a dataset join? (14 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I have a dataset with an oracle table and a sql table in it. Microsoft has been bragging about how you can do joins in memory between these tables, but I can't find any documentation on how. Can someone point me in the right direction. |
|
| Any good Video Training on C# and/or ASP.Net? (3 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Does anyone know of any good Video Training on C# and/or ASP.Net? Thanks, Robert J Collins |
|
| problem using Serviced component. (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| I'm facing problems using serviced component (COM ) from ASP. Where shall i post my question ?. Previously i posted my question here but it was not answered. Kindly can anyone guide me ?. Thanks, Sakthi. |
|
| string blocks (2 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hey all, There's a feature in python i really like and i wonder if VB.net has something like it. You can have a block of text by surrounding it with 3 double or single quotes. For example: mystr ''' this is some block of text with multiple lines and it all works ''' anything like this in vb.net? Ian |
|
| check if a value exists in a sql table before insert (4 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| could someone show me how i could check a sql table to see if a value exists before doing an insert? I want to make a table that contains usernames and i want to check to make sure the username isnt already in there before inserting a new one. Ian |
|
| Setting Focus on a Form (5 replies) |
| ASPFriends.com 'aspngfreeforall' list |
| How do I on a postback set the focus to a text box. Right now it's going back to the textbox that had the OnChange Event fired on I want it to move along to the next text box. Any ideas Thanks Scott |
|
| ArrayList to string (6 replies, VIP) |
| ASPFriends.com 'aspngfreeforall' list |
| Can I convert a ArrayList type of object to a string like object. For example, I have an arraylist which has invoice numbers in it. arraylist[0] 0001 arraylist[1] 0002 arraylist[2] 0003 I need convert it into (0001,0002,0003) format So I can use it in my sql statement Select * From INVOICE where ID in (0001,0002,0003) TIA Peter |
|