Hi , If you want to link 2 tables you can use dataset for that. In the dataset itself you will have to define that relationship . something like this custDS.Relations.Add("CustOrders", custDS.Tables["Customers"].Columns["CustID"], custDS.Tables["Orders"].Columns["CustID"]); I hope you are asking about this only. thanks
susree
Posts
-
WebService and Dataset -
How to set null values in dataset ?hi , thanks for a prompt reply. I am editing a DataTable ,In that datatable I am having one datacolumn of datatype Datetime .so when I am setting the value DBNull.Value it's throwing null exception. I have tried with setnull method of datarow also but that method is not accessible. can you please help me out ?
-
How to set null values in dataset ?I am having one column whose datatype is datetime . so how to set null values in that column ? when I am passing null values its throwing some error as it is getting initialised to'01/01001' can anyone help me out? thanks
-
Error while creating Xml from datasetHi , I am creating xml document from dataset. one of my data field is of data type datetime. so when I am converting it to xml it is getting conveted in to long date value ,but i don't want long date. for example my datetime field value is 8/29/2002 and it is getting converted into '2002-08-29T00:00:00.0000000+05:30' I hope I have explained my problem to some extent. can anybody help me out to solve this problem? thanks
-
java script problem while using in web application.thanks a lot. now it is working fine.Only thing is that when ever I am trying to use the back button of browser it is showing the alert message .which I don't want. what I think is while using the back button we are reloading the page so the alert message is coming. can you suggest something to help me out? thanks.
-
simple table/backround questionHi , I have tried it out its working fine for me . You can try with out using caps.
-
java script problem while using in web application.I have tried with using RegisterStartupScript("myUniqueKey1", script) method, what ever you have written but the alert message is not coming.It is only coming after refreshing the page(reloading the page). but I want to display the message before refreshing the page. I have tried with adding submit method in javascript ,but it is not working. can you suggest something? thanks
-
java script problem while using in web application.yes that's what I want. I am using c# as server side language. thanks
-
shopping carthi , I think database is the better and safe position to store. thanks.
-
java script problem while using in web application.Hi , I am using javascript for confirm dialog box in my web application. I want to do some server side execution and then if there is some error I want to display the confirm dialog box. but if I am adding it as button1.Attributes.Add("onClick", "return Confirm();"); on body load event .I am getting the message when ever I am clicking the button ,which I don't want . hope I explained my problem clearly. can any one help me out? thanks sangita
-
How to create xml document from dataset with null values ?Hi, I have solved my problem. Actually if I am passing null values in dataset xml is not creating the xml element. so instead of passing null I passed null string(""). After that it worked for me. thanks
-
How to create xml document from dataset with null values ?Hi , I want to create one xml document from a dataset where in some fields I am having null values. can any one help me out? thanks