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...
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
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...
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...
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...
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)...
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
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...
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
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
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...
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...
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)...
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...
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...
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
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.