|
abglorie wrote: MySql = "UPDATE MyTable SET Title='" & MyText & "' Where Title='Womens Studies'"
Use parameterized query. Read about SQL injection attacks.
|
|
|
|
|
|
What is your intent of linking your post again? After your query, wait for a while till some one answers. Looking at your thread, you were already given enough answers or directions.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
How can I read tabular data present within an HTML file programmatically using ASP.NET (C#). The HTML file has been already downloaded in my local system.
Any help or pointers will help.
|
|
|
|
|
v1i9n6o7d wrote: How can I read tabular data present within an HTML file programmatically using ASP.NET (C#). The HTML file has been already downloaded in my local system.
Try a google search for something like "c# parse html file"[^] and see what comes up.
|
|
|
|
|
hey freinds
I want to clear browser cache using javascript
please don't forget to vote on the post that helped you.
|
|
|
|
|
|
Hello freidns
I have a problem to preview image on click of anchor tag.
I want to set href of anchor tag using javascript on click of same anchor tag and want to load that url.
suppose I have one anchor tag like as
<a href="#" onclick="SetHref();return false;" id="achor">Set Href</a>
and javascript function
function SetHref()
{
document.getElementById('anchor').href="mypage.aspx";
}
Does above code sets href to anchor tag and load that page?
Or any other solution regardin this issue.
Thanks in Advance.
please don't forget to vote on the post that helped you.
modified on Friday, January 11, 2008 3:00:30 AM
|
|
|
|
|
To load a page using javascript you don't need to set the href, you can just set the window location:
window.location = "mypage.aspx";
|
|
|
|
|
<a href="#" onclick="SetHref();" id="anchor">Set Href</a><br />
<br />
<br />
function SetHref()<br />
{<br />
document.getElementById('anchor').href="mypage.aspx";<br />
}
this works!!!
Sathy
|
|
|
|
|
designing in IE Browser is ok
but when I run same page in Mozila
then I'm getting designing in improper manner.
please tell me solution.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
It's a hard job to make browser compatible websites. But you can almost achieve this by following W3C standards. Avoid using IE's proprietary methods and styles.
|
|
|
|
|
Mozilla is more case Sensitive than IE so make sure each tag property in proper manner and Use common property which support all browser.
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
Parwej Ahamad wrote: Mozilla is more case Sensitive
I might be wrong, but AFAIK, it's not case sensitive. But it follows W3C standards, and won't allow any proprietary styles.
|
|
|
|
|
Yes you are right. I mean to say not a word case sensitive.
In case of IE some property correct itself or worked fine when you written something wrong.
But not with Mozilla.
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
hi,
s friends if we need our site should run in all type of browsers,
then we need to script in W3c standard, use the following link for
pre built script from sarissa to get traverse Thru DOM
http://dev.abiss.gr/sarissa/howtos.html#getxmldom[^]
I hope this will be useful
|
|
|
|
|
If we have a section in a crrystal report .I hide the section.When i hide it i want to clear the section data also.How is it possible.
|
|
|
|
|
when I use table within Update Panel and click any button
which is inside table,table structure change.It shouldn't be.
ex.
First Name ---
Last Name ---
changed structured:
First ---
Name
Last ---
Name
But when no update panel then no change in structure and css classes working fine.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hello Everybody,
I have a Gridview in which I need a add new row functionality.
My Gridview is generated dynamically I want the functionality like in the last column of the gridview there is a button/Image,when I click on it a new row should added to the gidview along with all the data in the row as the 1st row content.
Name Year Address CheckBox Add
Ashok 2008 CP +
Rahul 2007 Delhi +
Plz help me out
A key to every Solution
|
|
|
|
|
AS@13 wrote: My Gridview is generated dynamically
Is ASP.NET maintaining viewstate for this ? In which event are you creating this ?
AS@13 wrote: t a new row should added to the gidview along with all the data in the row as the 1st row content.
I presume you are binding GridView with a datatable. When new row is requested, add a new row to datatable and bind it to gridview.
|
|
|
|
|
Thanks,
But then there is a problem..
I have to save all the data input by the user in previous rows in somewhere and bind to the gidview again at the every click of the Add button as my DataTable is disposed when page is send to the browser.
Plz tell me better idea or some modification in this..
Happy Coding.
A key to every Solution
|
|
|
|
|
You can keep your datatable in Session/ViewState. This allows you to persist it's data on post backs.
|
|
|
|
|
hi all
my problem is that a javascript code running on vs 2003
but not running on 2005
so how to solve this proble plz help me
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
Can you post here which code are not running ?
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
Your question doesn't make any sense. JS won't run with VS 2003 or 2005. It runs on the browser.
RajeevKumarSharma wrote: so how to solve this proble plz help me
You may try installing firebug and figure out what went wrong.
|
|
|
|