|
what things i can change IN THE GLOBAL ASSEMBY CACHE.I KNOW IT MAKES CHANGES FOR ALL APPLICATION.I WANTED TO SEE THE CHANGE , BY MODIFYING THE GLOBAL ASSEMBLY CACHE (MACHINE.CONFIG).
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
u add the database connection string in machine con fig then see what happen and other example is:- u delete all the compiler then see what happen
please do it i am wating
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
my dear GLOBAL ASSEMBLY CACHE and MACHINE.CONFIG both are different thing ok
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
Hi all..
I have a timer in my aspx page which runs in a decreasing manner..i.e the timer starts at 5.0 min and ends by 0.0.. and i display it in my aspx page..
when i click the scroll button of my mouse the timers stops and when i release it the timer starts working having the value with which it ended during my click..Time deviation occurs as result of this...
Somone kindly help in this regard...
Thanks & Regards,
Balaguru
|
|
|
|
|
A code snippet could help people answer your question here.
|
|
|
|
|
Hi all.
I need javascript code to avoid copy paste option in text boxes..some one help me as early as possible..
Thanks & Regards,
Balaguru
|
|
|
|
|
|
i m editing records through datagrid..behind my update button i've written following code..
String str = " ";
for (int i = 0; i == editgrid.RowCount - 1; i++)
{
str = "UPDATE criminal SET cr_id = " + editgrid.Rows[i].Cells[1].Value + ", cr_name= '" + editgrid.Rows[i].Cells[2].Value + "', cr_desc='" + editgrid.Rows[i].Cells[3].Value + "' ,cr_pic= '" + editgrid.Rows[i].Cells[4].Value + "', no_times ='" + editgrid.Rows[i].Cells[5].Value + "' WHERE cr_id = " + editgrid.Rows[i].Cells[1].Value;
SqlCommand com = new SqlCommand(str, conn);
com.ExecuteNonQuery();
label2.Visible = true;
}
it is not giving any errors but records are not updated,yet
can anybody help me??
software student
|
|
|
|
|
Print your query somewhere and execute it directly in query analyzer. You can find out what is wrong with query.
|
|
|
|
|
Ok, first you are looping through the entire grid and updating every row even if it was not updated. Normally with a datagrid, you have an edit button which puts the row into edit mode. When the row is in edit mode you have a save and cancel button. Then with your save button you run the update for that single row.
Now several post will probably follow talking about sql injection attacts. You should use a parameterize query or a stored procedure to do this update.
Finally, my best guess to what your update problem is:
I would guess this isn't the crid you think it is:
editgrid.Rows[i].Cells[1].Value
Hope that helps.
Ben
|
|
|
|
|
why you have put double 'equal to' simbol in FOR loop?
|
|
|
|
|
Asalam-O-Alikum
plz any one tell me how to retriev multiple datakey values fom grid
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
I usually create template columns which have a label in them which is the key and then I mark the label as visible = false.
Hope that helps.
Ben
|
|
|
|
|
thx Ben
but i got this
GridView1.SelectedDataKey.Item(Index)
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
That will work too. I have had some problems with datakey in the gridview, so I have decided to avoid it. If you ever have to manually set parameters in your sqldatasource or objectdatasource for some reason the datakey goes away, which is very bad. So I have stopped using them, since I find it necessary to manually set the parameters in the objectdatasource.
Ben
|
|
|
|
|
thanks
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
Hi all.
I have created one asp.net application that provides download facility from the server.Is there any way to count the no of downloads for a particular artifact or software.
Thankx in advance.
satyaki mishra
|
|
|
|
|
How you are linking the download file ? Is it like http://domain/file.zip , if so I think you won't be able to count the value. What I suggest is don't give direct download file link, when user clicks download link redirect him to another page where download count will be updated and redirect to download file internally.
Download Link -> Inetrmediate Page which updates count -> Redirect to download file
You can get a rough idea on how many users downloaded. You won't get a correct count because there is no way to find out whether download finished completely.
|
|
|
|
|
You can either use the logfile of your webserver to determine the amount of downloads, or create an intermidiate page which counts the downloads like most popular download websites do..
|
|
|
|
|
hi all,
I've moved my WebApp from local server to remote and now I can't manage users because it tells me: "The Web Site Administration is only supported on localhostand disk based web sites."
Thanks
|
|
|
|
|
Hi to all
div.breakafter {page-break-after:always;} this not working
Sunil Tvl
|
|
|
|
|
I want to write a function in ASP .NET to validate the text box.. like in C# i want to know whether it is possible to write a function using the Key Press event or Key Down event...
I dont want to use javascript .....
If there is any option of doing so pls let me know....
Thanx in advance....
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
sajan ss wrote: I dont want to use javascript .....
Too bad. javascript is what runs on the client, so that's what you have to use.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
In addition:
It is however possible to set the AutoPostback property of the TextBox to true and wait on the TextChanged event. However this event fires only when the user leaves the TextBox.
However, not exactly what you asked for and the user experience is rather bad.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Yeah, I didn't suggest it for that reason. My experience on these forums is if you mention in passing something that you should never do, the OP will proceed to do it.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|