|
hi
i want to implement delay at server side for a function can you say how can i do that.Do i need to use a control for that.or can it just be done with code...if anyone know a code to create a delay pls say
any suggestions or links are welcome..
thanks in advance
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
MSDN[^]
This article will help you.
Regards,
Satips.
|
|
|
|
|
User System.Threading.Thread class.
for example, If u want to dalay for 5 seconds at server side then,
System.Threading.Thread.Sleep(5000);
where argument is in miliseconds.
Cheers.
Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India
|
|
|
|
|
plz send me the C# code for update in gridview in ASP.net 2005
Rhydo
|
|
|
|
|
What you have tried so for in updating it in gridview>
whay error it shows?
Regards,
Satips.
|
|
|
|
|
I tried to edit,update the fields by adding textbbox with in the grid view.
but the error was "Index was out of range.must be non negetive and less than the size of the collection.parameter name:index"
Error was in line
cmd.Parameters["@name"].Value=GridView1.DataKeys[(int)e.Item.ItemIndex];
Rhydo
|
|
|
|
|
Rhydo wrote: cmd.Parameters["@name"].Value=GridView1.DataKeys[(int)e.Item.ItemIndex];
Try it as
cmd.Parameters["@name",SqlDbType.VarChar,128].Value = GridView1.DataKeys[(int)e.Item.ItemIndex];
Regards,
Satips.
|
|
|
|
|
Plz send me the code for chat in C#.net 2005 and VB.net2005
Rhydo
|
|
|
|
|
Do you need us to do your work for chat application.
Regards,
Satips.
|
|
|
|
|
|
How much you pay for me to develop the chat application.
Regards,
Satips.
|
|
|
|
|
begin to develop by yourself and use help
I Love SQL
|
|
|
|
|
how to accept only characters in chartxtbox and only numbers in numtxtbox using asp.net?
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?msg=1989172&forumid=12076&mode=all&userid=3585246#xx1989172xx
Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India
|
|
|
|
|
How we can create a news slider like (in www.bseindia.com -> announeces section)
So any one knows abt my query then urgent reply me
...
shah
|
|
|
|
|
Using javascript you can do this. I created one for a website what I did. Check this www.orchidinformatics.com[^] You can take the script in the home page.
|
|
|
|
|
I have implemented using Microsoft AJAX 1.0 to one of my application. Everything works fine. But I have to call a Javascript function everytime the page loads and postbacks. The onload function is working fine for the first time and the page will never postbacks since I am using AJAX.
Any solution??
Thanks in Advance...
|
|
|
|
|
How flexible is the MS stuff ? I'd hope you can change your control to call your method as well as the AJAX method, or change the method called to one that calls the existing one and your function. Or, perhaps you need to intercept the code that gets called on the client side when the AJAX call returns.
Basically, you need to work out what's being generated, and how you can hook into it, on the client side.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
When I use MsgBox() with asp.net 2.0 it causes an error on my target system (and only there) saying:
application should be run in user interactive mode,
use the format: Service notification or Default Desktop only
(thats translated from the german message - so not word by word)
How to put the aüülication i user interactive mode. How can I avoid that error.
Thanks Wilfried.
|
|
|
|
|
|
You're looking for employees ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
This is not the rite place to do your company marketing.
|
|
|
|
|
Hi all..
I have a aspx page with a datagrid holding values in it..I need to write the datagrid values in the excel for which i use the following code..
Private Sub btnexcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnexcel.Click
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.Public)
Response.ContentType = "application/vnd.xls"
Dim stringWrite As New System.IO.StringWriter
Dim htmlwrite As New System.Web.UI.HtmlTextWriter(stringWrite)
dtgdisplay.RenderControl(htmlwrite)
Response.Write(stringWrite.ToString())
Response.End()
End Sub
Everything is ok..But the datagrid contains column and rows with numeric values(16 digits).So when i write it in excel i am getting them in scientific format..Even when i am formatting the cells ,i couldn't the exact values which are in the datagrid..
Someone help in this regard...
Balaguru
|
|
|
|
|
Try this - This code is in c# and you need to use your way to get datatable instead over sqlhepler.
-----------------------
string sql = 'Select * from user_MASTER';
DataTable dt = SqlHelper.ExecuteDatatable(SqlHelper.ConnectionString, CommandType.Text, sql);
Response.AddHeader("Content-Disposition", "inline;filename=Final.xls");
int i;
for (int icol = 0; icol < dt.Columns.Count; icol++)
{
Response.Write(dt.Columns[icol].ToString() + "\t");
}
Response.Write("\n");
foreach (DataRow dr in dt.Rows)
{
for (i = 0; i < dt.Columns.Count; i++)
{
Response.Write(dr[i].ToString() + "\t");
}
Response.Write("\r");
}
Response.End();
Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India
|
|
|
|
|
Hi,
How can i parse a character in a dotnet application using c# code?. for ex, i have an application in which i have a username and password. i have to encrypt the password and have to assign a new password for that encrypted password. Can we use Int32.Parse command for that. but how can i use it. pls give me a solution and sample code for this application in C# code.
regards
Vijay
|
|
|
|