Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: s2001
  • Content: Threads
  • Order by date
  1. s2001

    BC30456: 'DataItem' is not a member of 'System.Web.UI.Control'.

    I am getting compilation error (bold line): BC30456: 'DataItem' is not a member of 'System.Web.UI.Control'. -- I am using ASP.NET 2.0 - w/AJAX 2.0 Extension. -- I am binding the gridview with mysql data. Gridview1.datasource = prod.GetData() -- returns datatable Gridview1.databind The problem...
  2. s2001

    Recommendation

    Guys, I am planning to run mysql community server 5.1 on a linux box. Can you guys recommend me linux flavor that i should use? Could you please share your experience? TIA Thanks, Murali Bala http://www.itmodule.com
  3. s2001

    SMS send and receive

    Guys, Was not sure if i am posting it in the right forum. I tried to search for SMS texting forum but could not find one. What i want to know is how do i send and recieve text messages? Like setting up SMS Server, SMS number that users can use to send messages, etc. Pease point me in the...
  4. s2001

    Threadin issue

    Hello All, I am having problem sharing information between two threads. -- Thread 1 -- Reads value (calls ReadVal) from the Hashtable. -- Thread 2 -- Adds value (calls Add) to the Hashtable. What is happening is when i read the value, i get the exception : Collection was modified...
  5. s2001

    Hello All, I have the following

    Hello All, I have the following line of code that creates text file. The problem is after about 5000+ recursion, i get StackOverflowException. Could you guys suggest me an alternative way or problem with the code? TIA try { using (TextWriter tw = new...
  6. s2001

    System.OutOfMemoryException

    Hello All, I am getting the following error: Exception of type 'System.OutOfMemoryException' was thrown. I have the following recursive procedure: private void doloop() { //i get the error here string mytext=GetPages(); //call to another proc to do some work ProcessText(mytext)...
  7. s2001

    VB.NET like equivalent

    C# does not have VB.NET 'like' equivalent For example in VB.NET, we can do this: Dim mystr as string = "helloworld" If mystr Like "*rld" Then found = True else found =false End If What would be the best way to do it in C#? Any help would be highly appreciated. Thanks, MB
  8. s2001

    User control - drop down property

    Hello All, I have written a class library that extends textbox control. I am using the new extended control to do security validation. What i want to do is to have a drop-down show up in the property window for one of the new field. For example: --I have a property called Select Role...
  9. s2001

    comment in VB2005

    Guys, How do you add comments in vb 2005? I know in c# you achieve this by using the <summary> tag. Any help would be much appreciated. I have looked up on the web and most of tools are for vb 2k3. Thanks, MB
  10. s2001

    SQL temp table creation help

    I am getting error when i run the following sql query: Declare @tempTable varchar(50) select @tempTable= '#' + @userName DROP TABLE @tempTable Error: Server: Msg 170, Level 15, State 1, Line 3 Line 3: Incorrect syntax near '@tempTable'. TIA Thanks, MB
  11. s2001

    Catching Events

    Hello All, Can you guys help me with this? Private sub text1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles text1.TextChanged 'do some validation End Sub Private sub Cancel_click(Byval sender as object, ByVal e As System.EventArgs) 'cancel process End Sub...
  12. s2001

    Forms Authentication probem

    hello all, I am having trouble with forms authentication. Any help would be greatly appreciated. I am setting the forms auth expiration to 2 minutes. But even after 2 minutes of inactivity in the home page it does not take me back to the login.aspx page. Am i missing something here? Here's my...
  13. s2001

    Report error using pop up box

    Hello all, I have a proceedure that does a task. I want to pop up a message once the task is over...can't figure out how.. Private sub DoTask() try 'do the work 'show the message - ShowMessageBox("All process completed.") catch ex as exception 'Report error 'ShowMessageBox(ex.message)...
  14. s2001

    Long process problem

    Hello All, I have asp.net 2.0 web page which calls a method. This method excutes multiple store procedures. The whole process may take somewhere between 15-20 mins to complete. What happens is after a minute IE navigates away from the page to its default error page (Internet Explorer cannot...
  15. s2001

    @ symbol

    Can anybody pls throw some light on this? What does @ symbol mean in C#? For example: Console.WriteLine(@"C\:\\WINNT\\System32"); TIA Thanks, MB
  16. s2001

    Early binding

    Hello all; In asp.net 1.1 i was able to do the following-- 1. Create a user control - myusercontrol.ascx 2. In the default.aspx page add the following code: dim myCtrl as myusercontrol myCtrl=LoadControl("myusercontrol.ascx") But in ASP.NET 2.0 i am unable to do the above. That is...
  17. s2001

    How to ignore onkeypress event in asp.net

    I have a log off button on the top a web form. Whenever a user hits the enter key on the form, they get logged off. I want to make sure that the log off button ignores the enter key. Can any body help? TIA Thanks, MB
  18. s2001

    debugging problem

    I am getting the following error when i try to debug a ASP.NET project. It was working fine till last week. System configuration: Win XP pro with IIS 5 Error: Error while trying to run project: Unable to start debugging on the web server. The COM+ registry database detected a system error...
  19. s2001

    Controls getting reset

    Hello, I have a search page (in ASP.NET - codebehind in vb.net) with a text and combo box. User can pick the search criteia and enter search text in the text box and click on search button. What's happening is once the user click on the search button, the system performs the search and shows...
  20. s2001

    SQL Server Database Backup

    Is there any way to backup and restore databases without using T-SQL commands ? The reason I am asking this is that T-SQL backup command is taking too long to complete. The database I want to backup is about 50gb. I am a programmer and would like to know if there is any low level API call I can...

Part and Inventory Search

Back
Top