15,910,083 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 Shahbaz435 (Top 90 by date)
Shahbaz435
27-Mar-24 5:28am
View
I'm not saving the file on physical location I've pdf base64 string and I want to convert into image bytes
Shahbaz435
27-Mar-24 5:11am
View
I need alternative of this paid library I don't want this paid library
Shahbaz435
27-Sep-18 7:03am
View
guys plz help meeee plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Shahbaz435
18-Sep-18 7:05am
View
i have to send selected data from gridview and i have data on multiple pages on gridview so how can i send multiple data?
right now i have send only single page data i want send multiple pages data to the label plz help me and can u explain me above code plz
Shahbaz435
20-Aug-18 1:43am
View
cannot find the null value on textbox id in javascript.
If my textbox is hide then throwing the above error.
& if my textbox is not hide then it will be validated but i want is that if my textbox is hide then it will be validate plz help im new in this
Shahbaz435
20-Aug-18 1:27am
View
the error is cannot foind the value of null if the textbox is hide and if textbox is showing it will be validated
Shahbaz435
9-Aug-18 8:37am
View
kk no issues
Shahbaz435
8-Aug-18 4:57am
View
it will not given me desired result sir is it possible in .net to record and play voice msgs
Shahbaz435
8-Aug-18 0:38am
View
Thank you sir for your suggestion I have seen your suggestion but my question is how to record the file and paly on the web page not the already recorded file. Recording through the microphone or mobile handsfree and play the specific recorded file
Shahbaz435
4-Aug-18 4:45am
View
html5 audio recording
Shahbaz435
4-Aug-18 4:40am
View
as per yesterday u have send me link I hva etried averything on that link but not record a single word can u plz help me
Shahbaz435
2-Aug-18 4:23am
View
so can u plz tell me where to find the voice recording in asp.net application please
Shahbaz435
1-Aug-18 5:50am
View
i want wav file should be playing not a mp3 file plz help guys
Shahbaz435
1-Aug-18 4:45am
View
in my code mp3 file is playing but wav file is not playing in the player on the gridview
Shahbaz435
31-Jul-18 2:49am
View
+ 1 should be the next day i want to show in the same textbox
Shahbaz435
31-Jul-18 2:47am
View
sir as you seen above my code is giving the next day time so afetr the plaaceholder it will be giving the next day time but i want the next day time as well as showing the next day time like 05:00 + 1 or 2 or 3 days like this
Shahbaz435
31-Jul-18 2:36am
View
Late should be take the hour "hhmm" this fiels should i remove
Shahbaz435
31-Jul-18 2:36am
View
should i show in the same textbox the date of next day
Shahbaz435
31-Jul-18 2:13am
View
Thanks done with thid code but if I'm attching the next day date so how can i implement the date also in this code can u plz help me for this
Shahbaz435
31-Jul-18 2:10am
View
Getting error in this code
var result = TimeSpan.Parse(ScheduleArrival.Text).Add (DateTime.ParseExact("LATE.SelectedValue", "HHmm", CultureInfo.InvariantCulture).TimeOfDay);
EAT.Text = result.ToString();
String was not recognized as a valid DateTime
Shahbaz435
30-Jul-18 5:40am
View
kk thank u sir
Shahbaz435
30-Jul-18 5:33am
View
and how to store in database and folder
Shahbaz435
30-Jul-18 5:25am
View
can u please provide me link or code plz help me im new in this
Shahbaz435
18-Jul-18 5:17am
View
i had already done everything but getting the i had host on iis also but not getting the output as expected plz provide me code im new in that
Shahbaz435
18-Jul-18 4:58am
View
An established connection was aborted by the software in your host machine
I'm getting the above error
Shahbaz435
18-Jul-18 4:53am
View
are you sure the code is proper or not
Shahbaz435
12-Jul-18 6:55am
View
kk
Shahbaz435
12-Jul-18 6:39am
View
can u plz help me i have given the code plz help sir
Shahbaz435
12-Jul-18 6:24am
View
parsemap is the name im giving 1st it was guide then i ll replace to parsemap plz help me sir
Shahbaz435
12-Jul-18 6:18am
View
im new to the dictionary and im getting the error on
Dictionary<int, FieldParseInfo> parseMap = new Dictionary<int, FieldParseInfo>();
//Dictionary<int, FieldParseInfo> guide = parseMap[type];
List<int> index = parseOrder[type]; this line. and parsemap should be null how to fetch the data on parsemap in the dictionaryy plz tell me
Shahbaz435
12-Jul-18 6:10am
View
yes guide is null so how should i get the exact solution for this plz help im stuck in this code since morning
Shahbaz435
10-Jul-18 3:36am
View
the size of input.length is 172 but im not aware of int length is showing me 5 digit no where it is taken by
Shahbaz435
10-Jul-18 3:09am
View
public string ConvertNFSByteArraytoFinIso8583(byte[] Input)
{
int Length = Convert.ToInt32(Input[0]) * 256 + Convert.ToInt32(Input[1]);
byte[] ResultBytes = new byte[Length];
string ResultOutput = string.Empty;
for (int i = 0; i < Input.Length; i++) //(int i = 0; i < Length; i++)
{
ResultBytes[i] = Input[i]; //Input[i + 2]
}
Length = ResultBytes.Length;
and where should it getting the 12336 can u help me for this
Shahbaz435
10-Jul-18 2:49am
View
int Length = Convert.ToInt32(Input[0]) * 256 + Convert.ToInt32(Input[1]); // the length is 12336 and input is 165
byte[] ResultBytes = new byte[Length];
string ResultOutput = string.Empty;
for (int i = 0; i < Length; i++)
{
ResultBytes[i] = Input[i + 2]; //Input[i + 2]
}
Shahbaz435
10-Jul-18 2:13am
View
this is my code im getting the value in firstletter and nextchars when the loop is started it is satified with condition adding 2 more the value in that
Shahbaz435
10-Jul-18 2:10am
View
my length is 172 but the loops is exiting on 174 how to come this plz help
Shahbaz435
10-Jul-18 2:09am
View
my length is 172 but the loops is exiting on 174 how to come this plz help
Shahbaz435
10-Jul-18 2:06am
View
IsoMessageReceived = streamReader.ReadBytes(Convert.ToInt32((FirstLetter * 256) + NextChars));
IsoMessageForProcessing = new byte[IsoMessageReceived.Length + 2];
IsoMessageForProcessing[0] = Convert.ToByte(FirstLetter);
IsoMessageForProcessing[1] = Convert.ToByte(NextChars);
for (int i = 0; i < IsoMessageReceived.Length; i++) //[IsoMessageReceived.Length : 172]
{
IsoMessageForProcessing[i + 2] = IsoMessageReceived[i];
//[IsoMessageReceived :{byte[172]]
}
Temp = ConvertNFSByteArraytoFinIso8583(IsoMessageForProcessing); //IsoMessageForProcessing {byte[174]}
Shahbaz435
10-Jul-18 2:06am
View
IsoMessageReceived = streamReader.ReadBytes(Convert.ToInt32((FirstLetter * 256) + NextChars));
IsoMessageForProcessing = new byte[IsoMessageReceived.Length + 2];
IsoMessageForProcessing[0] = Convert.ToByte(FirstLetter);
IsoMessageForProcessing[1] = Convert.ToByte(NextChars);
for (int i = 0; i < IsoMessageReceived.Length; i++) //[IsoMessageReceived.Length : 172]
{
IsoMessageForProcessing[i + 2] = IsoMessageReceived[i];
//[IsoMessageReceived :{byte[172]]
}
Temp = ConvertNFSByteArraytoFinIso8583(IsoMessageForProcessing); //IsoMessageForProcessing {byte[174]}
Shahbaz435
10-Jul-18 1:45am
View
what i do plz suggest something
Shahbaz435
10-Jul-18 1:45am
View
input array is not satisfied the condition it throws me error plz help
Shahbaz435
10-Jul-18 1:44am
View
can u plz help me to resolve this error
Shahbaz435
10-Jul-18 1:43am
View
so what should i do for that code
Shahbaz435
30-Jun-18 1:14am
View
so how should i do that plz suggest me sir im new in sql
Shahbaz435
29-Jun-18 2:10am
View
kk sir
Shahbaz435
20-Jun-18 7:17am
View
thank u sir
Shahbaz435
20-Jun-18 7:16am
View
thank u sir
Shahbaz435
20-Jun-18 6:18am
View
i know but i want that code for converting the string to unicode and display the data in unicode format plz help me sir plz plz
Shahbaz435
20-Jun-18 5:42am
View
as per ur guidance the c# code in unicode but i want to display the string data in unicode format like im having my name is "Shahbaz" is in string format and the convert it to the unicode is
U+0053 U+0068 U+0061 U+0068 U+0062 U+0061 U+007A
the above format i want want plz help me sir
Shahbaz435
20-Jun-18 4:43am
View
im getting the value from database in that string and i want to convert that value in unicode
Shahbaz435
20-Jun-18 4:31am
View
nvarchar is the datatype of that string
Shahbaz435
20-Jun-18 4:16am
View
12345 this is my string i want to convert this string into unicode
Shahbaz435
20-Jun-18 3:18am
View
can u plz provide me a code for string to unicode convert in asp.net c#
Shahbaz435
20-Jun-18 2:48am
View
but i need the string should be u0012 like this format
Shahbaz435
20-Jun-18 1:27am
View
but my question is how to convert the string into utf 16 can u provide me the code in c#
Shahbaz435
12-Jun-18 4:09am
View
string rowValue = row["TrainNo"].ToString();
string[] splitString = rowValue.Split(',');
foreach (string str in splitString)
{
if (str == ("0"))
{
SoundPlayer sd = new SoundPlayer();
sd.SoundLocation = Server.MapPath("~/SoundWave/0.wav");
sd.PlaySync();
}
Shahbaz435
12-Jun-18 4:08am
View
yes like this only but how can i write the code for the loop plz help sir im new to looping
Shahbaz435
12-Jun-18 3:23am
View
no sir this is not solving my problem my problem is the loop checkinhg the whole string and divide the string and then playing the sound
Shahbaz435
12-Jun-18 3:22am
View
see my train no datatype is varchar bcoz i 'm storing the int and char in that column so thts y im getting toruble
Shahbaz435
12-Jun-18 3:17am
View
this is my data and im getting 12345 in rowvalue from database and i want to divide the rowvalue by 10000
Shahbaz435
12-Jun-18 3:10am
View
yes exactly
Shahbaz435
12-Jun-18 3:02am
View
can u plz type in detail bcoz i'm not fimiliar with loops plz help
Shahbaz435
12-Jun-18 2:49am
View
kk
Shahbaz435
12-Jun-18 2:47am
View
string rowValue = row["TrainNo"].ToString();
string[] splitString = rowValue.Split(',');
foreach (string str in splitString)
{
if (str == ("0"))
{
SoundPlayer sd = new SoundPlayer();
sd.SoundLocation = Server.MapPath("~/SoundWave/0.wav");
sd.PlaySync();
}
here is the code i want to divide the value in loop i have code but its oly supported to the comma i want to take the whole string and divide by 10000
Shahbaz435
12-Jun-18 2:45am
View
trainno datatype is varchar and i want the value coming in rowvalue should be divide in the loop
Shahbaz435
8-Jun-18 8:13am
View
no the wave files should be aaded in my folder i want to fetch the record from db and as per db it will be moving to wave files and checking the both are match and as per match the sound would be flow
Shahbaz435
8-Jun-18 7:43am
View
i have 1 to 10 recorded files and i want to caocate them as per gridview selection the files should be merge on the selection like 234 so sound would be like 234
Shahbaz435
8-Jun-18 7:33am
View
how to add multiple wave file as per data in database
Shahbaz435
8-Jun-18 7:33am
View
yes thanks but i need 1 more help from you
Shahbaz435
8-Jun-18 7:17am
View
im getting this error
The file located at E:\Railways\App_Code\0.mp3 is not a valid wave file.
Shahbaz435
8-Jun-18 7:00am
View
I had tried but not getting anything
Shahbaz435
2-Jun-18 5:20am
View
not getting u sir can u plz explain me
Shahbaz435
18-Nov-17 9:25am
View
noooooooooo
Shahbaz435
18-Nov-17 9:21am
View
nothing can happen after removing this code
Shahbaz435
18-Nov-17 9:20am
View
this for click event in gridview
Shahbaz435
18-Nov-17 9:15am
View
no
Shahbaz435
18-Nov-17 9:14am
View
yes it is clickable only once 2nd time it wont be clicked
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Request.QueryString["CID"] != null)
{
//FillData();
}
lblMsg.Text = "";
FillGrid();
}
}
Shahbaz435
18-Nov-17 9:03am
View
yes it is showing me the data in textbox but i want the showing the data in textbox as per my selection on multiple times but its is clickable at once
Shahbaz435
18-Nov-17 8:51am
View
yes but i want selected data in my text boxes and also showing me the quantity as per my selection
Shahbaz435
18-Nov-17 8:47am
View
<asp:Label ID="lblMsg" runat="server" Text="" ForeColor="red">
<asp:GridView ID="gvAgent" runat="server" AutoGenerateColumns="False" DataKeyNames="SpareID" OnSelectedIndexChanged="gvAgent_SelectedIndexChanged" OnRowDataBound="gvAgent_RowDataBound" AllowPaging="True" CssClass="mGrid" Width="100%" EnablePersistedSelection="True">
<columns>
<asp:BoundField DataField="SpareID" HeaderText="Spare ID" />
<asp:BoundField HeaderText="Supplier Code" DataField="SupplierCode" />
<asp:BoundField HeaderText="Part Number" DataField="PartNumber" />
<asp:BoundField HeaderText="Part Name" DataField="PartName" />
<asp:BoundField HeaderText="Vehicle Name" DataField="VehicleName" />
<asp:BoundField HeaderText="Description" DataField="Description" />
<asp:BoundField HeaderText="Qty" DataField="Quantity" />
<asp:BoundField HeaderText="Cost Price" DataField="CostPrice" />
<asp:BoundField HeaderText="Actual Price" DataField="ActualPrice" />
<asp:BoundField HeaderText="X Part's" DataField="XPart" />
<asp:BoundField HeaderText="Date" DataField="Date" />
<%--<asp:TemplateField HeaderText="Edit">--%>
<%--<itemtemplate>
<asp:ImageButton ID="ImgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Click here to Edit " ImageAlign="Middle" ImageUrl="Images/edit.png" />
<asp:TemplateField HeaderText="Delete" Visible="false">
<itemtemplate>
<asp:ImageButton ID="ImgDelete" runat="server" CausesValidation="False" CommandName="Delete" ToolTip="Click here to Delete" ImageAlign="Middle" ImageUrl="Images/delet.png" />
<asp:TemplateField HeaderText="View">
<itemtemplate>
<asp:ImageButton ID="ImgView" runat="server" CausesValidation="False" ToolTip="Click here to View" ImageAlign="Middle" ImageUrl="Images/view.png" />
<asp:TemplateField HeaderText="Select">
<itemtemplate>
<asp:CheckBox ID="ChkSelect" runat="server" />
--%>
<PagerStyle CssClass="pgr" />
<AlternatingRowStyle CssClass="alt" />
Shahbaz435
12-Nov-17 9:01am
View
yes dataset have data the crystal report is showing on my local server but not on iis
Shahbaz435
12-Nov-17 8:48am
View
my crystal report version is 2013 and iis is iis6
Shahbaz435
11-Nov-17 9:15am
View
plz reply me sir
Shahbaz435
11-Nov-17 8:57am
View
no sir report does not display on iis 6 but display in my local host
Shahbaz435
22-Mar-17 7:57am
View
it gives me error on fromstream
Shahbaz435
22-Mar-17 7:57am
View
Byte[] bytes = null;
string text2 = this.FileUploadFullR.FileName;
string str7 = this.Session["ProductIDA"].ToString();
this.Ade = this.Session["ProductIDA"].ToString();
if (this.FileUploadFullR.HasFile)
{
string filename = FileUploadFullR.PostedFile.FileName;
string str9 = str6 + str4;
string filePath = Path.GetFileName(filename);
Stream fs = FileUploadFullR.PostedFile.InputStream;
BinaryReader br = new BinaryReader(fs);
bytes = br.ReadBytes((Int32)fs.Length);
MemoryStream ms = new MemoryStream(bytes);
Image myImage = Image.FromStream(ms);
ConfigurationManager.ConnectionStrings["ConnectionString"].ToString();
connection = new SqlConnection(this.strConnectionstring);
connection.Open();
SqlCommand cmdddd = new SqlCommand("Update TBL_PRODUCTDETAILS Set Picfront = @Picfront where ID = '" + str6 + "' ", connection);
cmdddd.Parameters.Add("@Picfront", SqlDbType.Binary).Value = bytes;
cmdddd.ExecuteNonQuery();
}
Shahbaz435
22-Mar-17 7:49am
View
I had added this in my code but its getting me error
Shahbaz435
10-Mar-17 4:06am
View
im not getting the download link of visual source safe can u help me to getting the link for download vss
Shahbaz435
18-Jun-15 3:01am
View
how to store ip address in database using jquery can u explain me im new to jquery
Shahbaz435
17-Jun-15 3:38am
View
the code not showing the ip address
Show More