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...
How to get RS (From VB6) to .NET (VB.NET)
Hi Friends, I have requirement, there is one function in VB6 it returns a RS, I need to call that function in VB.NET, how to get those values into .NET, if can any body can help (pass me some code snippets), that will be greate, Thank you.Madhu... -Madhu
hey guys i got this one just by using fill method.-Madhu...
ADO.net problem: i can not view image data for the rest of my table rows except the image for the first row but i can read all the other non image fields for all rows.
Hi i have a table with the following fields
imgid............int
imgdata........image
imgtitle.........varchar(max)
imgType........varchar(max)
imgLength.....bigint
incident_id.....int
i have no problem with uploading the image but viewing the uploaded image(s) in a gridview has caused me great pain. The probelm is i have two pages. page1 grabs the image to display and page2 has a gridview that displays the grabed image. I wanted to have an sql statement like
SELECT * FROM mytable WHERE incident_id=someValue.
IF i have 5 records in this table and i view page2 ...
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)
{
...
ADO.NET table fields pass to a VB.NET variable
Hi, please help, have a ADO.NET code. 1 Dim conn As New Data.SqlClient.SqlConnection
2 Dim sql As New Data.SqlClient.SqlCommand
3
4 conn = New Data.SqlClient.SqlConnection("Provider=SQLOLEDB.1;Password=dbsystematics;Persist Security Info=True;User ID=sa;Initial Catalog=SARS;Data Source=4G")
5 conn.Open()
6 sql = New Data.SqlClient.SqlCommand("select * from users", conn)
Then i would like to pass the values that the above ADO.NET to a variable.how?please help. JFRBPH12™
You can execute the ...
vb.net vs c#.net vs j#.net
just out of curiousity which looks, acts most like java? i'm still learning trying to used to vb.net but it seems that it was easier to do some stuff with java.
C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD
If you are looking for language similar to java go for J#.
However most code samples you find on the net will be in VB.NET and C#....
how can i Get OCX File in .net IDE vb.net/C3
hi all,
How can I generate OCX file in VB.net/c# 2005 that will interact in web pages...?Thanks & Regards,Murthy.
Hi murthysrn,
As far as I know, VB 2005 and C# 2005 cannot create the project for ocx file. However, I hope the following link will be helpful to you.
Creating an ActiveX Control in Visual Studio 2005http://msmvps.com/blogs/pauldomag/archive/2006/08/16/107758.aspxSincerely,Benson YuMicrosoft Online Community Support Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other co...
.Net 2
Hi Friends,
I want to show Different Tabs for different information on my web form ( .aspx page ).
I could not found Tab Control with .net 2005. I know there is some but couldnt find it.
Can you please tell me from where can I add Tab Control to my web form ?
Thanks in advance,
Nirav
With some tedious settings of properties on the menu control, it will behave like a tab control. Then you need to use a multiview control and fill it with views. Then you need to wire up the menu to the multiview or something. I tried this before and it works, but we wrote our own contro...
Binding Data to a Label Control in Vb.net
Can anyone give me a sample of how to bind data to a label control. Here is what I have done and I keep getting the following error.
Value of type 'System.Data.SqlClient.SqlDataReader' cannot be converted to 'String'.
Here is my code...
---------------------------------------------------------------------------
Dim intloop As Integer
Dim sectionID(7) As String
Dim ID() As Integer
sectionType = "NC"
sectionID(1) = "lblsection1"
sectionID(2) = "lblsection2"
sectionID(3) = "lblsection3"
sectionID(4) = "lbl...
How to avoid controls gets into loop in vb.net
Hi friends !
I am new to vb.net , iam having problem with accept date field.I am
having two fields FROM_DT and TO_DT. ON THIS ONBLUR EVENT I
VALIDATE THIS FIELD IT SHOULD NOT BE EMPTY.
MY PROBLEM IS WHEN THE USER ENTER EMPTY IN THE FIELD FROM_DT
IT GEST ITO TO LOOP, BECAUSE THE CONTROL AUTOMATICALLY
ENTER INTO THE TO_DT FILED AND VALIDATE AND MAKE INFINITE LOOP.
PLEASE TELL ME HOW TO SOLVE THIS PROBLEM
My code is Given Below
<asp:TemplateField HeaderText="From">
<ItemTemplate>
<asp:TextBox ID="TBFdt" runat="s...
how to get data from excel using vb.net
how to get data from excel using vb.net
Hi,
This article might help:
http://authors.aspalliance.com/aldotnet/examples/excel.aspx
Regards,
How can obtain the sheet's list of a Excel document?
here u can find the solution for your problem, mark if as answer if u problem got solved http://lakshmik.blogspot.com/2005/12/how-to-get-excel-data-into-net-dataset.html
Vyas Pentakotauniq_vyas@yahoo.com ...
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.
Source Error:
Line 26:
Line ...
Post form with data to a external site (.net 1.1 vb.net)
Hi
I have now been googling for hours and I can not find a answer. :-(
I am programming a e-shop (.net 1.1) and what I want to achive is:
Customer fillout form, clicks on the Pay button then should the following thing happen:
1. Form date is saved to the database ( normal vb.net code )
2. The data that should be posted to the external form is create from the saved data ( normal vb.net code )
2. A post is done to an external site with created data as "post" data and then user is redirected to this site.
Thanks
Christian
Use the System.Net.HttpWebRequest...
Data presentation control in another Data presentation control
Hello,I want to make a menu with datalist or gridview control.Basically,the menu will be like this,Categories Sub Categories.For example, for COMPUTING category there will be NOTEBOOKS DESKTOPS etc.There will be a image for CATEGORIES and linkbuttons with Subcategories.If I put a datalist inside a datalist and a link button inside the second datalist visually it satisfies my need.However,CommandArguments come from database to linkbutton.Andwhen one of these command buttons is cliked it must go to proper page.I dont know how to wrie an event_handler ,specifically, for...