|
Hi Christian,
Attempting to open it programmatically:
<br />
String path = this.ResolveClientUrl("adsense_bottomArticle.txt");<br />
Gerry
|
|
|
|
|
How to format the text in the label or textbox like we want to keep some text bold in the paragraph shown in the textbox or label
Thnx in Advance
Manoj Bisht
|
|
|
|
|
By using the correct HTML tags ( strong for bold, for example )
A textbox isn't going to let you do this, but a label is.
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 )
|
|
|
|
|
hey guys
i made pie radchart i wonna set the series data programitecly and i wonna put
RadChart1.Series.Item(0).Item(0).Name = "In "
its work but i wonna define string and write sql query
like select column_name from table_name where column_name= 0 and put it in
RadChart1.Series.Item(0).Item(0).Name = "In"+ string
Public Sub RadChart1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadChart1.Load
Dim sqls As String = "select EmailRecieved, count(EmailRecieved) from Emails where CallType = 0 Group by (EmailRecieved)"
Dim cmd As New SqlCommand
cmd.CommandText = sqls
Dim strcon As New SqlConnection(Conn)
Dim EmailsAdapter As New SqlDataAdapter
EmailsAdapter.SelectCommand = cmd
cmd.Connection = strcon
strcon.Open()
' EmailsAdapter.SelectCommand = New SqlCommand("Select * from RecCalls", MyConn)
RadChart1.Series.Item(0).Item(0).Name = "In " + sqls
Try
'Dim CallDS As New ds1
'CallsAdapter.Fill(CallDS)
RadChart1.DataBind()
Finally
strcon.Close()
End Try
End Sub
the sqls still empty
Developer
|
|
|
|
|
Why does no-one use proper variable names ?
none of this code seems to actually execute the comment ( that I can see, apart from lines you have commented out ). Does the SQL you're using return anything ? If so, then you really need to read the docs on the control that you're using, and look for the support forums on their site for help in using them.
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 )
|
|
|
|
|
Hello Everyone,
I want to run the flash file through server-side code not through html code like <object>.........
Thnx in Advance
|
|
|
|
|
You can't - server code runs on the server, all it can do, is form the HTML that allows it to run on the client.
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 )
|
|
|
|
|
Try to import com componant for importing flash movie.
God Bless you.
Always do good to others
|
|
|
|
|
Hi all,
I have a case where i need to activate or deactivate validators if a certain field is visible or not. Note that iam making these fields visible or invisible using a javascript. Any ideas? Thanks
|
|
|
|
|
You can copy the code that ASP.NET generates and control if validators are fired, or how they are fired.
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 )
|
|
|
|
|
Can u give me more details!!!!
What i need is Ability to hide a certain container with all the validators inside it (disable them not just hide them)
|
|
|
|
|
I don't recall the actual functin names, but they are widely documented via google. One starting point is to look at hte code that is generated if you create a control with a validator.
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 )
|
|
|
|
|
I was a windows application programmer. I am newbie in web.
What i did in windows application is that the database connection will implemented at the time of start up the program. But when i started the work on web application i got an advice to open and close the database connection for every database operation. As an explanation they said it is the safest method.
But what is the risk? I searched some time in Google i couldn't find a good answer. Can i store sqlconnection object in application variables? Or is there any other good method? Can i get any useful links for this?
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
you are using asp.net(c# or vb) coding language ,Whatever may be if you are asp.net the you can use webconfig file to declare connection and you can use the single connection where ever you want in your project.
ganeshk
|
|
|
|
|
Yes i am following this method. I wrote the connection string in web.config file. But what is my problem that opening database connection each time makes my site slow. I noticed that some of the functions are slow because it take 1 or 2 seconds to open a connection.
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
That doesn't sound right. You should be enjoying connection pooling[^] as automatically provided by ADO.NET.
|
|
|
|
|
Thanks for that link. Actually i was blind on this problem. Now i got a thread. Let me to read that article for creating a systematic database connection.
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
Hi Friends,
The following question was asked me in my interview. Since i am new to .net technology,
Please help me to know the answer for this question.
How Session Management is handled by ASP.NET?
Thanks in Advance,
Regards,
Prya
|
|
|
|
|
session object contains the user information. it will be created in the server side and it has some methods and properties.
you can set the session values programmatically and you can delete the session through the session.abandon method.
every session has individual unique id to identify the session.
All The Best
Sathesh Pandian
|
|
|
|
|
Hello Everyone,
Can anybody let me know how to create the message editor box of codeproject
For Example:- Actually i've to create the custom tags like bold,italic and etc so that i must be able to change the content of my site dynamically
I've textbox or label in this i just want to bold the text(particular) at runtime
Plz suggest me some way to come out of this problem
Thnx in advance
|
|
|
|
|
The site uses a HTML editor control, you'd need to write one, or find one online. I have no idea what control we 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 the internet many html editors are avaliable with source code.and one of them is FCKEditor.so u can search into this keywords.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Maybe look into this
htmlarea[^]
He who laughs last is a bit on the slow side
|
|
|
|
|
NeroToxic wrote: He who laughs last is a bit on the slow side
A nice variation on this:
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
I like
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|