Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
89% Quality Score
Upvotes Received
9
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
~82.5K People Reached
About Me

Vuyiswa Junius Maseko is a programmer for Dotnetfunda in “DotNetFunda" in India. Vuyiswa has been developing for 9 years now. his major strength are C# 1.1,2.0,3.0,3.5 and vb.net and sql and his interest are in asp.net, c#, smart clients,…

Interests
Soccer and Food
Favorite Tags

196 Posted Topics

Member Avatar for "ICode"

You need a SMS gateway, they are not free, the is clickatell.com , they will expose a web service and you will consume a webservice that has methods to send an sms, but you need to buy the sms bundles

Member Avatar for anand9796
0
2K
Member Avatar for vuyiswamb

Good Day All i have a ListView that is defined in a Xamarin Form. i want this ListView to be updated with the Data from the DB every 5 seconds. In a Non Mobile environment , we have a Windows Service , which is a long running Service. but now …

0
702
Member Avatar for bankerrajendra

hi bankerrajendra First you have to Create a Storedprocure that counts the Records that match the username and password, [CODE]Create Procedure prclogin_check ( @User_name varchar(20), @U_Password varchar(23), @Results int Output ) Set @Results = (Select count(*) from User_Table where User_name =@User_name and U_Password = @U_Password)[/CODE] And after you are done …

Member Avatar for Genc_1
0
3K
Member Avatar for edcaryl

First you must buy a Book, i think every .NET Books that i have ever read they cover that part . [URL="http://www.codeproject.com/KB/cs/NTier.aspx"]http://www.codeproject.com/KB/cs/NTier.aspx[/URL] [URL="http://www.codeproject.com/KB/cs/N-Tier22.aspx"]http://www.codeproject.com/KB/cs/N-Tier22.aspx[/URL] [URL="http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx"]http://www.codeproject.com/KB/vb/N-Tier_Application_VB.aspx[/URL] Thank you

Member Avatar for vinod_10
0
7K
Member Avatar for vuyiswamb

Good Day all i am using Navigation service as depicted below <Frame x:Name="_home" NavigationUIVisibility="Hidden" HorizontalAlignment="Stretch" Width="2749" Margin="0,12,0,0" /> and i navigate to the Page like this (Application.Current.MainWindow.FindName("_home") as Frame).Source = new Uri("/F1.xaml", UriKind.Relative); which work fine. now in the Navigated page, lets just say a page shown in the Frame,there …

Member Avatar for Santanu.Das
0
193
Member Avatar for anujtripathi
Member Avatar for gouri kundu
-1
2K
Member Avatar for kgenn

You are using too much Wizards that is why your code confuses you. Look at what Sheo did in his article [URL="http://www.dotnetfunda.com/articles/article18.aspx"]http://www.dotnetfunda.com/articles/article18.aspx[/URL]

Member Avatar for creiglee
0
559
Member Avatar for vuyiswamb

Good Day All I hope someone can help me. i have a Asp.net web application that is running on 4.51 , When the User login Successfully i return an Object that has info for that user and store this in a Static object. Now my problem is the i User …

Member Avatar for mtyide
0
130
Member Avatar for vuyiswamb

Good Day All i have an asp.net 4.5 application. i have hosted it on IIS 7.5 in Windows Server 2008. My application has different folders within it and some are for JS and some are for CSS and etc.. and they are inside a directory named "Shared" in my problem …

Member Avatar for JorgeM
0
961
Member Avatar for vuyiswamb

