|
Hope this[^]will give you an idea.
With Regards,
Kasson.
Birth is a mistake you'll spend your whole life trying to correct.
|
|
|
|
|
Hi ,
Thank you for your reply,
Multiple users accessing same dynamic page ,if two users trying to insert on same page and same table
, it is inserting two records but first record or second might be getting null values in all columns in table.
please suggest me better way.
Regards,
Vishnu.
|
|
|
|
|
Hope this[^]and Big resource[^] will give you an idea.
With Regards,
Kasson.
When there is a conflict between the heart and the brain, let the heart be followed
|
|
|
|
|
Hi,
Thank you for your reply , But i'm using Asp.net 3.5 with c# and sql server 2005, not VB 6.0.
Regards,
Vishnu.
|
|
|
|
|
Hi ,
My issue Solved , so don't waste your valuable time.
Regards,
Vishnu.
|
|
|
|
|
After selected data from database into reader, if reader is Nothing i want to prompt alert
Response.Write("<script>alert('There is no Data to show');</script>")
when I run alert didn't prompt, just got errir as below ...
Error: Sys.WebForms.PageRequestmanagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the reponse is modified by calls to Reponse. Write(), reponse filters, httpModules, orserver trace is enabled.
Detail: Error parsing near '<script> alert(' .
Please help
Thanks and best regards.
|
|
|
|
|
check here[^] for the causes.
|
|
|
|
|
Thanks, mkgoud. will check it.
|
|
|
|
|
It works perfectly fine for me..
add semicolon ; at last of your statement
|
|
|
|
|
Sure I added ; at last. ...
even very simple
Response.Write("string") also got error.
|
|
|
|
|
You can't send script in the response stream and expect it to be executed. You need to register it as being script first. Look at this [^] MSDN page for further help.
|
|
|
|
|
I am not sure but hope this link[^] might help you to solve your problem.
|
|
|
|
|
My masterpage have as below tag
<body>
<form runat="server" id="mainForm" method="post">
<div class="page">
<div class="header">
<div class="title">
<h1>
This is Header
</h1>
I want to change
This is Header
to every pages.
How can I do from each page?
|
|
|
|
|
you can easily access master page controls via Master.FindControl
Here is an example [^] of how to do it.
By the way you don't need to use <hl>, use instead css styling.
|
|
|
|
|
Yusuf, thanks for your advise.
|
|
|
|
|
Hope Master Page[^] also will help you.
With Regards,
Kasson
|
|
|
|
|
How to replace double quote sign from the string in asp.net?
suchita
modified on Monday, January 10, 2011 1:30 PM
|
|
|
|
|
try string.Replace() (One of its overloads, probably the char one is what you seek.)
|
|
|
|
|
But how to replace two or more characters like for example if i find double quote or single quote, i have to replace different things.
if double quote is found..
str.replace("\"","doublequote");
str.replace("'","singlequote");
but is there any way i can have just one replace method but does these both things at once?
suchita
|
|
|
|
|
You can run the replace again on the replace result, like this:
str.replace("\"","doublequote").replace("'","singlequote");
You could make your own method to do so, also:
public static string QuoteEscape(string value)
{
return value.Replace("\"", "doublequote").Replace("'", "singlequote");
}
modified on Monday, January 10, 2011 3:07 PM
|
|
|
|
|
Great.Thanks a lot.
suchita
|
|
|
|
|
SayamiSuchi wrote: Subject: Answered Found already.
Why Subject line look like this ?
|
|
|
|
|
actually at first i was looking for only one string replace thing and i found by myself. so i changed it to "Answered Found already" but later again I was trying to replace two different strings replacement with two other values and so it just continued. But my both problems are solved .
Anyway thank you for your interest.
suchita
|
|
|
|
|
hi
i working on asp.net & C#
i have datagrid that contain my database.
i have table Workers that contain ID,Fname,W_PIC (W_PIC contain the picture)
when i press row in my datagrid how to show the picture in image control
that i has in my web-form ?
(the picture in the database is not a link to picture - its binary array)
|
|
|
|
|