15,893,622 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 9171128 (Top 7 by date)
Member 9171128
10-Oct-12 0:57am
View
Can you tell me plz Any services are available send SMS (US,UK and also INDIA),Now i am ready to buy a SMS service,
and also how to this service integrate?
Member 9171128
9-Oct-12 10:44am
View
You are under standing my question?
plz tell me any modifications in the above code,
Sending sms us,uk and India also
How can i implement that one
plz help me
Member 9171128
9-Oct-12 6:53am
View
My QUESTION IS
tABLE
Tagid coupounurl phonenumber
1 http://page4.aspx 655666666
2 http://page5.aspx 67867668
3 http://page6.aspx 6868769879
Based on tag id Redirect perticular url,
In redirect perticular url based on TagId I want to send sms to perticular pnonenumber(Worldwide)
I dont known idea on sending sms
plz help me ........
I am pure in ENGLISH
Member 9171128
9-Oct-12 6:47am
View
Page1.aspx
<asp:GridView ID="QS1" runat="server" AutoGenerateSelectButton="True" AutoGenerateColumns="false"
onselectedindexchanging="GvDept_SelectedIndexChanging">
.cs
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data Source=<>;Initial Catalog=productdb;Persist Security Info=True;User ID=<>;Password=<>");
SqlDataAdapter da = new SqlDataAdapter("select * from redirecturl", con);
DataSet ds = new DataSet();
da.Fill(ds, "redirecturl");
QS1.DataSource = ds.Tables["redirecturl"];
QS1.DataBind();
QS1.DataKeyNames = new string[] { "Tagid" };
}
protected void GvDept_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
{
QS1.SelectedIndex = e.NewSelectedIndex;
string Dno = QS1.SelectedValue.ToString();
Response.Redirect("~/Page2.Aspx?TagId="+Dno);
}
Page2.aspx
<div>
<asp:GridView ID="QS2" runat="server"
EmptyDataText="There Are No Employees In Selected Department"
AutoGenerateColumns="false" Width="99px">
<br />
<iframe width="100%" runat="server" id="ifrmBrs">your browser does not support IFRAMEs</iframe>
</div>
.cs
String URL = "";
protected void Page_Load(object sender, EventArgs e)
{
string Dno = Request.QueryString["TagId"];
SqlConnection con = new SqlConnection(@"Data Source=<>;Initial Catalog=productdb;Persist Security Info=True;User ID=<>;Password=<>");
SqlCommand cmd = new SqlCommand("select coupounurl from redirecturl where Tadid=" + Dno, con);
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
QS2.DataSource = dr;
QS2.DataBind();
dr.Close();
object drReader = cmd.ExecuteScalar();
if (drReader != null)
{
URL = drReader.ToString();
}
con.Close();
if (!String.IsNullOrEmpty(URL))
{
//Use Iframe if it works
ifrmBrs.Attributes["src"] =URL;
}
}
I am trying this one
Member 9171128
9-Oct-12 5:54am
View
HOW IT IS POSSIBLE?
Member 9171128
8-Sep-12 14:47pm
View
Thanks for reploying
I have 4 TextBoxes is their in the inserting time entering all textbox values the data inserted successfully,
I am not enter One textbox data Getting an error....
My question is I am not enter data One textboxs oR more then one textboxes also data can be inserted in databse without errors
Member 9171128
8-Sep-12 14:30pm
View
connect directly to a SQL server
Show More