As binary data, i.e, BLOB field. You must have your file as an array of bytes. You can do it with .NET, if it's the case. See you
gus_br
Posts
-
Music Files -
Object PersistenceI meant better approaches, for instance, NHibernate, and so on. Technologies that does it almost automatically for you, without needing to write much SQL code directly.
-
Object PersistenceHi everyone. I want to know from you guys what approach you're using to persist an object into the SQL Server database? I and some work mates are discussing about the best approach of doing this for our next project, but we don't have much information or experience about the subject, so any information would be welcomed. Thanks in advance
-
Multi Layered ArchitectureHi everyone! I'm looking for some informations about the multi tier/layer architecture for a web project (AJAX + tons of javascript) but also with a lot of C# code for the web portal's objects parts. I've found some informations (even some in CP) but I think I need more and go deeper, especially, something that contains examples. Could someone help me? Thanks in advance! :] See you...
-
Web Solution OrganizationHi everyone! We are initializing a big project for my company's website. It's, basically, maps, routes and localizations tools. Ok! But, first, we need to adopt a good organization for our solution (with multiple layers). Could anybody, more experienced than me, indicate good references for this subject? Thanks in advance.
-
Cross-Page Posback fired via ASP.NET CodeWe don't use Session because we have a load balance server configuration. I know, there's a approach for this, but we simply don't use. TY
-
Cross-Page Posback fired via ASP.NET CodeHi, I was wondering, is there a way to fire a cross-page postback via C# code? The problems is: I have one error page that displays an error occurred in another page. I don't want to pass the error text through a query string parameter, so I need this kind of approach. And, I cannot use Session to this. Any hint? Thanks in advance...
-
web farm problemHi everybody... I`m having some problems with a web farm cenario. The issue is: the ASP.NET create a couple of js files in one server, but when a requisition goes to another server in the web farm the file with the js function doesn`t exist. To be more especific, I have a LinkButton on my page, and when this link is clicked it fires the 'WebForm_PostBackOptions' (which is 'undefined'sometimes). Any hints about this problem? A web.config element configuration? Thans you buddies
-
html form limitation?hi... Does anybody know if there`s a limit to the form post method? I`m trying to pass some values (form input hidden/text and select fields) through ASPX pages, but my Request.Form collection isn`t complete on the receiving page - it only has the firsts elements in my form. The page that passes the values is only a html page with the .aspx extension - it doesn`t contain anything ASPX related. I`m using .NET 2.0 with VS2005 and IE6 and FF 2.0. Also, i have read some hints on the internet without any help (changing the reg. [B]MaxClientRequestBuffer [/B]value or putting the ENCTYPE="multipart/form-data" into the sending form tag) thanks in advance...
-
html form limitation?hi... Does anybody know if there`s a limit to the form post method? I`m trying to pass some values (form input hidden/text and select fields) through ASPX pages, but my Request.Form collection isn`t complete on the receiving page - it only has the firsts elements in my form. The page that passes the values is only a html page with the .aspx extension - it doesn`t contain anything ASPX related. I`m using .NET 2.0 with VS2005 and IE6 and FF 2.0. Also, i have read some hints on the internet without any help (changing the reg. [B]MaxClientRequestBuffer [/B]value or putting the ENCTYPE="multipart/form-data" into the sending form tag) thanks in advance...
-
QueryString Problemshey guffa... thank you, it worked. both pages are .aspx, so, presumably, they`re using the same encoding type. but your hint about the
encodeURIComponent
function worked fine, both on IE and FF. cya -
javascript FunctionSure, and just to complement Graus sugestion, you can get that variable in your URL using a Javascript QueryString method (search for it) in the onload event of your page`s body.
-
QueryString ProblemsHi everybody... I have some problems related to a querystring issue. I`m calling an ASPX page, with some querystring parameters, from a JavaScript function, through the window.open method. The way this URL is configured and called in the javascript function is the following: EnviarMapaEmail.aspx?type=addPt&x=-46.644203856241546&y=-23.571182563934798&st=Av.%20Paulista&nb=10&city=S%C3O%20PAULO&uf=SP&POI= And in the ASPX page, the Request.QueryString comes this way: type=addPt&x=-46.644203856241546&y=-23.571182563934798&st=Av.+Paulista&nb=10&city=SO+PAULO&uf=SP&POI= The problem is: the original city name (city parameter) is 'SÃO PAULO' and it`s encoded in the URL (thought the escape() javascript function) as 'S%C3O%20PAULO', but my ASPX page only recognize'SO+PAULO' and it goes back through the Request.QueryString as 'SO PAULO'. What`s the problem in encoding especial chars? Any hint would be very appreciated... :] See you!
-
Server.Form and incorrect wordsAw, my problem isn't that. I meant when I have, for instance, 'São Paulo' in one input text on my htlm page, I can just get 'So Paulo' (without the 'ã') in my ASPX page via Request.Form. Did you undestand it now? Any hints? Thanks anyways... :] cya
-
Server.Form and incorrect wordsHi, I have an ordinal HTML file. I want to get some form variables on my ASPX code, OK, and it works perfectly, setting the action of the HTML form to my ASPX page and submitting it, then, on my ASPX page, I can get the variables thought the Request.Form["varName"] method. The problem begins when I have some characters with accent, like a city name here in Brazil, e.g.: 'São Paulo'. I just get 'So Paulo' in my ASPX page. I've tried UrlDecode, but without any help. Does anybody know any hint that could help me on this case? Thanks in advance guys... bb
-
ASP.NET AJAX deployment errorHi, I`ve done an ASP.NET AJAX website and it works perfectly on my development machine. Ok! But when I try to deploy my application on a webfarm scenario my website doesn`t work properly. It comes out with the following error message sometimes: " Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near '
-
DropdownlistOr... you can configure the PostBackUrl property of a ASP.NET Link Button. Then, within the other page code, you can access Page.PreviousPage. It'll give you access to the members of the previous page (the one that contains the link button), like the selected Item you want. I think this aproach is even better because it keeps your URL clean. :]
-
registering some javascript code from within an user controlHi everybody... Does anybody know if it`s possible do register some javascript code in a control`s parent page, especially inside a head tag? These javascripts need to access and interact with some Html Controls inside the control. Is it possible? I don`t want to post back my page so I do prefer to interact with users just using DHTML and Javascript. Thanks in advance... Cheers!!! XD
-
help regarding crystal reportYou can fill a dataset using your SP and pass it to your app. First learn about how to fill in a dataset using SPs. And then, move towards learning how to pass this dataset and a parameter to your report.
-
Deploying C# with Crystal ReportsOr you can configure a merge mudule in your project installer. There, you can put a crystal serial number so that it'll work in your custumers' machine. It worked to me some time ago. Do some kind of research about this subject. You've to download these merge modules. Good luck kubben... :]