Good Day all i am reluctantly maintaining a Classic Asp application that will be re-written in few months to come. i have an issue where i have a Code like this if(document.frmEntry.optMethod != "undefined") { if (document.frmEntry.optMethod.selectedIndex == 0) { strPrompt=strPrompt+'Please specify the Valuation Method\n'; if ( objFocus == null …

Member Avatar for Airshow
0
173
Member Avatar for VRamone

First of all what you need to do, when the User logs in, Carry the Username in the Session variable like this //if the user is Successfully logged in [CODE]Session["Username"] = txtusername.text; [/CODE] and in all your other pages , you will probably have a Label that will Display the …

Member Avatar for mahak.butt2
0
2K
Member Avatar for vuyiswamb

Good Day All i am opening a Popup and i want to bind the "onbeforeunload" to the popup that if someone clicks on the close button in the window or close button in the page , the event should fire a javascript function that is on the page that opened …

Member Avatar for Troy III
0
252
Member Avatar for Adzz

It is Simple. Add the grid and the Button inside an Update Panel and every time you click the Button you will not loose the values of the controls that you created dynamically. kind Regards Vuyiswa Maseko

Member Avatar for vivek07088
0
3K
Member Avatar for vuyiswamb

Its a Requiredment, i have a asmx service that returns a list<dataset> and the schema defination keeps on repeating foreach dataset in the List. How can i prevent. Thanks

Member Avatar for LastMitch
0
202
Member Avatar for vuyiswamb

Good Day i have been hit by this error this night. I have a UDF defined like this CREATE FUNCTION [dbo].[funcFormatPercentages_Extended_numeric] ( -- Add the parameters for the function here @parPercentageToBeFormatted nvarchar(20) ) RETURNS nvarchar(20) AS BEGIN RETURN CAST(CAST(convert(float,@parPercentageToBeFormatted)* 100 AS decimal(4, 1)) AS nvarchar(5)) + N'%' END so i …

Member Avatar for pritaeas
0
1K
Member Avatar for S2009

Most of the Paid domains give this for free in their Control Panels. or you can try this [code] protected void Page_Load(object sender, EventArgs e) { Application.Lock(); if(Application["HitCount"]!=null) { Application["HitCount"]=(int)Application["HitCount"]+1; } else { Application["HitCount"] =1; } Application.UnLock(); lblInfo.Text="The page has been accessed ("+Application["HitCount"].ToString()+") times"; }[/code] or this might Help [URL="http://www.stardeveloper.com/articles/display.html?article=2002102501&page=1"] …

Member Avatar for mohan221
0
2K
Member Avatar for vuyiswamb

Good Day All I imported data into a Ms Access 2013 from SQL and all the data is there. I created a Query and also created a report that will use the Query. So the Query returns all the data. There are around 590 000 records that needs to be …

Member Avatar for adam_k
0
155
Member Avatar for vuyiswamb

Good Day All i am building Kinect Application, obviously using WPF.. Now i have a problem with Navigation. I have a Window and others are Pages that will use a Frame in a Window. So the Window has Button to Main to the "Menu" so the Page that contains Menu's …

Member Avatar for Ketsuekiame
0
144
Member Avatar for vuyiswamb

Good Day All I have a Kinect Application , i am having trouble with navigation , so i dont like the creation of object of windows everytime i nagivate from one to another page. so i converted all other windows to WPF pages and created only one window wich will …

0
76
Member Avatar for vuyiswamb

Good Evening Guys, Today its my Birthaday. I have a If statement that i use to return an integer that will mean Success or Failure , now am testing for that integer in my ASP.NET 2.0 Page lke this [CODE] if (Res == 1) { Response.Write("<script> alert('You have Successfully Registred');</script>"); …

Member Avatar for abhinavranjan19
0
173
Member Avatar for catherine sea

I think you are not doing this correctly. i haven't touched ole for long now, but change your code to look like this string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Catherine\\Documents\\LearningCSharp.accdb"; OleDbConnection myConnection = new OleDbConnection(connectionString); myConnection.Open(); int employeeNumber = int.Parse(textBox1.Text); string name = textBox2.Text; string address = textBox3.Text; string query = "update …

Member Avatar for carrzkiss
0
9K
Member Avatar for vuyiswamb

Good Day Guys This is an MVC , JQuery, KNockout.js Question. i have a Controller Action that is being Defined like this [HttpGet] public JsonResult SearchCars(string searchString) { string[] searchTerms = (searchString).ToUpper().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); string[] searchTermSounds = new string[searchTerms.Length]; var list = (from r in Cache.CarSearchItems …

Member Avatar for stbuchok
0
259
Member Avatar for vuyiswamb

I have a Counter on a textbox done in Javascript like twitter that counts the text entered. Now It works fine. The Textboxes get field with data and after that i want to calculate the renmaining Text. i have a code for that after i bind the textbox. So i …

0
79
Member Avatar for vuyiswamb

Good Day ALL I have tried something and i am not sure what is the problem. i have inherited the an asp.net app. So i want to add the custom Error Handling. I know there are two methods i can do this. 1) Web Config 2)Global.asa So i started with …

Member Avatar for geniusvishal
0
181
Member Avatar for vuyiswamb

Good Day Fellows i have a Dynamic Questionnaire that is created using dynamic data from the Database. My data in the Database contains the fields like [B]QuestionID[/B] - Primary key [B]Question[/B] - The Question Text [B]Answer[/B] - The Answer [B]Required [/B]- This is a Validation , i used this to …

Member Avatar for vuyiswamb
0
269
Member Avatar for vuyiswamb

Good Day All My Question goes as follows. I have a DataLayer in a Form of a WCF service and it is being consumed by a Business Layer that is also in a Form of a WCF Service and it is being consumed by a Silverlight Application. Now i have …

0
71
Member Avatar for vuyiswamb

Good Day All i have a Jquery code defined like this [CODE] // Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } }); [/CODE] and i am creating a textbox on fly and after creating it i bind data to …

Member Avatar for stbuchok
0
350
Member Avatar for vuyiswamb

Good Day All I have a Dynaically created a Textbox and i have a Dynamically created DIV. So what i want to do is to Find the Position of the Textbox and and Dynamically when this textbox is created , please a Div just next to this textbox. So my …

Member Avatar for vuyiswamb
0
260
Member Avatar for vuyiswamb

Good Day All i am creating Textboxes at Runtime with something like this [CODE]Dim cnt As New TextBox cnt.ID = "cont_" & x If multiline Then cnt.TextMode = TextBoxMode.MultiLine End If [/CODE] These are dynamically created fields. so what i want to do is to use this following JQuery on …

Member Avatar for vuyiswamb
0
731
Member Avatar for vuyiswamb

Good Day All I have a File Format Defined like this [QUOTE]9.0 4 1 SQLCHAR 0 100 "," 0 ExtraField "" 2 SQLCHAR 0 100 "," 1 Descr SQL_Latin1_General_CP1_CI_AS 3 SQLCHAR 0 100 "," 2 ABREV SQL_Latin1_General_CP1_CI_AS [/QUOTE] and i use it like this [CODE]BULK INSERT dbo.TBL_CMPS FROM 'C:\\UNISA_IMPORT\\Final_Import\\Campuses.csv' WITH …

Member Avatar for DCS09
0
351
Member Avatar for vuyiswamb

hi its My birthday today, am not Writting code :);) :D :D :twisted: :cool: :icon_lol:

Member Avatar for vuyiswamb
1
237
Member Avatar for vuyiswamb

Good Morining All i have an asp.net hosted in IIS. that uses the Com library "Microsoft Word 14.0 Object Library". I am using this to convert the word Document to PDF, on my machine it works. I have Office 2010 on my machine and on the server we have installed …

0
83
Member Avatar for vuyiswamb

Good Evening All I have Silverlight application and it is rendering better(not Good) in IE and it renders differently from different browsers, like IE8,Firefox 3, 4, and worse in Chrome. i tried different examples , i used one example that was good , but the moment i view this in …

Member Avatar for stbuchok
0
119
Member Avatar for vuyiswamb

Good Day All i have a IIS server. This IIS Server is publicly available , so i have hosted some WCF services in that server , i can access the URL from outside my network, but i can use it. the url that i access it with is [B][url]http://196.XX.XXX.XXX:8095/datalayer/[/url] [/B] …

Member Avatar for vuyiswamb
0
159
Member Avatar for vuyiswamb

Good Day All i have a Silverlight application that i have written. Tested and it works well in our internal network. Now in my company we have another server, so our Network guys open a port so that someone who is not in our network can view the website. Now …

Member Avatar for vuyiswamb
0
172
Member Avatar for vuyiswamb

hi all I am using a third party gateway. The third party gateway does not support query-string , so i will need to post the form to pass the values to the given URL and another thing is that they don't expose the web-services so we need to use their …

Member Avatar for vuyiswamb
0
900
Member Avatar for vuyiswamb

Every time i am about to post a thread i get an answer while typing the message, maybe i explain it to myself better when i write it , OK so if you have seen this post it means i have not find an answer :) I have a Silverlight …

