- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 9
- Posts with Upvotes
- 9
- Upvoting Members
- 7
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
71 Posted Topics
Re: server side controls are meant to set off the post-back event (which is the refresh).. if you need a client side operation (i.e. to hide/show an object), then use standard html button with javascript inbuilt as an onclick event | |
Re: i assume both front/back end code is on the master page right? | |
Re: The logic should be simple enough if you use the below: System.IO.Directory and System.IO.File classes. There exists methods GetFiles, GetDirectories etc.. it should do the trick. If it helped, please close the thread. | |
Re: firstly, its a great foul to have such differences in OSs.. at the very least, your test server has to simulate your production environment. Re client server question, you need to use sockets: on server, open a socket (using System.Net.Sockets;), and begin listening. on client, open socket and connect to … | |
Re: you have to give us more information, how are you uploading photos, how are you attempting to delete them, what code, language etc. etc. | |
Re: if its web based notifications, jquery will do the trick. However i believe the focus must be on a browser for this to work. [url]http://api.jquery.com/fadeIn/[/url] | |
Re: that wont work, you need to create your dynamic sql. Something like: decalare @sql as varchar(500) set @sql = 'select * from ' + @table exec (@sql) please mark this thread as solved. | |
Re: each time a page is loaded, the code above runs. You are recreating the dictionary object upon postback (postback occurs when you click on a button). You need either store the object in a session variable if you need to use this object in various pages, or else store it … | |
Re: Try the below.. looks helpful: [url]http://www.codeproject.com/KB/audio-video/Mp3SoundCapture.aspx[/url] please mark thread as solved if it helped. thanks | |
Re: try padding-bottom = 0 on menu | |
Re: Try enabling viewstate on the controls you'd like to maintain data on. Set thread as solved if this helped. | |
Re: I've worked with ClickOnce deployment.. very veryy useful and simple to use especially when releasing various versions to spread to different clients. [url]http://msdn.microsoft.com/en-us/library/t71a733d%28v=vs.80%29.aspx[/url] | |
Re: You forgot to manually bind the form event to that method.. is it being fired? add this.FormClosing += new FormClosingEventHandler(Form1_OnClosing); in your form load method | |
Re: printNode is a recursive function... there might be another problem, but the follow is definitely an issue: when printNode is called for the childnodes, it is instantiating a new StringBuilder each time. In other words, you are creating an object per node and not one StringBuilder for the whole tree.. … | |
Re: 1) you can either split the whole string with the string in question.. then simply get the length of the result array 2) use indexOf, get the first index, then use indexOf again with a startIndex > than the first result of indexOf.. keep going until indexOf = 0.. place … | |
Re: can you debug the service to see what exactly is happening? Open the project, - debug-attach to process -> find process and attach. | |
Re: its a DTD - document type definition.. placed in every html page, this snippet helps browsers recognize the version of markup in order to display/render correctly. It should be placed in every html page! | |
Re: This might help: [url]http://www.codeproject.com/KB/office/Embedding_Excel.aspx[/url] | |
Re: try: if (resultNumbersOfEachCoin[indexOfCurrentCoinToCheck] >= 100) { Console.WriteLine(resultNumbersOfEachCoin[indexOfCurrentCoinToCheck]/100); } You only need to divide by 100 if the value is of 100 or greater.. in this case 100 or 200 | |
Re: Use AdomdConnection adomdConn = new AdomdConnection();.. a standard connection will not work. you need the following namespaces: using Microsoft.AnalysisServices; using Microsoft.AnalysisServices.AdomdClient; | |
Re: Umesh, you have to give us way more information to be able to even start helping you. Please keep in mind that none of us have the slightest idea on your work, code, or calculation for that matter. | |
Re: I've always used this class.. always worked like a charm.. and very easy to implement: [CODE] using System; using System.Web.Mail; using System.Collections; namespace Service.Classes { /// <summary> /// Summary description for Email. /// </summary> public class Email : IDisposable { #region –DECLARATIONS– private string strSMTP = string.Empty; private string strFrom … | |
Re: maybe if you could give us more details? Complete error, How are you importing it, If via code, can you provide us with the code, If the exception is being triggered in code, we need the code + the exact line where the exception is being fired. What do you … | |
Re: You can select column A + column B as composite keys in the database.. meaning that both columns together are unique values. DB will trigger off a p.k error if you attempt to insert duplicate keys (since a + b in composite form a p.k) | |
Re: You need: a) equipment for that, contact specific vendors b) if running on windows, you need set of APIs, ... WBF exists ([url]http://msdn.microsoft.com/en-us/windows/hardware/gg463081[/url]) c) [url]http://msdn.microsoft.com/en-us/windows/hardware/gg463089[/url] | |
Re: I had done something similar a few years ago.. there might be something out there which is way simpler to implement today. However, I had used the Process class, opened a cmd, literally pinged the server through ping command, and parsed the return time in ms or set the server … | |
Re: suggestion: avoid using such sql statements, use stored procedures OR ensure that the there are sufficient checks to avoid sql injection attacks - e.g. in txtusername and txtpassword. The way your code has been written, it leaves quite a few options for a mediocre hacker to insert some malicious sql … | |
Re: Somewhere you are closing the connection..a datareader shuts down once the connection terminates.. whats in : ExecuteStatement | |
Re: Couple questions: a) in the above implementation, is any exception being triggered somewhere or is data being lost? b) i always use that method.. creating a header prior to sending payload which would include the length of the payload.. normally i set the first 4 to 6 bytes manually as … | |
Re: Firstly, in search page, instead of placing if statements, why dont you simply: Response.Redirect("Search Page.aspx?Catagory="& CatagoryList.SelectedItem.Value &"&city=" & ItemList.SelectedItem.Value & "") secondly, can you actually see the parameters being passed in the URL in the result page? | |
Re: I think you need to add an a checkbox within an itemtemplate in a gridview..something like: <asp:TemplateField HeaderText="Login"><ItemTemplate><asp:Button ID="btnLogin" runat="server" Text="Login" CommandArgument='<%# Eval("MemberId", "{0}")%>' CommandName="Login" ToolTip="Click here to Login" CssClass="btnbgtrans"/></ItemTemplate><HeaderStyle Width="5%" ForeColor="Black" CssClass="titleCommission paddingleft5" HorizontalAlign="center"/><ItemStyle HorizontalAlign="center" CssClass="paddingleft5"/></asp:TemplateField> I've placed a command button in my grid, however the concept is just … | |
Re: try to map the intranet folder to a local drive.. should work this way. | |
Re: Im not sure exactly what you're after.. but if i am close enough to understanding, you might want to create a scheduled SQL job which runs every 30 days and resets the identity? | |
Re: Right click on your project and select view class diagram, sequence not so sure you can | |
Re: Have you tried registering the script: http://www.itexposed.com/forum/asp-asp-net/register-client-script/ | |
Re: Are you trying to convert the byte array to string? if so use: http://www.itexposed.com/forum/csharp/convert-byte-array-to-string/ if not, you should include a - 1 in the loop (Buff.Length - 1) as byte index starts from 0 | |
Re: not sure i've understood.. but try store the name in a variable before renaming (using some class in system.Io namespace) | |
Re: a database is normally used for these sort of things.. MySQL is pretty decent for what you need - could have been slow due to the resources it had available.. but another free option would be Microsoft Access - its like a toy DB but if its just for kicks, … | |
Re: not 100% if it works.. try <script language="JavaScript"> javascript:window.history.forward(1); </script> | |
Re: if you need to simply send notifications why dont you use a cheap service such as clickatel? i've used it in the past and its implementation takes seconds. | |
Re: try a simple web based chat application ![]() | |
Re: Try the below: http://www.itexposed.com/forum/asp-asp-net/simple-chat-application-http/ it uses javascript - the same principle you need to apply to achieve your results | |
Re: create a public variable for your result (which is populated when you hit '=' ), clear it only when you hit Clear.. upon hitting '=' the second time, if the public var > 0, then do not reprocess the calculation | |
Re: "ve sucessfully managed to connect to a local copy of sqlserver via c# and input data into an existing database." you need to do the same thing for a remote DB? can you pls explain yourself better | |
Re: this should go under asp.net section.. you'll get more help | |
Re: try [url]http://stackoverflow.com/questions/736106/asp-net-sending-pdf-to-browser[/url] | |
Re: can you pls provide further info on the error? maybe a code snippet plus the exact location where the exception is being triggered.. the environment in which its running and the framework version tnx | |
Re: 1) just open basic connection (search for sqlconnection) - place a try catch, and send email upon catch - this means db is down 2) search for sqlcommand - if 1) is successful, then do this 3) check this resource [snipped] |
The End.