|
Try dipping your nose into Q&A for a taste of low quality questions. You might want to take your comment to the bugs @ sugs forum.
Also such a comment coming from someone who has almost no involvement with the site, 28 post in 3 years, is a little ironic.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Some people have work to do, and can't afford much time to hang about reading silly questions. What time I do have I prefer to use wisely.
|
|
|
|
|
With an attitude like that, you won't be missed.
|
|
|
|
|
Just give up. There's no place that consistently has questions worth anyone's time. The only way to find such questions is, unfortunately, to read through piles of excrement.
|
|
|
|
|
|
Shady George wrote: There's far too many silly questions appearing on this forum And this one doesn't really help. The Lounge is the place for this sort of discussion.
|
|
|
|
|
That's like walking into a bar and asking where one could go for a good drink
The outcome is predictable.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
which security better for my project
|
|
|
|
|
|
We really can't answer that: we have no idea of what your project is, what environment it will run in, or what kinds of data you are handling. "Security" in this context could mean anything from strong encryption, to hashing, to "doing proper backups".
Since the term "security" will vary depending on all of those, we just don't have anywhere near enough information to begin answering.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
I am capturing rtp packets from my computer and am trying to recover the audio package. The G729 codec is broadcast, I'm trying to capture audio, but it is not timing.
Example - Real Call
Line 1: ----Hi------two--------four-------six-------eight------ten
Line 2: Hi------One------three------five-----seven-------nine
My record file:
----Hi------two-----four-------six------eight------ten
Hi--one---three---five----seven---nine
|
|
|
|
|
Very interesting but it explains very little, please explain in proper detail what assistance you require.
|
|
|
|
|
I'm traveling the RTP buffer and retrieving the audio, I have realized that the lack of synchronization is related to the number of samples of silence.
|
|
|
|
|
Is there some compression issue? Silence can be compressed easily, while actual audio are hard to compress.
|
|
|
|
|
How to display records from database between two dates using calender control
|
|
|
|
|
You're probably going to need two calendars - one to identify the start date and one to identify the end date. Once the user has chosen the dates (make sure that the before isn't after the end date), issue a query to the database selecting values between the two dates. As you have given us no other information to go on, this is as close to an answer as you are going to get.
|
|
|
|
|
sir i solve this problem
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="Server" EnableScriptGlobalization="true"
EnableScriptLocalization="true" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server" Format="dd/MM/yyyy"
PopupButtonID="txtDate2" TargetControlID="txtDate2" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy"
PopupButtonID="txtDate1" TargetControlID="txtDate1" />
Enter From date <asp:TextBox ID="txtDate1" runat="server"></asp:TextBox><br />
Enter To date <asp:TextBox ID="txtDate2" runat="server"></asp:TextBox><br />
<asp:Button ID="Button1" runat="server" Text="Search" onclick="Button1_Click" /><br />
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</div>
</form>
</body>
</html>
Server side
using System.Data.SqlClient;
using System.Data;
public partial class AJ2Cal : System.Web.UI.Page
{
SqlConnection sqlcon = new SqlConnection(@"Server=RAVI-PC\SQLEXPRESS;database=test;uid=xxxxn;pwd=yyyy");
SqlCommand sqlcmd = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter();
DataTable dt = new DataTable();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
sqlcon.Open();
sqlcmd=new SqlCommand("select * from empdt where dte between '" + txtDate1.Text + "' and '" + txtDate2.Text + "'",sqlcon);
da=new SqlDataAdapter(sqlcmd);
da.Fill(dt);
if (dt.Rows.Count>0)
{
GridView1.DataSource = dt;
GridView1.DataBind();
}
sqlcon.Close();
}
}
|
|
|
|
|
Please don't concatonate SQL Strings this will leave you open to SQL Injection. Read up on Parameterised Queries.
C# Parameterised Queires[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Please also explain the problems with selecting "all", as opposed to what you need. And that the empty event should be removed. And why we dispose things. And..
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
And also the unnecessary use of global variables, when they could more than likely be better at method level? so I also add that to my list .
For me the concatinated SQL String just jumped straight out at me.
but to your question I would suggest the OP also have a read of this Is using COUNT(*) or SELECT * a good idea?[^] The first answer is a good read.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Simon_Whale wrote: For me the concatinated SQL String just jumped straight out at me. It does, but that doesn't justify a hit-and-run post
Simon_Whale wrote: The first answer is a good read. COUNTing all records is not a column-wise operation - it won't be pulling a large blob that has been added last month from the db that travels over the network.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Generally it is expected that you include the exact problem and what you have done so far to solve it.
It's good that you state what you want to achieve, but without more information the answer could possibly be too extensive to write down.
|
|
|
|
|
Image stabilization software required for long range camera (Camera range is 20 KM)into existing Video Management Software developed in C# .net
|
|
|
|
|
So, what have you tried? What code have you put in place? What are you stuck on?
|
|
|
|