How to get datasource name dynamically from .txt / .xml file using C#.net 2.0 with Mysql 5.0
I am using C#.Net 2.0 With MySql 5.0.
I created a project and it works fine in my machine.
But problem occurs when i try to run the project other than my machine. I wrote datasource=mysystem name in connection string.
Is it possible to get datasource name dynamically from a text file (*.txt) or from .xml file for MySql.Regards,Tamizhselvi
Add an App.Config file to your project and you can drop a connection string in there like so: <connectionStrings> <add name="PICK A NAME" connectionString="YOUR CONNECTION STRING"/>...

Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi
My requirement is
I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0.
once i read the all fileds and take that mobile number.using tat mobile number i need to send sms .after sending sms i shuld change status as 1
How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link.
and also provide the how to update the status field im csv file
Thank
ssandhya
To send SMS, you need some third party SMS providers. if you consul...

use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At http://www.WebLogicArts.com/DemoList.aspx there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...

XSLT to transform XML into XML in VB.NET
Hello. I need some help with XSLT. We have an XML coming in and I need to transform this XML to a format that we use using XSLT so that future changes in the incoming file are easy to change in the XSLT rather than changing the VB code.This is the sample input file <MemberReports xsi:schemaLocation="http://developreports/myreport/v1/report.xsd">
<DateCreated>2006-04-15</DateCreated>
<MemberReport>
<MemberOrganization>MemberOrganization</ReportingOrganization>
<Member>
<Name>
...

how to get values from xml tags
Hi, Iam having one Xml file in my computer,in that xml there are so many tags are there now i want to get that tags values how to do in C#
Hi, Post a small sample xml file and someone will show you how to access the nodes with C# and xpath. If I was helpful, please mark "answered" so I can get credit. Thanks!
Hi,
my xml code is like this
<Company>
<Dept>
<MemberId>123</MemberId>
<City>abc</City>
</Dept>
</Company>
here i want to get member id and city values
Hi - You want...

Problems writing to an XML file
I'm brand new to using XML (in fact this is my first project), so bear with me, I may need a little hand-holding.
I'm trying to create a page which simply adds data to an existing xml file. Ultimately it will add the data from a form, but to keep things simple, I've been simply using pre-defined values.
Originally I was able to get the script to write the xml exactly as I needed, however it would simply overwrite the existing file every time it was accessed. This is unacceptable, as it will be used to add data to one file, sort of like a mini database. So after much pain and gnashi...

HTTP XML POST .NET
Hello,I am using the following code to HTTP post an xml file to third party server. Now I believe I am able to send the file correctly but I need to pass a HTML input field value of type hidden as well with it. If I use a simple HTML interface as shown below I am successful:<form enctype="multipart/form-data" action="https://myurl" method="POST"> <input type="hidden" name="MyFieldName" value="myvalue"> <input type="file" name="Myfile"> <br/> <input type="submit"></form>I want to simulate the exact thing in my .NET code. I am confuse...

converting to vb.net from c#.net authorize.net
authorize.net offered me some sample code when I signed up with them the only problem is the sample code is in c#.net but my page that they type all of their credit card into is vb.net
<code><%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<script language="C#" runat="server">
void Page_Load(Object Src, EventArgs E) {
myPage.Text = readHtmlPage("https://certification.authorize.net/gateway/transact.dll");
}
private String readHtmlPage(string url)
{
...

XMl to XML
Hello,
I retrieved an XML from the dataset which retrieves data from the table in the database. I need to present the data in a different structure. Is XSLT the way or are there any other options.
please let me know.
Thanks!!
Yes
XSLT is a good choice to convert xml file to other forms.
You can take a look at XSLT Tutorial.Sincerely,Young Fang...

XML and .Net
Hi all,
Say .... what XML tools work great with .Net? I need to find tools that will work with Creating Web Services in .Net or some tutorials on how to create ...
XML Web Services
Web Services toggled with SOAP and UDDI
thx,
Ed
Click on "Tutorials" above, and then "Writing a Simple XML Web service" on the left side
See if my article helps you
http://www.w3coder.com/ws/WSGWBook/WebServGW-01.XML
I specifically written this for beginners!Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti...

ADO.NET(XML) Datasource missing
Well something has transpired with the ADO.NET(XML) Datasource, it is disappearing off our machines! We’ve been messing around with .NET 2.0 but I’m not sure that this is related. When we try to validate tables we get “The database DLL ‘crdb_adoplus.dll’ could not be loaded.
Just to clarify we are using Crystal Reports 9 Developer Edition, with the cr90dbexwin_en.exe patch to fix issues with the crdb_adoplus.dll We’ve tried completely uninstalling and reinstalling Crystal with no luck..
Any help would be greatly appreciated....

tool in vs.net to generate xml documentation for vb.net
hello
i need a tool in vs.net to generate xml documentation for vb.net
thank you for the help and for the time
Check out the VB.NET add-in for XML comments.Regards,Alex
hello
thank you for the support
i click the link add-in and the page that has been opened does not have relation what i want
Click around in the workspaces area. I think they are redirecting to the 'site update' page no matter what you go to initially. Once you've visited a couple pages, try the link again as it works fine.Regards,Alex...