|
Instead of down voting (I assume) and making snippy comments, I suggest you take a look at Eddie's Vulgen's response.
99% of the people who answer questions here are going to read you post and think "He just wants me to write his code for him" and won't help. Why?
1. You Describe you problem in broad brush "I wanna do something terms"
2. You ask for code
3. You don't say what you have tried and what happened.
From this standpoint it looks like you have done no work (you might have spent hours on it, we don't know) and the basics of this are easily googled.
|
|
|
|
|
So you want me to pick a suitable Google result for you as well?
Try #6: Convert Date from Persian to Gregorian[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
thanks Mr Richard, your Guidance was useful for me
|
|
|
|
|
Oooh, the Force was strong in that 1-vote you got.
|
|
|
|
|
I can "help you" if you have specific questions on the implementation or get stuck. This sounds more like "would you do this work for me".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
sorry mr Eddy , can you Explain me more
I cant understand your means well
|
|
|
|
|
He means, what code have you written? What, exactly, are you stuck on?
|
|
|
|
|
i need a complete code I need a ferrari.
This is a messageboard, and these questions are being answered by volunteers. Like you. It'd be inappropriate to ask them to do a complete project. If it's your task, then you'll be the one writing code - and we'll gladly help when you get stuck.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Your exact answer here in Codeproject[^]
/* LIFE RUNS ON CODE */
modified 1-Aug-13 5:47am.
|
|
|
|
|
Hi, I am using DataList control and Loading images in it from database at runtime-the problem is when I click on any image then it should be displayed in JQuery Modal dialog...plz Help me out
<div id="wrapper1">
<asp:DataList ID="DataList1" runat="server"
GridLines="Both">
<ItemTemplate>
<table>
<tr>
<td>
<asp:Image ID="Img1" runat="server" ImageUrl='<%#Eval("ProductImagePath") %>'/>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</div>
|
|
|
|
|
This question has nothing to do with C#. It belongs in the ASP.NET forum.
|
|
|
|
|
Dear Frnd,
I'm developing Finger Print project in windows application using C#.net. I need to know that how to save finger print image from Finger Print device to my project and store into database. plz let me know.
|
|
|
|
|
This question is impossible to answer since we have no idea of how you receive the image.
|
|
|
|
|
Contact the manufacturer of the fingerprint scanner and get the SDK for it. Once you have the SDK, it should provide the methods to get the data from the scanner quite easily.
|
|
|
|
|
hello
i dawnload the code (How to Send SMS Messages from C# using an SQL Database) from code project
i follow the step in it i have installed the required gateway which is ozeki gate way , but i face two problem...one is when i run the C# application and it display the follwing message (The SMSC provider is not registered in your local machine)...
the second when i use ozeki gate way i couldn't send message from it. it show the error number 1360,1366,1361 according.
please guide me tosolve this problem as soon as possible
the code in the is
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace mySMSApplication
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
//Connect to the database
OleDbConnection conn = new OleDbConnection();
Provider=SQLNCLI;Server=.\SQLEXPRESS;User ID=ozekiuser;password=ozekipass;
Database=ozeki;Persist Security Info=True conn.Open();
if (conn.State == ConnectionState.Open)
{
//Send the message
OleDbCommand cmd = new OleDbCommand();
cmd.Connection = conn;
string SQLInsert =
"INSERT INTO "+
"ozekimessageout (receiver,msg,status) "+
"VALUES "+
"('"+tbSender.Text+"','"+tbMsg.Text+"','send')";
cmd.CommandText = SQLInsert;
cmd.ExecuteNonQuery();
MessageBox.Show("Message sent");
}
//Disconnect from the database
conn.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
modified 15-Feb-13 5:51am.
|
|
|
|
|
Please edit your post and do the following:
1. Change title to something more descriptive than "C#". You're in the C# forum, people tend to assume the question is related to C#.
2. Remove the bold text and use the code button in the toolbar (enters the pre tags in the text, your code needs to be between pre tags)
3: Remove User Id and especially password from your connection string and replace with dummy text. Never ever give user id's and password in clear text. Even if it is just a test database.
4: Improve your language a little, even if you're not native English, a space here, a spell check there can work miracles.
5: Maybe related to #4, but I haven't understood the core problem
6: "please guide me tosolve this problem as soon as possible" -> Don't count on it. At best it will work just the opposite way. We're not here to serve you, we're here at our own free will and will help if we can, or want to and we will assign as much time to it as we wish.
On the positive side. You did do some research, you did post some code.
Best of luck.
|
|
|
|
|
thank you,,,
i did what you suggest...
" i'm just a beginner in programming field and i will learn from my faults"
|
|
|
|
|
With that attitude everything will be just fine
|
|
|
|
|
You should post your question in the forum at the end of the article. In that way the author will get notified, and he or she is better placed to help you.
|
|
|
|
|
|
Member 9641406 wrote: The SMSC provider is not registered in your local machine
And presumably you did the following which is from the article that you are referring to.
"The system architecture used for SMS messaging consists of a GSM Modem, that is attached to the PC with a phone-to-PC datacable, an SQL-SMS Gateway software installed onto your PC"
|
|
|
|
|
C# source of send & get SMS: Download[^]
/* LIFE RUNS ON CODE */
|
|
|
|
|
Hy guys...
I am facing a serious problem, with c# sqlTransaction,
The thing is, i have about 7 different tables that i execute a single transactions against(with a their autoIncrement IDs), which works fine for a single user when trying to insert new record... now the problem started when 10 users were capturing the information together and sometimes do concurent transections where the first user submits the form and the transaction starts(e.g at ID 1001), and user number 2 (few seconds after the 1st user) submits as well and get the second(1002) for the 1st and 2nd table, but for some reason(network signal maybe) 1st user insert is slow and and 2nd user's signal(speed) is faster and then the 2nd user ends up getting the 1st ID of the 3rd and the rest of the tables and the 1st user will get the second ID that was assigned to the 2nd user in the 1st 2 tables........
i think the problem here is the isolation mode which i didn't(or couldn't) set for the insert query to prevent the concurent insertion...
If i'm wrong please kindly correct me.
Now what i'm asking is you guys to help me control this...
The languages i'm using is/are..
1.c# in Visual studio 2010
2.Ms sql server 2008 r2
3. and asp.net...
I'd really appreciate ur help...
I'm sorry about the grama, English is not my home languege. thank you in advanve
|
|
|
|
|
|
thanx there man, the solution was to add and IsolationMode(Serializable)........
THANX once again, but u kinda ranked me too low with ur "if u thinking hiring a prof programmer wait till u hire an amatuer...".... i'm way better than an amatuer that this quiz may have reflected of me.... but i'll never stop learning
|
|
|
|