Click here to Skip to main content
15,906,558 members

Videos


Page 5 of 10
1 2 3 4 5 6 7 8 9 10


81. how i can do codin in aspnet that how many users visited today
If you are just using ASP.Net and you are not looking to use a database, you could just write it to a text file on the server. After a person has visited, write a cookie to say that they have visited for the day. There is your solution, Google or visit MSDN to see how to do it, Im not...
Web Development » ASP.NET »
DominicZA Updated: 15 Mar 2012
Rating: ( (No votes))
82. How to iterate array
for (var i = 0; i
Programming Languages » Javascript »
DominicZA Updated: 15 Mar 2012
Rating: ( (No votes))
83. Strange ASP Drop Down List Problem
Hi have quite a weird problem on my hands and I am sure I am just overlooking something quite obvious.I am trying to bind some values to a drop down list. ViewState is definitely enabled. If I add the values to the ddl like this:
Web Development » ASP.NET »
DominicZA Updated: 15 Mar 2012
Rating: ( (No votes))
84. How to rename Foreign Key Using Sql Script.
In your script drop the the key, then recreate it with the new name. As far as I know there is no other way.
Database Development » SQL Server »
DominicZA Updated: 14 Mar 2012
Rating: 4.64/5 ( (3 votes))
85. get simple text from xml data (updated question)
http://msdn.mi...
Web Development » ASP.NET » ASP.NET4.0
DominicZA Updated: 13 Mar 2012
Rating: ( (No votes))
86. How to know the statement return true or false
Have a look at the confirm box in the link below.http://www.w3schools.com/js/js_popup.asp[^]
Programming Languages » Javascript »
DominicZA Updated: 12 Mar 2012
Rating: ( (No votes))
87. add other class to my project
Another way is if you had the code you wanted in a ClassLibrary, when you compile it it creates a DLL in the bin folder. Copy this DLL to a relevant location to your new project and reference it from within your new project.
DominicZA Updated: 12 Mar 2012
Rating: ( (No votes))
88. Skype like query in a lookup table
I assume what you mean is get the users that are in the same conversation? Since you are using the Entity Framework you should be able to do it like this:var usersInChat = (from m in myDataContext.Messages group m.Users in ChatUsers ...
DominicZA Updated: 12 Mar 2012
Rating: 5.00/5 ( (1 vote))
89. how to change system date time format with c#
If it is purely only to display, then you can use the following method:DateTime currentTime = DateTime.Now;string format = "dd MM yyyy";Console.WriteLine(currentTime.ToString());Here are all the different formats:1) MM/dd/yyyy 08/22/20062) dddd, dd MMMM yyyy Tuesday, 22...
DominicZA Updated: 12 Mar 2012
Rating: 5.00/5 ( (2 votes))
90. Problem parsing XML from SQL
I am trying to read in some XML from my database. I am running in to a bit of a problem. When I try use XDocument.Parse(xml) it is reading it all as one element. NextNode and PreviousNode are both null. Below is the XML I receive from the...
Database Development » SQL Server » SQL Server 2008
DominicZA Updated: 9 Mar 2012
Rating: ( (No votes))
91. Getting connection string from webconfig
Ok, after some playing around I found out how to get it. If you override the Initialize method one of the parameters parsed is the collection of values you entered when adding the provider.
DominicZA Updated: 8 Mar 2012
Rating: ( (No votes))
92. Getting connection string from webconfig
I am creating a custom .net membership provider. I understand the basics and have created a new class library(as I want to reuse this) with the relevant methods. At the moment I have registered my custom provider in the web.config and if I add a break point to the methods, they are being...
DominicZA Updated: 8 Mar 2012
Rating: ( (No votes))
93. WCF Binding error. Silverlight 4
Hi I am trying to save save a fairly large string to the database. I send the required information to the server but I get the following error:There was an error deserializing the object of type AASC.DAL.Types.EventDTO. The maximum string content length quota (8192) has been exceeded...
Silverlight » »
DominicZA Updated: 14 Feb 2012
Rating: 4.00/5 ( (1 vote))
94. Cant save text to database
I am trying to save the embed code for a video in the database. The layout I have is as follows: ...
Web Development » ASP.NET »
DominicZA Updated: 27 Dec 2011
Rating: 1.00/5 ( (1 vote))
95. Get a count of items with Linq
I am trying to get a count of items in a Linq query for items with the same description. My query looks kind of like thisvar dataSource = (from t in context.Tags select new { Name = t.Description, Count...
DominicZA Updated: 19 Dec 2011
Rating: ( (No votes))
96. PInvoke issues with custom dll
I am just playing around with some PInvoke stuff. I am getting an AcessViolationException error when I am trying to run the app. This is my C++ code"extern "C"{ __declspec(dllexport) double DecodeLatitude(string s, bool mustFlip) { bitset hh(s); if (mustFlip)...
DominicZA Updated: 28 Nov 2011
Rating: ( (No votes))
97. C# Equivalent of bitset Flip method
I have a BitArray which I need to flip. In C++ you can just use the following syntax:bitset MyBitset (mystring);MyBitset.flip();How can I achieve the same result in C#? Also, I now need to take this bitset (well, BitArray in C#) and convert it to a double. In C++ I can just us...
DominicZA Updated: 24 Nov 2011
Rating: 1.50/5 ( (2 votes))
98. Need help converting C++ code to C#
I need to convert the following code snippet into C#, how is this possible?char south=ais_binary[89]; temp_s=ais_binary.substr(89,27); bitset ii(temp_s); if (south=='1') {ii.flip();} double ais_latitude=ii.to_ulong(); ais_latitude=ais_latitude/10000/60; if...
DominicZA Updated: 23 Nov 2011
Rating: ( (No votes))
99. C# AIS Decoder hello
Hi,I am trying to make a C# AIS decoder. I am using this information a a base point http://www.bosunsmate.org/ais/[^]I have managed to get the binary of each character, but I do not know how to convert it into its correct format now. For example, the MMSI binary is...
DominicZA Updated: 23 Nov 2011
Rating: 1.00/5 ( (2 votes))
100. Convert 8bit ASCII to 6bit
Hi, I am trying to take a char and convert it to 6 bit binary. Any idea how one can do this in C#. Here is what I have so far.char c = '1';int i = Convert.ToInt32(c);while (i > 40) i -= 8;Console.WriteLine(Convert.ToString(i, 2));Console.ReadLine();The result for...
DominicZA Updated: 23 Nov 2011
Rating: 1.00/5 ( (1 vote))

Page 5 of 10
1 2 3 4 5 6 7 8 9 10