|
Hi
try this
String str=@"\\x2260";
Listbox1.items.add(str);
Best Regard
pathan
---------------------------------------------------
|
|
|
|
|
Hi pathan,
I need this in VB(code-behind). Before posting this issue , i had tried using C# its working.
Regards,
Manowj
|
|
|
|
|
is it possible to put datagrid inside datagrid?
Anu
|
|
|
|
|
anujose wrote: is it possible to put datagrid inside datagrid?
YES. Inside template column you can put
|
|
|
|
|
thx a lot for your efforts
i want to make all pages in my project accessible from any other page on my project to interact with it (controles ....or any thing)
so is there a way to make any page public to see and interact with it in another page
Kareem Elhosseny
|
|
|
|
|
elhosseny wrote: i want to make all pages in my project accessible from any other page on my project to interact with it (controles ....or any thing)
You can't do this. Check with ASP.NET lifecycle in MSDN. When UnLoad() method calls before you see the page, all controls objects will be removed. So you won't be able to do this. Tell me real time scenario where you need to do such things ?
|
|
|
|
|
Dear Navaneeth ;
my real case is i want to make something like resource file
as
my application support to make the user change the application to his language and his culture dynamically
i make combo box carry all culture and language
and another combo carry all pages in my project
here is the problem when i choose the page i want to load the main page with the all controle in the selected page in combobox (labels, headers....)
which i can change them to the selected culture or language like the customer want
but i cant access the pages ;
and also i want to do this action without open the page which include the controle in the fact
note iam using xml file to be intermadte between master web application (which include the pages) and the translator pages
there is my all case
and iam working on it step by step
but my huge problem is what i say about accessing anotrher page resource like controle with out open it
plz help me or show my case to codeprjoect if any programmer can help me
thx for your attention
and i hope to be usefull for u in the future
Kareem Elhosseny
|
|
|
|
|
Your requirement seems very tough. I implemented internationalization in my projects using resource files. In that user can change their language by changing browser default language. If you can do that, it will make your process easier.
elhosseny wrote: when i choose the page i want to load the main page with the all controle in the selected page in combobox (labels, headers....)
which i can change them to the selected culture or language like the customer want
I am not sure that I understood properly, Do you mean that, you need to show preview of the page where language will be changed, on the main page when page selects from dropdown ? If so, you can make use of WebClient class instead of opening that file. WebClient will give you rendered HTML of the page, which can be put into some literal control to show the page in your main page as preview.
|
|
|
|
|
my dear;
i know its toooooooooooooo tough
ok can u send to me your solution for this problem or hints on it
thx for your time
but i have an idea
in page load for each page i made a session which carry an array of controls in the page
can i open the page and close it in the same time just for take the session which i made and interacte with them?
if yes
plz how can i open page and close it in the same time?
or how can i close the page from other page?
if not
kindly tell me about your solution
Kareem Elhosseny
|
|
|
|
|
elhosseny wrote: can i open the page and close it in the same time just for take the session which i made and interacte with them?
No, no you cannot. As I keep saying, you seem to have no idea how ASP.NET works, you need to buy a book and read it.
And, as I've said before, user controls are the way to reuse control layouts between pages, but they will not have any state, you get the layout, but no values.
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 am using Crystal Report and ajax in my webapplication. I am getting following error while accesing the site from the internet. help me pls to fix the error.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304">
pls help me
Sunil Nair
|
|
|
|
|
Suryanairg wrote: Parser Error Message: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
It looks like your server don't have crystal reports assemblies. You need copy that to server Global assembly folder.
|
|
|
|
|
plz all show me in details plz how can i integrate my web site with paypal to validate credit card no (e-commerce)
sorry plz in details coding and steps
really that's kind of all code project programmer thx a lot .
Kareem Elhosseny
|
|
|
|
|
I believe that paypal is the place to go if you want details on how to program the paypal API. I recall they have very good help pages.
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 )
|
|
|
|
|
sorry
plz can u give me the url for these help pages because i cant reach to my need
thx for your attention
Kareem Elhosseny
|
|
|
|
|
|
I want to use credit card in my online shoping project
so that any customer can shop as his/her requirements online.
|
|
|
|
|
Integrate your APP with paypal. They provide payment gateway for shopping websites. Alternatively you can get credit cart information on your site itself and validate it with Authorize.NET.
|
|
|
|
|
Hi, awhile ago I had asked this same question after many failed attempts to display binary data in a label. I am trying to display other types of binary data like ms word, PDF documents etc using the same method that was used for displaying images. I am just guessing that it would mostly be the same. The following is what I have seen many people do when displaying images. They would use the ExecuteScalar() method of the SqlCommand class to read the BLOB, then caste the data by putting it in a byte array. After that they would stream it to the HTTP response and use a HtmlServerControl to display it in the browser. I was not able to get it to display text documents. How do I modify the code below to display other types of binary data? Thank you in advance for your help.
private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack)
{
CreateImage(Request["id"]);
}
}
End Sub
Private Sub CreateImage(ByVal id As String)
' Connectoin string is taken from web.config file.
Dim _con As New SqlConnection(System.Configuration.ConfigurationSettings.AppSettings("DB"))
Try
_con.Open()
Dim _cmd As SqlCommand = _con.CreateCommand()
_cmd.CommandText = "select logo from" + " pub_info where pub_id='" + id + "'"
Dim _buf As Byte() = CByte(_cmd.ExecuteScalar())
' This is optional
Response.ContentType = "image/gif"
'stream it back in the HTTP response
Response.BinaryWrite(_buf)
Catch
Finally
_con.Close()
End Try
End Sub
-- modified at 5:31 Monday 30th July, 2007
|
|
|
|
|
Same answer as last time. You need to know what the content is, and write the correct content type, so the browser knows how to try and display 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 )
|
|
|
|
|
Hi Christian, I already know that from when you told me last time. What I would like to know is after I write the content type can I do something like setting the text area to the byte array to display it? Thanks for your help.
-- modified at 6:03 Monday 30th July, 2007
|
|
|
|
|
If the data you get out is just text, you can just set the Text property of a text control, in order to put it there, yes.
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 confused with the tiers in 3 tier architecture ? I heard that calling DAL from presentation layer is bad programming habit. Could you tell me, how this will affect program performance ? I always used to call DAL directly from presentation layer, and still it's working fine for me.
|
|
|
|
|
Quite plainly, it's an architecture issue and not a performance issue. Your app would probalby perform slightly better if it was all written in one place, given that it wouldn't have to interact with dlls. The issue is a clean design.
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 )
|
|
|
|
|
Christian Graus wrote: Quite plainly, it's an architecture issue and not a performance issue.
Thanks, I also doubt this. Now cleared. I found an article on creating datalayer in MSDN. But they explained it with creating datasets design time. But I still feel comfortable with writing code for dataset with SQLAdapter. What do you prefer ? Design time or the other ?
|
|
|
|