|
Hello,
I am using div tag as server control.I want to set "style=display:none" property of div in codebehind file.How can I do ? anybody know this,plz help me.
Thank& Regards
Vijay s
|
|
|
|
|
you should have runat="server" for the div then in code behind do this
divid.Style.Add("display","none");
-----
|
|
|
|
|
Hi I m new to asp.net.I m using .net with vb.net. I hv a cookie in which items are added. For Example I hv 10 items added to cookie like router = 10, modem = 8, usb = 5, .....
Now I want to removie only usb from that cookie. How can I do that. Pls help me, its very urgent. Thanks in Advance.
|
|
|
|
|
coooooooooooooollllllllllllllllllMindddddddddd wrote: I want to removie only usb from that cookie.
hello frnd try this
Dim mycookie As HttpCookie = New HttpCookie("example")'create object<br />
<br />
mycookie.Values.Add(" router", "10")'assign value<br />
mycookie.Values.Add(" modem", "8")'assign value<br />
mycookie.Values.Add(" usb", "5")'assign value<br />
<br />
mycookie.Values.Remove("usb")'remove cookie<br />
-- modified at 1:10 Saturday 17th November, 2007
|
|
|
|
|
your display name is spoiling the alignment.
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Then ths s bug in codeproject website :p
|
|
|
|
|
I think its OK now.
|
|
|
|
|
coolmindd wrote: I think its OK now.
Thanks
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi,
I wants to fetch cost of products from competitors website, so that i can accordingly i can do comperision from our products . How i can do this?
please help..
krishna veer singh
|
|
|
|
|
go to their website see the cost and compare it to yours...;P
best thing is to contact them, get their database connectionstring, connect to their database and fetch the price. (IF THEY ALLOW YOU - chances are they will not unless you pay them good amount)..
-----
|
|
|
|
|
I can visit competitors website to take price, but this is manual.
I do not want this, actually i want it programmatically.
And as for as my concern no any competitor can provide their database connection string.
krishna veer singh
|
|
|
|
|
krishnaveer wrote: no any competitor can provide their database connection string.
Obviously, even if you had their connection string, doesn't mean you could access their DB, almost certainly not. You think the Amazon database is on a public network ?
You're going to need to write screen scraping code, and rewrite it every time they change their website.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Christian Graus,
Will you please tell me how i can do this. Actually it's very necessary for me.
Thanks
krishna veer singh
|
|
|
|
|
|
Actually i don't know which technique i should use. That's why i'm asking.
Please suggest me appropriate way to do the task.
Thanks
krishna veer singh
|
|
|
|
|
can any one help me to store the hindi font in sql server and display it on my website its really urgent for me thanks in advance
|
|
|
|
|
I already answered your question here.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
hi friends,
Am using gridview control and hyperlink control in asp.net 2.0.am using one table.totally 4 field(Location,state,name,status,apply) is there.hyperlink button is used in only apply field.
example :
Location state Name status apply
salem tn Moorthi open [click] Hyperlink1
covai tn Raju closed [click] Hyperlink2
Note :
If status field opened,apply field (hyperlink) enabled,oterwise if status field closed,apply field(hyperlink) disabled.
with regards,
Thirumurugan.D
|
|
|
|
|
Why the non existant subject line ?
If a hyperlink does not have a navigate URL, it renders as text, not a link.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi friends,
am using one table,there is 3 field(name,address,father name) is having.but inserted totally 5 records.In all column data first character small letter.
example :(Database)
Name Address Father Name
raja salem rajasekar
laxman chennai anbuselvan
bala bangalore muthu
senthil covai durai
arun hosur ganesh
Note :
Am using front end repeater control.I want display all column data starting letter in capital letter.help me very urgent
I want display the front end form is example :
Repeater control(FRONT END):
=============
Name Address Father Name
Raja Salem Rajasekar
Laxman Chennai Anbuselvan
Bala Bangalore Muthu
Senthil Covai Durai
Arun Hosur Ganesh
with Regards,
D.Thirumurugan.
With Regards,
D.Thirumurugan
|
|
|
|
|
in C# use:
System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(yourString);<br />
in VB:
use MIcrosoft.VisualBasic.StrConv()
-----
|
|
|
|
|
Why not fix the data in your database, instead of doing this every time.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
<iframe id="simpleEditor" runat="server"> </iframe> <br />
<br />
On Page_Load how can i set the default value of iframe. Do i need to call a javascript function to the set the value if so how can i call a javascript from the .cs file <br />
<br />
Thanks
|
|
|
|
|
what you mean by value? if you want to set the source from server side then here is the code for that:
simpleEditor.Attributes.Add("src",pageurl);
-----
|
|
|
|
|
I want to initialize the simpleEditor with some strings like "hello world" how could i do this from server side.
|
|
|
|