Sending SMS using vb.net or C#.net using vb.net or c#.net
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
To send SMS, you need some third party SMS providers. if you consul...can not add a record to a db table using the vb.net and ado.net
I am trying to insert record to Pups Database using ado.net and vb.net in a windows application.
This form will collect data from user to insert it into stores table at Pubs database (storeID, name, address etc..).
I am not able to get the new inserted record into the stores table
here is my coude behind for the formImports System.Data.SqlClient
Public Class ParametersExample
Inherits System.Windows.Forms.FormDim con As SqlConnection
Private Sub addBttn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles addBttn.Click
Dim cmd As SqlCommand = ...How to get new web app to use .NET 2.0 on Win2K server using .NET 1.1 as default framework?
I have .net framework1.1 and 2.0 on our server running win2K. i have existing applications that uses asp.net 1.1, i also have a new app that use ASP.net 2.0. how can i set my new .NET 2.0 app to point to asp.net 2.0 without messing up my existing .NET 1.1 apps?
To specify the ASP .Net version fro a web application, do the followingIn IIS Manager select the web application -> Properties -> ASP.Net TabSelect ASP.Net version you want to use for the applicationRegards,PrashantDont forget to click "Mark as Answer" on the post that helped you.
But I am running Win2K...How to use net use?
Please can any one tell me how to use the dos command net use properly?
I have read the help but can't seem to get it to work. Keep getting sytax
Thanks in advance.
"Beowulf" <email@example.com> wrote in message
> Please can any one tell me how to use the dos command net use properly?
> I have read the help but can't seem to get it to work. Keep getting sytax
> error message.
what are you trying to do? There are about 50 options to "net use" that do
a ton of different thin...How to call or retrieve fields from sql and display in table without using ADO.net, I'm using a dynamic link library....Is the coding different?
Help me! I'm doing my school project on Software Change Management Tool, CR Tracker. I want to display table in the webform, and the table data is retrieve form the sql server. So how do I call the sql so as to display the data in a table?
hy..What does that dll contain ?Does it already contains relevant code to connect to a database ?
Have a look hereThanksDinuj Nath
The easy way to do this is with the use of a data bound grid. The Grid can be customised to look and feel you like. You will need to add a data adapter to your page and a grid. When you setup the data adapter you will nee...HOW CAN I USE ADO.NET?
Hi,I can not use this cod: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb" Inherits="ICT2.WebForm1"%>
<%@ Import Namespace="System.Data.SqlClient" %><script Runat="server"> sub page_LoadDim conPubs As sqlConnectionDim CmdSelectCount As SqlCommandconPubs=New SqlConnection("server=Localhost; UID=sa; PWD=secret; database=Pubs") ConPubs.Open()CmdSelectCount=New SqlCommand("Select Count ( * ) From Authors ", ConPubs) lblresults.Text= CmdSelectCount.ExecuteScalar( ...Insert datetime, using ADO.net VB.net
Hello there,I got a little code there are inserting a record into my msSQL database..But i cant insert the datetime, for one reason?The problem is in line 7 () where i want to insert DateTime.Now 1 Protected Sub SendPmTilAfviste(ByVal modtager As String, ByVal festID As String)
2 ' Connection
3 Dim conn As SqlConnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True")
6 ' SQL-kommandoen
7 Dim cm...Help! Can anybody tell me if I can use Visual Studio.NET to develop Web application at my home using Windows XP Home Edition?
Can anybody tell me if I can use Visual Studio.NET to develop Web application at my home using Windows XP Home Edition?
I downloaded Web Martrix. But I don't want to use its IDE. I just want to use its webserver because Home Edition can't have IIS.
Visual Studio.NET neededs IIS, But in home addition you can't use IIS. So in XPHome you can't use Visual Studio.NET from ASP.NET development!Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti
Thanks for your answer.
But I have successfully added IIS to my XP Home.
Special thanks to Holeinone, Pippo a...Using Dot Net Nuke to maintain a site developed in VS.NET using C#
Hi,Does anyone know if there is a way to create a site using C# and Visual Studio.NET 2003, but then use Dot Net Nuke to allow non-technical users to add content to the site. The current state of the site must be accessible in both VS.NET and DNN regardless of which application saved it last. Also preferably I would like the language used to remain C# even when edited by the marketing staff, so that I can still maintain it myself using VS.NET. Hope you understand what I mean.
If this is not possible, I wonder if anyone knows what solution I am after.
Thanks in adv...Can I use nested cursor by ado.net?
Can I use nested cursor by ado.net?
If so, there are database error.
error message as follows:
System.InvalidOperationException: There is already an open DataReader
associated with this Command which must be closed first.
at Sybase.PowerBuilder.Db.Block.SqlBlock.ProcessError(Exception ee)
at Sybase.PowerBuilder.Db.Data.DbBlock.Execute(String strCommand, CmdType
type, Int32 iRst, Int32& iNumber, Object& datas)
at Sybase.PowerBuilder.Db.DbRoutine.Execute(String strCommand, CmdType
type, Int32 iRst, Int32& iNumber, Object& datas)
How to do?
...How to use HTTP protocol in .Net Remoting? Thanks and Regards,How to use Http protocol in .net Remoting
<><>How to use HTTP protocol in .Net Remoting ? Is there any specific code bits requires for that ?
I am using TCP protocol it's working but when i change
it to HTTP it throwing an error like "Arugument null exception"<> Could anybody give samples for that?
Thanks & Regards,Vijay
Here is an example of HTTP remoting:http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.http.httpchannel.aspxCheers, Kev...How benificial is it to use VS.NET? Can I do just as well with VB.NET?
How benificial is it to use VS.NET? Can I do just as well with VB.NET?
I'm probably going to be moving from handcoding with HomeSite and ASP Classic to ASP.NET.
From all I read VS.NET seems the tool of choice but expensive. Will VB.NET do just as well if all I plan to write is VB code?
Any other good choices?
As far as i know there is no Product" entitled vb.net. Visual Studio.Net 2002/2003 differs from it's non .net predesser (mental block, cant spell - sorry) in that all technologies (ie. VB, c# C++, J#) are developed from within the one application(IDE).
Dim objConn As New SqlConnection(ConfigurationSettings.AppSettings("DSN")) Dim objCmd As SqlCommand Dim objRdr As SqlDataReader
Sub LoadMenubar() Try objConn.Open() objCmd = New SqlCommand("SELECT * FROM Menubar ORDER BY Priority", objConn) &...used a c#.net to vb.net converter and am now getting a syntax error.
ok I used a cool utility at http://www.kamalpatel.net/ConvertCSharp2VB.aspx to convert some c#.net to vb.net and it spit out a bunch of code which almost works but I am getting a syntax error on this line
Imports (StreamReader sr =
Shadows Function)() As StreamReader(objResponse.GetResponseStream())
I tried it that way and also like
Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream())
but either way gave the same error
Compiler Error Message: BC30035: Syntax error.