16,017,297 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 .NET 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 vanarajranjit (Top 46 by date)
vanarajranjit
18-Sep-14 12:19pm
View
Can you tell me how to do???
vanarajranjit
17-Jun-14 23:39pm
View
What you saying I am. Not understandable please find the solution
vanarajranjit
17-Jun-14 23:38pm
View
I used like that
Command.parameters. Add("@date",SqlDbType.VarChar.varchar).Value=txtname.Text.
vanarajranjit
17-Jun-14 23:22pm
View
L1missplaced actual dd mm yyyy
vanarajranjit
15-Jun-14 10:59am
View
Actually this is my code how to check the user authenticated or not
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
Dim con As New SqlConnection(ConfigurationManager.ConnectionStrings("SqlDbConnection").ToString())
Dim command As New SqlCommand("cyl_user_login", con)
command.CommandType = CommandType.StoredProcedure
command.Parameters.Add("@emp_code", SqlDbType.VarChar).Value = txtusername.Text.Trim()
command.Parameters.Add("@user_password", SqlDbType.VarChar).Value = txtpassword.Text.Trim()
con.Open()
command.ExecuteNonQuery()
Session("@emp_code") = txtusername.Text
'Session("user_password") = txtpassword
Response.Redirect("Home.aspx")
con.Close()
Catch ex As Exception
'Label1.Text = "Wrong Password"
'Console.WriteLine("SQL Error" & ex.Message.ToString())
Label1.Text = ex.Message.ToString()
'ScriptManager.RegisterClientScriptBlock(Me, Me.[GetType](), "alertMessage", "alert('" & ex.Message.ToString() & "')", True)
End Try
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.Text = ""
End Sub
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
txtusername.Text = ""
txtpassword.Text = ""
End Sub
End Class
vanarajranjit
5-May-14 3:24am
View
If you given means it helpful for me I will apply in all pages
vanarajranjit
5-May-14 3:03am
View
Can you make I tried it's not working
vanarajranjit
5-May-14 2:23am
View
Please try
vanarajranjit
5-May-14 2:21am
View
That is okay I already tried but it is not working once I got a correct code means I will apply through all my pages
vanarajranjit
8-Apr-14 13:42pm
View
In my code where i have to insert your code
vanarajranjit
8-Apr-14 13:13pm
View
I am having table select serial_no,gas_name from tbl_cyl_gas_master where serial_no=@serial_no the serial_no values are loaded in combo when selecting the value from combo the gas_name text box value should come but it is not coming when selecting the value.Pls reply
vanarajranjit
8-Apr-14 13:13pm
View
I am having table select serial_no,gas_name from tbl_cyl_gas_master where serial_no=@serial_no the serial_no values are loaded in combo when selecting the value from combo the gas_name text box value should come but it is not coming when selecting the value.Pls reply
vanarajranjit
8-Apr-14 13:06pm
View
I am having table select serial_no,gas_name from tbl_cyl_gas_master where serial_no=@serial_no the serial_no values are loaded in combo when selecting the value from combo the gas_name text box value should come but it is not coming when selecting the value.Pls reply
vanarajranjit
8-Apr-14 3:38am
View
Miss schatak it is working fine inserting ,updating,authorise but when i am selecting the serial no the other text fields sholud select it not showing??
vanarajranjit
7-Apr-14 8:46am
View
Miss schatak front end the data is not inserting, updating and serial number combo all serial number are loaded from table but gas_name values are not coming.
vanarajranjit
7-Apr-14 7:26am
View
Miss schatak write the above code in your own way I will follow that and paste here
vanarajranjit
7-Apr-14 6:03am
View
If the serialno is primary key the rows are inserted one by one. And in ddl I will select the serialno for viewing... Can you give your mail I'd I will send whole attached file can you able to check it
vanarajranjit
7-Apr-14 5:28am
View
Miss schatak find the solution!? Where i did mistake
vanarajranjit
7-Apr-14 5:18am
View
View added in ddl
vanarajranjit
7-Apr-14 5:02am
View
No for serial no ddl, for tran_stat label, for gas_name text box
vanarajranjit
7-Apr-14 4:47am
View
Sorry schatak.. If you find the solution means really thankful to you last two days onwards I am trying
vanarajranjit
7-Apr-14 4:35am
View
Mr.schatak pls find the solution
vanarajranjit
7-Apr-14 4:34am
View
In table the values are not inserting
vanarajranjit
7-Apr-14 4:28am
View
I removed the tran_status column and checked not inserting pls check.in database it is perfect
vanarajranjit
7-Apr-14 4:24am
View
This is my code
<asp:DropDownList ID="ddl1" ClientIDMode="Static" runat="server" AutoPostBack="false">
<asp:ListItem Value="add">Add
<asp:ListItem Value="update">Update
<asp:ListItem>delete
<asp:ListItem>Authorise
<asp:ListItem>View
vanarajranjit
7-Apr-14 4:17am
View
Ya add only
vanarajranjit
7-Apr-14 4:06am
View
Records are not inserting into table pls check it
vanarajranjit
3-Apr-14 4:46am
View
It is updating to others columns but not updating to the specific column
vanarajranjit
3-Apr-14 3:52am
View
table name is different
vanarajranjit
3-Apr-14 3:44am
View
It is not updating to the column ..but it shows 1 rows affected.for eg i given table my table is different
vanarajranjit
3-Apr-14 2:30am
View
That also tried not working
vanarajranjit
3-Apr-14 2:12am
View
S numeric
vanarajranjit
2-Apr-14 13:52pm
View
please modify the code and place here
vanarajranjit
2-Apr-14 13:27pm
View
How can you do it ??
vanarajranjit
2-Apr-14 4:50am
View
And also if I inserted oxygen for the column gas_name again some other person inserting same oxygen then user should know the oxygen transaction is already there it should shows... For that I need the controls
vanarajranjit
2-Apr-14 4:35am
View
no transaction exists with that no or not,if tran is there means RAISERROR ( 'transaction alread exists. cannot ADD', 16, 1) and then select query also need ,and then if the tran is deleted means the whole row is deleted i want in tran_stat it shows DE like that.if you need extra column in table add it..
vanarajranjit
2-Apr-14 4:25am
View
Pls add more controls to that code..it will helpful me a lot
vanarajranjit
2-Apr-14 3:29am
View
Thanks for your reply it working good.any other controls I have to apply?
vanarajranjit
2-Apr-14 2:23am
View
I am fresher to sql I am not having much idea now you understand what I written the code so pls make all changesin that code and give to me
vanarajranjit
2-Apr-14 2:21am
View
When authorise the serialno it is in fresh status only but it is not authorising it goes to else part transaction already authorised and when transaction is authorised status it should not update but here it is updating. Pls check and revert back.add what are the conditions and controls,features in your mind pls add
vanarajranjit
2-Apr-14 2:19am
View
When authorise the serialno it is in fresh status only but it is not authorising it goes to else part transaction already authorised and when transaction is authorised status it should not update but here it is updating. Pls check and revert back.
vanarajranjit
1-Apr-14 23:00pm
View
Pls check the above reply for solutions 1
vanarajranjit
1-Apr-14 22:51pm
View
When authorise the serialno it is in fresh status only but it is not authorising it goes to else part transaction already authorised and when transaction is authorised status it should not update but here it is updating. Pls check and revert back.
vanarajranjit
26-Nov-13 12:49pm
View
reply pls
vanarajranjit
27-Sep-13 1:28am
View
How to do ?
vanarajranjit
16-Sep-13 3:20am
View
Can i give that code
Show More