-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: JayeshFromRajkot
Message 1 in Discussion

Hi,

i m jayesh from ahmedabad (Guajrat).
i m a student of mca here..

right now i m working on one project which provides blogger to write blog,

in one section of project i need to give searching for consumer/enduser 
He just give one keyword and michanism shld be like that as per his selection 
keyword match should be from stored data.

here i have taken xml file for storing various tables of blogs
for one user and under that multiple bloggers,

each user's personal info is stored in 'username.xml' and its dataset 
'username.xsd'
every user have one xml file to store their blogger's blog into it.

so it is clear that here two files are important (1) username.xml (2)different 
username having .xml extention.


Now coming to main point that:

when i m using code given below : the error messege: "input string was not in 
correct format "  

 
1]      int tablecount = ds.Tables.Count;       //total no of blogger tables 
here...
2]      for (int i = 0; i < tablecount; i++)    //for each table in dataset
3]          { 
4]           string File = ds.Tables[i].Rows[0][1].ToString();  //string file 
having tablename in stored xml.
5]           if(!file.Equals(""))
6]           {
7]             DataSet ds2 = new DataSet();
8]             ds2.ReadXml(xmlpath+file + ".xml");       // here file = 
C:\Inetpub\wwwroot\DotNetBlog1\xmldata\jayesh.xml
9]            int rows = ds2.Tables[file].Rows.Count;
10]           DataRow dr = ds2.Tables[file].Rows.Find(TextBox1.Text); //input 
string was not in correct format 
11]                
12]                if (dr != null)
13]                {
14]                      insertrow(dr); // this is method to display data to 
user
15]                   }
16]                   ds2.Dispose();
17]       }
18]       }



here in line 10 gives error that input string is not in correct format

is there any solution in this matter ???

thanks in advance....

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to