To pass data in-between forms, u have several options. To get a proper overview, search for state management in MSDN. For immediate help:
string name = "Pei Sun";
Arraylist nickNames = new Arraylist(3);
DataSet ds = new DataSet();
//1. You can use HttpCookie which represents a cookie stored on the client's machine.
HttpCookie myData = new HttpCookie("CookieName");
//add ds in the same way.
//Then add the cookie to the HttpSession.Cookies collection
//And thats it. You can redirect to your new page.
Can anyone tell me how to print a datagrid in a window application using C#. Iam having a very big grid. first it should be shown to a printpreview page and from there it has to be printed. Help me to get the entire grid to a printpreview page.
Hi, Before master pages we were able to use indexing server to add search capabilities to a website and it worked a treat. To improve the ranking of a particular page we could just add meta tags to the page with what we would think the user would enter as search text. Now with masterpages, we can't add meta tags to the child pages as the head tags are in the masterpage file. Does anyone know how to improve the ranking of a page when using master pages? Alternatively, does anyone know of any other product that overcomes my problem?
Now with masterpages, we can't add meta tags to the child pages as the head tags are in the masterpage file.
I think you can add the meta tag from the content page with one of the following options:
+ Use the Page.Header property in code.
+ Place a meta tag which is marked with the runat="server", you then can expose it via a public property in the master page so that you can access it from the content page.
+ Place a contentplaceholder in the head template and you can specify the meta tag from the content page.
some of the diff b/w .net1.1 and 2.0 are
good no of controls with extended functionality
navigational layout, site map, integration of main page and content page, grid view, and its functionality,...so many things i found developer can reduce his time by using 2.o
Can anyone suggest an approach on how to work seamlessly with typed DataSets and TableAdapters when preparing a DAL for use with both PostGres and MS SQL servers, if there is such a way? I'm in a situation where support for both postgres and MS SQL is needed, but i don't want to give up the beauty of typed datasets.