|
System.Data.DataSet dsEntityReturned;
System.Data.DataTable dtEntityReturned;
public System.Data.DataSet ToDataSet(ArrayList arrayList)
{
dsEntityReturned = new System.Data.DataSet();
int i=0;
foreach (object obj in arrayList)
{
dtEntityReturned = new System.Data.DataTable();
dsEntityReturned.Tables.Add(dtEntityReturned);
dsEntityReturned.Tables[i].Columns.Add("Region", System.Type.GetType("System.Object"));
dsEntityReturned.Tables[i].Columns.Add("dat", System.Type.GetType("System.Object"));
dsEntityReturned.Tables[i].Columns.Add("rs_date", System.Type.GetType("System.Object"));
System.Data.DataRow rows = dsEntityReturned.Tables[i].NewRow();
rows[0].ItemArray = new object[] { obj }; //error comes here
dsEntityReturned.Tables[i].Rows.Add(rows);
i++;
}
return dsEntityReturned;
}
Can anyone tell me how the problem can be solved?
Am tryin to convert an array list to dataset
each item in arraylist is a multidimensional array and the arraylist contains more than one item
Regards,
Arun.
|
|
|
|
|
please can anyone tell me ...what is the problem here?
Regards,
Arun.
|
|
|
|
|
Hello everybody
I need to read the inbox mail from my application how can i read
i have completed sending its easy but i have no idea of reading mail
Best Regards,
Chetan Patel
|
|
|
|
|
So you want to access your e-mail accounts and read the e-mails in them using asp.net??
Why?
We are not a Code Charity
|
|
|
|
|
I have code now ok don't think yourself smart
Best Regards,
Chetan Patel
|
|
|
|
|
I don't think Im smart, you just posted a silly question
We are not a Code Charity
|
|
|
|
|
Don't be rude. You'll get yourself ignored in the future.
|
|
|
|
|
hai friends
in a page i have two iframes namely iframe1 and iframe2
iframe1 has a default.aspx page as srouce and
iframe2 has a default2.aspx page as srouce
i transfered data from iframe1 to iframe2 thru java script
in default2.aspx page ihave a dropdown list box
i assigned some text to this drop down list thru javascript
the code is
parent.frames("iframe1").document.forms("form2").item("DropDownList1").value = sometext;
the is already a item in dropdownlist
now here i want to raise the "selectedindexchanged" event of dropdownlist
plz help me
thanks in advance
vijay
|
|
|
|
|
do you mean you want to know how to call an event i.e selectedindexchanged?
We are not a Code Charity
|
|
|
|
|
How to store audio files in sqlserver 2000? i want to store all mp3 files in sqlserver and want to retrieve them from the database , so that i can play them one by one , can anyone tell me the code for this task ? please suggest me the logic or any code for this help me out
|
|
|
|
|
As audio file is big enough you can store as VARBINARY type which stores as binary data if VARBINARY is available in SQL SERVER 2000(VARBINARy is avaiable in sql server 2005). As I am working using sql server 2005 please check what is equivalent to VARBINARY of SQl server 2005 in SQL server 2000.
Thanks,
Arindam D Tewary
|
|
|
|
|
Why not store the address for the music file in the database and then just retrive that, therefore you wont database wont bloat in size with loads of music files
We are not a Code Charity
|
|
|
|
|
Although i would recommend u not to store audio files in sql, rather u should store them in ur file system, I guess you need to store them in sql as BLOB type ie in a byte stream. While fetching it from sql again u have to convert again this byte stream to ur suitable format(audio).
|
|
|
|
|
|
what ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
LMAO again. This guy thought he was going to get the code from his previous question...
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|
|
Oh no I jus voted this question as Good accidently! what have I done!
This guy needs to be removed from the forum
We are not a Code Charity
|
|
|
|
|
Yes he does.
I wonder why some people lacking any knowledge in the programming field insist on trying to do it - and end up here posting before reading any rules.
Maybe we need pre-requisites to join
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
|
|
|
|
|
Pity there is no such thing as an idiot filter. Unless you plan on creating one
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|
|
I would, but I cant think of the correct code to write, maybe I will post up and ask for the code
We are not a Code Charity
|
|
|
|
|
No worries, i know what to write. Should i email it tou you then? haha
"Sex is not the answer, it's the question and the answer is yes"
|
|
|
|
|
pls tell me the source code of login and sign out as well as hotel reservation in asp.net in easy way.
|
|
|
|
|
no, read my signature
try writing some code yourself, try these links
http://www.google.co.uk/search?hl=en&q=asp.net+login&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
Sounds like a rentacoder job gone wrong. If you have any decency, just tell your client you don't know how to do the job.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
This is the easyiest code !!!
(Y oZ oN ‚ (R oS oN rÇ poT oN
(U oV
oN oW oN rß po[ oL
Thanks,
Arindam D Tewary
|
|
|
|