Member Avatar for Ramesh S
0
345
Member Avatar for vuyiswamb

Good Day all i have a SQL Job and i want to change the times in the job programmatically from C#. The application that will change the Job Settings will be accessing the job remotely. Is is possible ? Thanks

Member Avatar for crishlay
0
69
Member Avatar for vuyiswamb

Good Evening All I want to create a unique value for my User in Silverlight and access this value on the asp.net page that is part of the silverlight website. So i cant use cookies because they wont work and i cant do the client site cookie thing because it …

Member Avatar for stbuchok
0
112
Member Avatar for vuyiswamb

Good Day All I am accessing an FDB Database with a WCF service. locally it was working fine, but now i want to access the service that is stting on a remote location. my Connection string looks like this [CODE] <add name="FDBConnectionString" connectionString="User=SYSDBA;Password=masterkey;Database=\\192.168.03.14\Database\SCHOOL.fdb;DataSource=192.168.03.14; Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true; MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"/>[/CODE] i get …

Member Avatar for vuyiswamb
0
8K
Member Avatar for vuyiswamb

Good Day All I have a Generic function that in my Static Class. i have this Class in Silverlight [CODE] public static BitmapSource LoadImage(Byte[] imageBytes) { BitmapImage bmpImage = new BitmapImage(); MemoryStream mystream = new MemoryStream(imageBytes); bmpImage.SetSource(mystream); return bmpImage; }[/CODE] Now this looked fine for me until i had to …

