?
Solved

How to concatenate selected item from a grid with the .xml extension?

Posted on 2011-04-20
2
Medium Priority
?
277 Views
Last Modified: 2012-05-11
Hello,

I'm selecting a country from a list on as grid and would like to save a file with the name of the country selected.

How to i modify the code below to include C1truedbgrid.selected.items.value instead of hard cocing the country name? I am using vb.bet (vs 2010)

LinkerNation.save(Application.StartupPath + "\Belgium.xml")

Thanks,

Victor


0
Comment
Question by:vcharles
2 Comments
 
LVL 11

Accepted Solution

by:
srikanthreddyn143 earned 2000 total points
ID: 35434047
LinkerNation.save(Application.StartupPath + "\" + C1truedbgrid.selected.items.value.tostring() +".xml")

Assuming C1truedbgrid.selected.items.value returns correct value with out any errors.
0
 

Author Comment

by:vcharles
ID: 35434392
Thank You.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question