|
I suggest you google for "SignalR", there are plenty of examples, mostly revolving around chat apps.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
i tried this but when i run my package manager console its give me this error
Error: The Package Manager Console requires PowerShell 2.0 runtime, which is not detected on this machine. Please install the PowerShell 2.0 from http://support.microsoft.com/kb/968929 and restart Visual Studio.
then i instal powershell but after that again same error
|
|
|
|
|
Well, you need to install PowerShell 2.0. I suggest you google that.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
i instal powershell but after that again same error
|
|
|
|
|
Doe this include the runtime version?
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
hi to all
i have a serious problem in vs 2012 when i want to working with vs 2012 i face every with this error
Microsoft visual studio 2012 has encountered a problem and needs to close
vs show me this error and restart itself automatically
any one can help me
thanks in advanced
|
|
|
|
|
Don't post the same question in multiple forums.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
I have a column of type decimal(18,0)?
What it can store?
|
|
|
|
|
The Decimal Data type can store exactly that, a decimal value.
Within your example the 18 means, the number of digits that can be stored and the 0 us the number of digits that can be stored to the right of the decimal point.
See http://www.w3schools.com/sql/sql_datatypes.asp[^]
Thanks,
|
|
|
|
|
In MySQL DB....
decimal(4,2) allows entering only a total of 4 digits. As you see in decimal(4,2), it means you can enter a total of 4 digits... out of which two digits are ment for keeping after the decimal point.
So, if you enter 100.0 in MySQL database, it will show an error like "Out of Range Value for column".
So, you can enter in this range only .... 00.00 to 99.99
|
|
|
|
|
I am attempting to write to a file using the following command, but I keep getting the
error: 'Argument 'SourceArray' cannot be converted to type 'String' '
For Each row As DataRow In dtErrors.Rows
writer.WriteLine(Join(row.ItemArray, ","))
Next
any idea why?
|
|
|
|
|
One of the values in the row.ItemArray isn't supported by VB's string conversion helper. If you're using .NET 4.0, try using the Join method from the String class[^] instead:
writer.WriteLine(String.Join(",", row.ItemArray));
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
getting error below after using sw.WriteLine(Join(row.ItemArray, ","))
Option Strict On disallows implicit conversions from '1-dimensional array of Object' to '1-dimensional array of String'
|
|
|
|
|
Did you try using the String.Join method?
writer.WriteLine(String.Join(",", row.ItemArray))
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
yes.here is my code
sw.WriteLine(String.Join(",", CType(row.ItemArray, String())))
ERROR:
"Unable to cast object of type 'System.Object[]' to type 'System.String[]'."
try this:
sw.WriteLine(Join(row.ItemArray, "|"))
ERROR:
"Argument 'SourceArray' cannot be converted to type 'String'."
row.ItemArray.Lenght=80
|
|
|
|
|
byka wrote: yes.here is my code
sw.WriteLine(String.Join(",", CType(row.ItemArray, String())))
Why have you added a CType call? In .NET 4.0, there is an overload of String.Join which takes an Object() array.
sw.WriteLine(String.Join(",", row.ItemArray))
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
because when I am not using CType I am getting this;
Option Strict On disallows implicit conversions from '1-dimensional array of Object' to '1-dimensional array of String'
|
|
|
|
|
So you're not using .NET 4.0?
Try this instead:
For Each row As DataRow In dtErrors.Rows
For i As Integer = 0 To row.ItemArray.Length - 1
If i <> 0 Then writer.Write(","c)
writer.Write(row.ItemArray(i))
Next
writer.WriteLine()
Next
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
The "Option Strict On disallows implicit conversions from '1-dimensional array of Object' to '1-dimensional array of String'" error suggests that you're not.
Try a different overload[^]:
sw.WriteLine(String.Join(",", row.ItemArray.AsEnumerable()))
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
error: 'AsEnumerable' is not a member of 'System.Array'
|
|
|
|
|
Add Imports System.Linq at the top of your code file, and make sure you project references the System.Core assembly.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I am using RadAsyncUpload which is defined like this
<telerik:RadAsyncUpload ID="FileUpload1" runat="server" Skin="Forest" Width="272px">
</telerik:RadAsyncUpload>
and i have a asp.net button defined like this
<asp:Button ID="btnUpload" Width="180px" Height="30px" runat="server" Text="Upload"
onclick="btnUpload_Click" />
Now it works and it uploads the file , but now i want to have a Progress Bar , so like other controls i did the following
<telerik:AjaxSetting AjaxControlID="btnUpload">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btnUpload" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="FileUpload1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="lblMessage" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
if i add this Ajax code , my Upload does not work , it give me the Following Error
Uncaught TypeError: Cannot read property 'id' of undefined
and chrome gives more info like
Uncaught TypeError: Cannot read property 'id' of undefined Telerik.Web.UI.WebResource.axd:2889
Telerik.Web.UI.RadAjaxControl._initializeRequest Telerik.Web.UI.WebResource.axd:2889
H.z.callBaseMethod Telerik.Web.UI.WebResource.axd:3
Telerik.Web.UI.RadAjaxManager._initializeRequest Telerik.Web.UI.WebResource.axd:3463
(anonymous function) Telerik.Web.UI.WebResource.axd:3
(anonymous function) Telerik.Web.UI.WebResource.axd:3
H.w.raiseEvent Telerik.Web.UI.WebResource.axd:3
e._onFormSubmit Telerik.Web.UI.WebResource.axd:9
e._doPostBack Telerik.Web.UI.WebResource.axd:9
(anonymous function) Telerik.Web.UI.WebResource.axd:3
onclick
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com
|
|
|
|
|
Hi
i am making a portal just like an ecommerce site having search panel at the left of the page i.e. in Master page and on the basis of selection of check boxes i want to populate result set on the content page i.e. to the right.
Now the problem is that i want to achieve it using json. Can anybody help me how to populate the child page using Json taking filter parameters from master page.
I am able to call a web service on checkbox click on the master page and have the result but how to display it in child page.
Thanks in Advance
Rohit
|
|
|
|
|
You can always access the controls of Child Page from Master Page .
So, just access that and put your data to those Child Controls .
If you want to do it from Code Behind, then this is very easy - Refer - How to access asp.net content page controls from master page [^].
If you want to do it in javaScript/jQuery , then just check what is the rendered html of those child controls in browser so that you can find their ids or else you can use ControlID.ClientID to select that control and then assign value to it.
Let me know it will help you or not.
|
|
|
|