Hi all, I want to call my old web service of dot net 2.0 but I have received error like "TargetInvocationException" while calling. Can anybody help in this situation ? Regards, M.Fasih Akbar
fasih_is_my_signature
Hi all, I want to call my old web service of dot net 2.0 but I have received error like "TargetInvocationException" while calling. Can anybody help in this situation ? Regards, M.Fasih Akbar
fasih_is_my_signature
Hi all, Please help with code and description that is there any way to call old style class library in Silverlight application? I know that there is "Silverlight Class Library" available in dot net 3.5 but in my situation I need to call Old Class library. Thanks in advance. M.Fasih Akbar(SE)
fasih_is_my_signature
Hi all, If anybody implemented "google Map" or "Virtual Map" in Dot Net 3.5 (in Silverlight Beta 2). Then Please help with code and description. Thanks in advance.
fasih_is_my_signature
Hi All! Plz help me programatically & theoraticallly that how we can make a dropdown list because it is not available in the current version of silverlight. Thanks in advance. M.Fasih
fasih_is_my_signature
Hi! My question is: How to get the columns data(values) of selected row in a datagrid of silverlight in C# code? My grid has multiple columns.I want to get the data of each column. Plz also guide me if my grid columns has controls (like "TextBlock" etc) then how to fetch data from such columns. Please help me with code and some description. Thanks in advance. M.Fasih
fasih_is_my_signature
modified on Monday, August 11, 2008 7:44 AM
see the following example : it may help u (run it in sql query analyser) CREATE TABLE #T1(id int,Name varchar(10)) insert into #T1 (id,Name) values (1,'Haris') insert into #T1 (id,Name) values (2,'Arshad') --select * from #T1 CREATE TABLE #T2(id int,Name varchar(5)) insert into #T2 (id,Name) values (1,'X') insert into #T2 (id,Name) values (2,'Y') insert into #T2 (id,Name) values (1,'Z') insert into #T2 (id,Name) values (1,'X') SELECT Id,Emp,X,Y,Z FROM ( SELECT #T1.Id,#T1.Name AS Emp,#T2.Name FROM #T1 INNER JOIN #T2 ON #T2.Id = #T1.Id ) s PIVOT ( COUNT(Name) FOR Name IN (X,Y,Z) ) p drop table #T1 drop table #T2
fasih_is_my_signature
Use this way to to do so: Declare @vError varchar(4000) Select @vError = convert( varchar,@@Error) IF @vError <> '0' GOTO ErrorHandler ErrorHandler: IF @vError = '0' BEGIN Commit Tran Return 0 -- On Success END Else BEGIN Rollback Tran Return @vError -- On failure END
fasih_is_my_signature
Dear Concerned, I want to create a property in my user control which i am creating in Web Control Library. I am using .Net 2003. My question is that how I can create a property that will contain a dropdown list & will have five values 1,2,3,4,5. The Programmer will be able to select one of these values at design time in his aspx page. Please help in the form of code. Thanks, Fasih
fasih_is_my_signature
Dear Concerned, I have a problem while running my project in Mozilla. The problem is when I select the file by using input file control of HTML 7 I press the save button,then my program is unable to get the selected file from the file control. I want to save the selected file in a new folder/directory in my current project directory.Directory to save file is "temp_images". The error comes : Could not find the file "C:\WINNT\system32\btn_tell0.gif" My code to copy the file is as follows:
string temp\_file = date+"\_"+time;
string newfile = temp\_file.ToString()+FileExtension;
System.IO.File.Copy(path\_from,Server.MapPath
(@"PhotoGalleryComponent\\temp\_images\\"+newfile));
Please guide me in the form of code to get the selected file & save in a new directory for mizilla. Thanks Fasih
fasih_is_my_signature
Dear Concerned, I have a problem while running my project in Mozilla. The problem is when I select the file by using input file control of HTML 7 I press the save button,then my program is unable to get the selected file from the file control. I want to save the selected file in a new folder/directory in my current project directory.Directory to save file is "temp_images". The error comes : Could not find the file "C:\WINNT\system32\btn_tell0.gif" My code to copy the file is as follows: string temp_file = date+"_"+time; string newfile = temp_file.ToString()+FileExtension; System.IO.File.Copy(path_from,Server.MapPath (@"PhotoGalleryComponent\temp_images\"+newfile)); Please guide me in the form of code to get the selected file & save in a new directory for mizilla. Thanks Fasih
fasih_is_my_signature
How we can use different DataGrid Events .for example ItemCommand,ItemDataBount etc. Please provide me guide & code to work with all the columns (i.e. Button Column,Template Column,Bound Column etc.) I need all code in ASP.NET (C#) Regards, Fasih
fasih_is_my_signature