Member Avatar for vuyiswamb
0
2K
Member Avatar for vuyiswamb

Good Evening All i have another Question. i have created a Function that creates a Cookie with a Domain like this [CODE]private static void SetCookieExtedend(String key, String value, String path) { DateTime expires = DateTime.UtcNow + TimeSpan.FromDays(2000); bool secure = false; String domain = "Ecash"; StringBuilder cookie = new StringBuilder(); …

Member Avatar for vuyiswamb
0
109
Member Avatar for vuyiswamb

i have an interesting question for you guys. [CODE] SELECT S.SCHOOLID AS [SCHOOLID],S.SCHOOLNAME AS [SCHOOLNAME],SP.PHOTO AS [PHOTO] FROM SCHOOLPHOTO SP INNER JOIN SCHOOL S ON SP.SCHOOLID = SP.SCHOOLID WHERE S.SCHOOLID IN (SELECT SCHOOLID FROM #SCHOOLS) [/CODE] the Photo Field is an Image Datatype Field, i now you can use them …

Member Avatar for vuyiswamb
0
113
Member Avatar for vuyiswamb

Good Day All I have another question. I have a Silverlight application and in one of the Silverlight pages i am hosting an Asp.net Page using a RadhtmlContainer(Telerik). I created a Cookie in Silverlight like this [CODE] public static void SetCookie(string key, string value) { // string oldCookie = HtmlPage.Document.GetProperty("cookie") …

Member Avatar for aspproject
0
272
Member Avatar for vuyiswamb

Good Day All I have an asp.net project that does the CC handling for me and if the cc comes from a certain application it redirects to the page in a certain application. In that Project there is a page named “Buycredit” That contains a Page_load that has this [CODE] …

Member Avatar for vuyiswamb
0
117
Member Avatar for vuyiswamb

Good Day All i am having a strange error here. I am using Silverlight and i am accessing an Asp.net page inside a RadHtmlContainer. i am doing an Insert that will insert only two records and i am calling a Service that i tested independently with a wcftest client and …

0
66
Member Avatar for vuyiswamb

Good Dal All i have this aspx page [CODE]<%@ Page Language="C#" Async="true" Trace="true" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form runat="server" method="post" action="https://www.vcs.co.za/vvonline/ccform.asp" > <asp:HiddenField ID="p1" Value="4635" runat="server" /> <asp:HiddenField ID="p2" Value="2" runat="server" /> <asp:HiddenField ID="p3" Value="Some …

0
52
Member Avatar for Sarah Lee

try this [CODE] if (ds.Tables[0].Rows.Count > 0) { //bind the Data } else { lblMessage.Text = "No Data to Display"; }[/CODE] a gridview is not visible when there no data, so you need to add a label that will display the message.

Member Avatar for egrullard
1
2K
Member Avatar for vuyiswamb

Good Day All i have a a WCF service , that is checking the login details and its working fine as it should, i decided to add another Function that will display data. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace DAL { // NOTE: …

Member Avatar for tinymark
0
113
Member Avatar for vuyiswamb

I see a lot of people have been asking this question, some was because of the if postback check , but mine is different. i am using AjaxModalExtender to show my popup on the server side. this is my markup [code] <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage.aspx.cs" Inherits="PopTester.TestPage" %> <%@ Register …

0
98

The End.