Hi,
I have worked in various projects. In some projects GridView binding is done by DataTable and in other by IList(List<Clas sName>).
Most client projects they have followed this IList<> and internal projects ofcourse DataTable.
I want to know which is better and why?
User Profile
Collapse
-
GridView DataSource List(IList) or DataTable. Which is better?
-
Execute exe from asp.net
Hi,
I am executing an exe from asp.net web site. That exe sends mails and logs information in a text file in D drive. I am able to execute that exe from web site and mails are being triggered. But i am unable to log information in that text file. I am getting Unauthorized exception. Since i am executing exe from asp.net i thought it will execute under aspnet account thats why i am unable to log. And i have changed my code to impersonate... -
Hi,
I have tried with Deflate also. While testing, when i upload a 11MB file, its taking 15MB.... -
GZip ASP.NET 2.0
Hi,
Im my application, users will upload files to server. I want to impliment GZip to compress files.
But the compressed file is consuming more memory than actual file size.
What might be the problem?
Here is my code
...Code:protected void btnCompress_Click(object sender, EventArgs e) { if (fUpload.PostedFile == null) { lblMessage.Text -
WebService Transaction Error in C#.Net 2.0
Hi,
I am using Transaction in Web Method fro Deleting a record from DB. I am getting following error.
Network access for Distributed Transaction Manager (MSDTC) has been disabled. Please enable DTC for network access in the security configuration for MSDTC using the Component Services Administrative tool.
My code is
...Code:[WebMethod(TransactionOption=TransactionOption.RequiresNew)]
Last edited by Curtis Rutland; Aug 16 '08, 04:04 PM. Reason: Added code tags -- Please use the # button -
GridView in ModalDialog +asp.net
Hi,
I am creating a webpage having GridView. In GridView i have a column Accolades, a link button column. On clicking of Accolades, a modal window is opened. That modal window has a gridview, where i am displaying all uploaded files. This GridView first column is a template column, having link button, text of the button will be FileName. On clicking of file name file should be opened....Leave a comment:
-
GridView in ModalDialog +C# +ASP.NET
Hi,
I am creating a webpage having GridView. In GridView i have a column Accolades, a link button column. On clicking of Accolades, a modal window is opened. That modal window has a gridview, where i am displaying all uploaded files. This GridView first column is a template column, having link button, text of the button will be FileName. On clicking of file name file should be opened. For that I wrote a method to open the file. Its... -
-
Hi Plater,
We have microsoft office communicator. If any body, sets out of office, it gets reflected in communicator. How this is possible, if credentilas are required to know the status....Leave a comment:
-
Get Outlook Out of Office status using C#
I am working in a web application where i am sending mails to employees. I have to send mails to persons whose outlook out of office is set to false. And I need to know one's out of office status. For that I used the following code. By using this I am getting my outlook out of office status. But how can I get other employees Out of office staus? My code is
...Code:OutLook.NameSpace oNS; OutLook.Stores oStores; //OutLook.Store -
Thanks a lot. Now i can pull active direcory info.
But one more thing i need to get one's out of office status. How can get this through c#....Leave a comment:
-
My apologies for unclear description.
Here is the thing what exactly i want.
I need to get all the members of DistributionLis t and details of employee based on his id. For this, I am using LDAP. I am getting few things. Here is my code.
DirectorySearch er search;
DirectoryEntry entry;
SearchResult result;
String mailid = "";...Leave a comment:
-
Active directory in c#
Hi,
I want to get full name and city from outlook properties. For this i used active directory. I am getting fullname but unable to get city. Here is my code
System.Director yServices.Direc toryEntry ADEntry = new System.Director yServices.Direc toryEntry("WinN T://Domain/" + userid);
string FullName = ADEntry.Propert ies["FullName"].Value.ToString ();
Any help appreciated.... -
Thanks! I didn't know about java script. I saw few JS animations and i thought we can implement in windows appl since it is client side and windows appl is desktop. I thought both are same. Any way i came to know that javascript runs in web browser. Once again thanks.Leave a comment:
-
C#.Net Windows application & JavaScript
Hi,
Can we use javascript functions in C#.Net windows application? -
Ok. I have developed a game in .net windows appl. I want to execute that exe globally, in all systems. Hw can i make it?Leave a comment:
-
.Net framework SDK
Hi,
I read that exe n dll save info in MSIL and you need .Net framework SDK to execute it (to convert MSIL to binary code). Now, if i am creating a windows application and i am using that exe in a system where i dont have .Net SDK, whether it will execute or not. Is .Net SDK is req for execution? Hw abt games created in .net windows application should run without even SDK. -
Analog Clock on Windows Form by Paint in C#.Net2003
Hi,
I am creating an analog clock on my form by paint method. By default it is displaying at top left corner of my form. i wanted to put that clock wherever i want, means i want to display that clock at particular location. How can i use paint to display at particular location -
-
Hi Plater,
Nice method. It replaced my lines of coding to few lines.
I understood the method that you are looking for each control and control's name against all controls in your form. But, i didn't get recurse and has children part. This block of code
if ((Recurse) & (c.HasChildren) )
{
Control temp=Find(c, ControlName, Recurse);
if (temp != null)
{...Leave a comment:
No activity results to display
Show More
Leave a comment: