|
|
I have converted my application from asp.net1.1 to 2.0 after successfull build when running its giving following error---
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "OptimaTest.NZResource.resx.resources" was correctly embedded or linked into assembly "App_GlobalResources.3wq22sqr" at compile time, or that all the satellite assemblies required are loadable and fully signed.
m using resource in following manner
RM = New ResourceManager("OptimaTest.NZResource.resx", System.Reflection.Assembly.Load("App_GlobalResources"), Nothing)
lblMainTitle.InnerText = RM.GetString("lblMainTitle")
and the error is on the second line.
could any one please suggest me any solution.
waiting
With Thanks & Regards
Amit Sk Sharma
|
|
|
|
|
Hi Guys,
I need to create an Application in C#/ASP.NET which can create an Website in SharePoint 2007.
Please send me information regarding this.
thank you
Mohamed Nazeem
Software Engineer
Bangalore
|
|
|
|
|
You can create webpart or cheat.
webpart: See MSDN docs on webparts
cheat: create a standard asp.net web site then use Sharepoint website pageviewer to embed the website inside sharepoint.
Cheating is much easier quicker.
|
|
|
|
|
i want to creat html textbox control using sql query.
u might get surprised n think it is not possible, but i have already used it in my last job but rite now i forgot the sql syntax, it is possible.
requirement was as follow
there was one grid in that one column containing textbox so that one can enter multiple values at a time an update it.
and this was done using sql query means i had written a sql query which was generate one colnm with textbox. mind it there wasn't any templated field.
i know it can be done through templatd control but i want that sql syntax.
roughly i can give idea og sql syntax. "select ''"
|
|
|
|
|
You can inject any text you like into your page, and it will render as HTML. If you want to store HTML in your database, you can. I can't imagine what purpose it serves, but it's not surprising that it works. HTML is text. Your DB stores text.
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 )
|
|
|
|
|
i want somthing like shown below
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim con As New SqlConnection("MyConnectionString")
Dim cmd As New SqlCommand("select '', * from Table1 ", con)
con.Open()
GridView1.DataSource = cmd.ExecuteReader
GridView1.DataBind()
con.Close()
End If
End Sub
this code giving error msg "Incorrect syntax near ' />'."
so result should display grid containing one colmn with textbox.
|
|
|
|
|
This is a pretty retarded way of trying to inject HTML into your grid. You can't actually hope to interact with it in any way, so what's the point ?
The problem is that you have your quotes messed up. I think '' does a quote in an SQL string. As it stands, it can't work out what quotes denote the edges of the constant string, and which are part of it
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 )
|
|
|
|
|
Really, why not just use the built in item template to get proper runtime use out of your textboxes? all you're doing here is making this harder for other people to maintain by trying to be 'clever'.
|
|
|
|
|
mind it i m not tring to be 'clever'.
i just wanna know if there is another way of doing the same thing,
if u dnt know then no need of any comments...
|
|
|
|
|
You said in your post that you were aware that it could be done through a templated column. This would be the other way of doing it...
|
|
|
|
|
this is the 1st way i have for askd 2nd way of doing it
|
|
|
|
|
Mmm. But there's nothing wrong with the first (recommended) way of doing it?
|
|
|
|
|
my dear frnd m not intersted to knw what u recommend......
|
|
|
|
|
MaruBindiya wrote: not intersted to knw what u recommend
Then why ask a bloody question if you're not interested in the reply.
Some people!
|
|
|
|
|
Friends,
How to connect ASP.NET with MySql.?? What is the connection string for that.?
|
|
|
|
|
http://aspnet101.com/aspnet101/tutorials.aspx?id=39
|
|
|
|
|
|
|
Hi All,
I am getting the values from Database like : Hello World
and now I have to store this in datatable as hello world.
I am using ASP.NET 2.0 (C#).
Please tell me how do I do this???
Thanks in advance...
|
|
|
|
|
Use a regex to strip the tags
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 )
|
|
|
|
|
Thanks for the reply sir, can u help me with the code???
Thanks again...
|
|
|
|
|
It's a pretty common regex, I'm sure if you download Expresso, it will be in there, or you can find it with google.
<(?<tag>\w*)>(?<text>.*)>
is the tag in expresso. It seems to assume only one tag is being removed, tho. off the top of my head should find any tag.
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 )
|
|
|
|
|
Thanks for the reply sir, my requirement is something like this:
I am using Gios Pdf for converting the data in pdf. First I am getting the data from database where one of the field has html tags and storing that data in datatable.
Now I need to show this html tag in text in that PDF but I am not getting how to do this.
If this doesnot work then I will have to just remove all the html tags from that field and just show in PDF.
I hope u got my problem. Can u suggest me whether this will work or not...
Thanks again...
|
|
|
|
|
You want the PDF to look like the HTML file ? I think there's projects on sourceforge and commercially that do that
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 )
|
|
|
|