How do I validate a xml document with xsd using XmlDataDocument in .Net 4 ?
I use this class with a dataset, and the .net4 show an obsolete class.
Thanks by advance.
View Complete Post
Can anyone give me suggestions on how to implement the following requirement?
1. A online wizard (step-by step operation) processes user requests across several ASP.NET pages. The session data is stored in memory until the user submits the request. Once the request is submitted, a XML file is created and the data are passed to XML.
# Case Study: The parent page has a "select" button. Click "select" will pop up a child page. The users can select 1000+ items from a datagrid in the child page. Once the user clicks "confirm", the selected items in the child page will be populated to the selected item gridveiw in the parent page. The user can keep selecting more in the child page and the selected items will be appended to the gridview in the parent page.
- What's the best way to extract strings from a text file and convert to a dataset in memory and then present it in a datagrid in UI?
- What's the best way to persist and manipulate a large dataset across pages? Session? or ViewState? Can it be accomplished by LINQ?
The app doesn't interact with a DB. Once the request is submitted, it will convert the in memory data to a XML file. What technology can be used to accomplished this?&nb
I have searched on net and even i worked on 2 huge shipping projects.
Everywhere i found that while binding data to control use dataset but when we save, they recommend use command (use generic collection and create command object with store procedure) why not we use dataset as in .NET 2.0 it is improved lot and data adapter has new feature batchupdatesize.
why we need to create property page which maps to all column in a database.
E.g. if i have employee table with empid and empname in database then i use to create emp.cs with properties of empid and empname and use same properties for saving. If i use these properties for validation in business rule then no problem. But why we use them in saving for creating command object.
I follow the tutorial and create DAL with Dataset. I created a Table Adapter with many column, but when i Call a simple Get for 2 column only. The system display 2 column and the rest column with empty data.
My question is that will this affect the performance? because i only need 2 column.
example: Table with 40 column define in Dataset in DAL. I have GetMember from Dataset with 40 column, some request only 1 column (with 39 empty), some request 22 column (with 18 empty column). Will this affact the performance?
Should i create a seperate DatasetAllColumn, Dataset1Column, Dataset22Column ?? so system only return exact column i need. and hofully the performance is optimized to it best.
i have a stored procedure which returns three tables to a dataset ..... now i need to merge all three tables to a single table from d same dataset
like dataset1 has table1 table2 and table3 .... i want all the three tabels to be merged into dataset1 itself .... instead of three diffrent tables so that i can show all three table data in a single datagrid as a compact data and combination of 3 tables from d single dataset.....
can some1 help me please.....
I've searched for several hours and haven't come up with a reference - or even many discussions - of how to go about validating Japanese names, addresses, etc. When I lived in Japan websites, atm's etc. required such info to be entered with the roman alphabet but I've seen some websites that are allowing Kanji/Hiragana/Katakana. I haven't tested many of them for validation but one that I did test (after looking at the page source and discovering no client-side validation) allowed me to put this in the name field: J*=123*go^ Neat!
Any pointers/references? Thanks
in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..
HttpContext.Current.Response.ContentType = "application/msword";
HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
HttpContext.Current.Response.Charset = "utf-8";
string strFileName = "Details" + ".doc";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
StringBuilder strHTMLContent = new StringBuilder();
string strMessage = " ";
DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
foreach (DataRowView row1 in abstractview)
strMessage += "<table border='1' cellspacing='0' cellpadding='5' width
I am using ASP.NET and C# 2.0 and working on web application.
I want to embed a word document inside a excel sheet.
How to embed word document inside excel.