16,012,508 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 Member 11148509 (Top 126 by date)
Member 11148509
2-Sep-15 10:52am
View
Thanks all of u for ur suggestions..i have small problem with my code while working with regularexpressions and i solved that ..
Thank u
Member 11148509
2-Sep-15 8:30am
View
i have tried that dint get...
Member 11148509
2-Sep-15 8:24am
View
Thank u and can i know why this regularexpression is not working???
Member 11148509
2-Sep-15 8:18am
View
Actually mine is web application ...so its better to use textchanged event or should use in aspx .....anyways i will try ur post hope it works
Member 11148509
2-Sep-15 6:46am
View
any other method???
Member 11148509
2-Sep-15 5:57am
View
im using radtextbox...im unable to get the one which u told ....
Member 11148509
2-Sep-15 5:44am
View
textmode is used for displaying mutliline or singleline ryt??? and im using VS 2013
Member 11148509
2-Sep-15 5:42am
View
ya i have tried that but dint work out ...i have small doubt..i have entered characters in textbox so it should immediately tell only numeric are allowed ...can i get that by using this regularexpression ???actually im doing using telerik and using radtextbox...
Member 11148509
2-Sep-15 5:41am
View
Deleted
ya i have tried that but dint work out ...i have small doubt..i have entered characters in textbox so it should immediately tell only numeric are allowed ...can i get that by using this regularexpression ???actually im doing using telerik and using radtextbox...
Member 11148509
25-Aug-15 4:28am
View
Ya but i don't have any idea about that to post something..i just posted so that i can get any idea and work on that ..
Member 11148509
24-Aug-15 6:53am
View
I'm using utilityhelper its better option for me to write directly rather than using datasource....
Member 11148509
24-Aug-15 6:46am
View
Deleted
I'm using utilityhelper its better option me to write directly rather than using datasource....
Member 11148509
9-Jul-15 5:06am
View
Thanks a lot i got it ..............thank u
Member 11148509
9-Jul-15 4:57am
View
imagedata????
Member 11148509
9-Jul-15 4:42am
View
i could store value from databse in a variable ..now i need to convert that hex value to image....how can this be done????
Member 11148509
9-Jul-15 4:41am
View
have used image datatype in database ...and i want to show image in radbinaryimage..
Member 11148509
9-Jul-15 4:06am
View
Deleted
i have used image datatype in database ...and i want to show image in radbinaryimage
Member 11148509
9-Jul-15 3:49am
View
actually in database its storing in hex format i think i need to convert to hex...instead of byte array..
this is how its storing ....
0x424D769C000000000000360000002800000064......
Member 11148509
9-Jul-15 3:42am
View
Not getting anything ....no image in radbinary image
Member 11148509
9-Jul-15 2:28am
View
have tried this but could not get the image ...
Member 11148509
1-Jun-15 7:48am
View
radasyncupload doesnot have hasfile property
Member 11148509
1-Jun-15 7:46am
View
i have pasted the code when u asked thats the code i have used...
Member 11148509
1-Jun-15 7:34am
View
This is onl for fileupload...im using ajax controls ...fileupload does not work in ajax controls....let me know why this errors comes so that i can proceed
Member 11148509
1-Jun-15 6:57am
View
sql
Member 11148509
1-Jun-15 6:51am
View
its a Web application...Asp is used
Member 11148509
1-Jun-15 6:38am
View
this is the code for preview of the image and the code which i have shared in the starting for inserting into database ..im using radaschyncupload and radbinary image..
protected void Page_Load(object sender, EventArgs e)
{
RadAsyncUpload.FileUploaded += new Telerik.Web.UI.FileUploadedEventHandler(RadAsyncUpload_FileUploaded);
Radbtn_Upload.Click += new EventHandler(RadBtn_Upload_Click);
}
protected void RadAsyncUpload_FileUploaded(object sender, FileUploadedEventArgs e)
{
Bitmap bitmapImage = ResizeImage(RadAsyncUpload.UploadedFiles[0].InputStream);
System.IO.MemoryStream stream = new System.IO.MemoryStream();
bitmapImage.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);
RadBinaryImage.DataValue = stream.ToArray();
}
public Bitmap ResizeImage(Stream stream)
{
System.Drawing.Image originalImage = Bitmap.FromStream(stream);
int height = 100;
int width = 100;
Bitmap scaledImage = new Bitmap(width, height);
using (Graphics g = Graphics.FromImage(scaledImage))
{
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
g.DrawImage(originalImage, 0, 0, width, height);
//g.DrawString("My photo from " + RadComboBox2.SelectedItem.Text + ", " + RadComboBox1.SelectedItem.Text, new Font("Tahoma", 18), Brushes.White, new PointF(0, 0));
return scaledImage;
}
Member 11148509
1-Jun-15 6:37am
View
Deleted
this is the code for preview of the image and the code which i have shared in the starting for inserting into database ..imusinf radaschyncupload and radbinary image..
protected void Page_Load(object sender, EventArgs e)
{
RadAsyncUpload.FileUploaded += new Telerik.Web.UI.FileUploadedEventHandler(RadAsyncUpload_FileUploaded);
Radbtn_Upload.Click += new EventHandler(RadBtn_Upload_Click);
}
protected void RadAsyncUpload_FileUploaded(object sender, FileUploadedEventArgs e)
{
Bitmap bitmapImage = ResizeImage(RadAsyncUpload.UploadedFiles[0].InputStream);
System.IO.MemoryStream stream = new System.IO.MemoryStream();
bitmapImage.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);
RadBinaryImage.DataValue = stream.ToArray();
}
public Bitmap ResizeImage(Stream stream)
{
System.Drawing.Image originalImage = Bitmap.FromStream(stream);
int height = 100;
int width = 100;
Bitmap scaledImage = new Bitmap(width, height);
using (Graphics g = Graphics.FromImage(scaledImage))
{
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
g.DrawImage(originalImage, 0, 0, width, height);
//g.DrawString("My photo from " + RadComboBox2.SelectedItem.Text + ", " + RadComboBox1.SelectedItem.Text, new Font("Tahoma", 18), Brushes.White, new PointF(0, 0));
return scaledImage;
}
Member 11148509
1-Jun-15 6:35am
View
Deleted
protected void Page_Load(object sender, EventArgs e)
{
RadAsyncUpload.FileUploaded += new Telerik.Web.UI.FileUploadedEventHandler(RadAsyncUpload_FileUploaded);
Radbtn_Upload.Click += new EventHandler(RadBtn_Upload_Click);
}
protected void RadAsyncUpload_FileUploaded(object sender, FileUploadedEventArgs e)
{
Bitmap bitmapImage = ResizeImage(RadAsyncUpload.UploadedFiles[0].InputStream);
System.IO.MemoryStream stream = new System.IO.MemoryStream();
bitmapImage.Save(stream, System.Drawing.Imaging.ImageFormat.Bmp);
RadBinaryImage.DataValue = stream.ToArray();
}
public Bitmap ResizeImage(Stream stream)
{
System.Drawing.Image originalImage = Bitmap.FromStream(stream);
int height = 100;
int width = 100;
Bitmap scaledImage = new Bitmap(width, height);
using (Graphics g = Graphics.FromImage(scaledImage))
{
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
g.DrawImage(originalImage, 0, 0, width, height);
//g.DrawString("My photo from " + RadComboBox2.SelectedItem.Text + ", " + RadComboBox1.SelectedItem.Text, new Font("Tahoma", 18), Brushes.White, new PointF(0, 0));
return scaledImage;
}
Member 11148509
1-Jun-15 4:22am
View
can u tell me why this error occurs????error is coming near sp ....
Member 11148509
1-Jun-15 4:03am
View
Im using Radasyncupload...can u tell me how to do in that ....i just want to store to database... im able to select image and also see preview of that ..
Member 11148509
1-Jun-15 4:02am
View
Deleted
Im using Radasyncupload...can u tell me how to do in that ....i just want to store to database that's... im able to select image and also see preview of that ..
Member 11148509
1-Jun-15 3:08am
View
Deleted
Reply Modify the comment. Delete the comment.
ALTER procedure Insert
as
begin
@FirstName nvarchar(50),
@LastName nvarchar(50),
@Photo image,
INSERT INTO Employee
(FirstName, LastName,photo)
VALUES (@FirstName , @LastName,@Photo)
end
Member 11148509
1-Jun-15 3:08am
View
Deleted
ALTER procedure Insert
as
begin
@FirstName nvarchar(50),
@LastName nvarchar(50),
@Photo image,
INSERT INTO Employee
(FirstName, LastName,photo)
VALUES (@FirstName , @LastName,@UserType,@Photo)
end
Member 11148509
1-Jun-15 3:07am
View
Deleted
ALTER procedure Insert
as
begin
@FirstName nvarchar(50),
@LastName nvarchar(50),
@LastName nvarchar(50),
@Photo image,
INSERT INTO Employee
(FirstName, LastName,photo)
VALUES (@FirstName , @LastName,@UserType,@Photo)
end
Member 11148509
15-May-15 9:45am
View
ya i already have someother code in ispostback==false..that gets executed first ...then after that when page is shown im uploading image and again control is going to ispostback==false ..which wont get executed...so if i keep inside that it wnt get executed...
Member 11148509
15-May-15 9:23am
View
im not using this code in ispostback..but have tried that also by keeping (ispostback)==true...so when i click upload its coming near ispostback and checking for the code..but same problem ...fileupload.filename is null...
Member 11148509
15-May-15 9:21am
View
no i just asked im not using in updatepanel
Member 11148509
15-May-15 9:04am
View
ya ya i have removed that and tried but same problem...actualy in my code i have code in ispostback in page load..so when i kept break point and saw..after i click upload it is going to postback and checking and then coming to button click ...with in this time fileupload.filename is unable to maintain state...this is what i have understood..just thinking of solution for this ..hope u got me and suggest me some solution ...can i use session????or postbacktriggers???
Member 11148509
15-May-15 9:03am
View
Deleted
ya ya i have removed that and tried but same problem...actualy in my code i have code in ispostback in page load..so when i kept break point and saw..after i press upload it is going to postback and checking and then coming to button click ...with in this time fileupload.filename is unable to maintain state...this is what i have understood..just thinking of solution for this ..hope u got me and suggest me some solution ...can i use session????or postbacktriggers???
Member 11148509
15-May-15 8:59am
View
yes i have checked it's not going inside the loop. since file is not available...
Member 11148509
15-May-15 8:19am
View
ya sure ...can i store fileupload.filename in session ????
Member 11148509
15-May-15 3:35am
View
ya thats my problem im uplaoding file but its not avaialble in that ...might be postback problem
Member 11148509
15-May-15 2:17am
View
ya i have tried this too ..when i execute that its not going inside the loop...i'm unable to understand what to do ..
Member 11148509
15-May-15 2:14am
View
Deleted
ya i have tried this too ..when i execute that its not going inside the loop...i unable to understand what to do ..
Member 11148509
15-May-15 1:45am
View
Object reference not set to an instance of an object...when i keep break point and see i couldnot see filename stored in string...
Member 11148509
14-May-15 6:43am
View
Deleted
i dint solve it ...i have tried inanother pge where in i got the output...with the same code when im trying in my mian page im not getting that ...can i use postback triggers?
Member 11148509
14-May-15 6:33am
View
ya null is near postedfile.filename...and ya actually im doing this image work in one page and when i navigate to another page i do have update panel...
I have done with same code in another fresh page wherein i got the output.
Member 11148509
14-May-15 5:57am
View
actually im getting same error though i place outside of updatepanel
Member 11148509
14-May-15 4:47am
View
ya k so can i use postback triggers???
Member 11148509
14-May-15 4:38am
View
ya its inside updatepanel...can u explain little detailed about asynch uploads???so that i can procedd further
Member 11148509
14-May-15 4:34am
View
Deleted
ya its inside update panel ..and k will try to use something else
Member 11148509
14-May-15 4:33am
View
i have already done that was not getting so thought to post here
Member 11148509
14-May-15 4:33am
View
ya i have done debugging and as u said postedfile is showing null ...
Member 11148509
17-Apr-15 4:42am
View
I dint get anyidea ...just need some idea to impliment
Member 11148509
17-Apr-15 4:42am
View
In web
Member 11148509
14-Apr-15 5:27am
View
Hope u got me ......
Member 11148509
10-Apr-15 8:47am
View
I forgot to mention i kept that
Member 11148509
9-Apr-15 7:52am
View
Thank u all:-)small mistake
Member 11148509
9-Apr-15 5:35am
View
select FirstName,LastName,UserType,
Salary,Date
From Employee Emp
inner join EmployeeDetails empdetails
on Emp.EmployeeID=EmployeeDetails.EmployeeID
Member 11148509
7-Apr-15 6:37am
View
u mean its same like getting data from database to texbox's??? r any changes??
Member 11148509
6-Apr-15 1:51am
View
i already wrote code for single click in slectedindex changed...and already tried that
Member 11148509
6-Apr-15 0:06am
View
ya .when i double click on radgrid row ...another page should open which contains the details for employee ..like all the details that are in radgrid.. ..i also need double click along with single click....
Member 11148509
31-Mar-15 3:58am
View
when i started debugging.. when i hovered my mouse on mydate i can see exact date ...but when i hover my mouse on .text its showing null..
Member 11148509
31-Mar-15 3:22am
View
it should show the time which i have given thorugh raddatetime picker ..some date...
Member 11148509
31-Mar-15 2:32am
View
i have tried same error
Member 11148509
31-Mar-15 2:29am
View
din't work same error
Member 11148509
30-Mar-15 11:11am
View
i want to convert only to date not datetime
Member 11148509
30-Mar-15 10:31am
View
I dint get u ..i want to store data from radgrid to datetimepicker...already added data from datatime picker...same should be displayed on rowclick...so can i know whats the need to checking the date string
Member 11148509
30-Mar-15 10:21am
View
anyother code without using ifelse
Member 11148509
30-Mar-15 10:20am
View
Deleted
Anyother code whothout using ifelse...
Member 11148509
24-Mar-15 22:18pm
View
Sorry dint get u ..can u be a bit clear..
Member 11148509
13-Mar-15 6:07am
View
Sure but what is this connection with html?????can u please explain
Member 11148509
11-Mar-15 11:47am
View
ya got it...im not getting idea...so its great that u people gave some ideas to work out
Thank u
Member 11148509
11-Mar-15 11:34am
View
YA actually i have kept the breakpoint and execcuted the code ...its showing null near id...when im hovering my mouse on other like firstname there also its showing Null ....
Member 11148509
10-Mar-15 3:10am
View
But im able to load data bound columns,do paging and filterations ...
Member 11148509
10-Mar-15 2:41am
View
I already saw that ...i want to get that without using datasource
Member 11148509
10-Mar-15 0:43am
View
I want to insert data into radgrid... i was just trying with different codes...and couldn't get ..while i was tryin with these code i got that error...
My main problem is adding data into radgrid using telerik
Member 11148509
10-Mar-15 0:32am
View
Im unable to get u ...anyways will try for the solution...keeping ur explantion in mind
Thank u
Member 11148509
10-Mar-15 0:27am
View
That's k problem should be solved and great explanation from you ...
Member 11148509
10-Mar-15 0:24am
View
Ya so what should i do know????set all the fields to not null???
Member 11148509
10-Mar-15 0:21am
View
Nice one and i have tried with debugger by keeping break point where its showing exception...
Its showing all the fields as null....
Member 11148509
10-Mar-15 0:15am
View
Its showing near
ID = int.Parse(dataItem["ID"].Text);
Member 11148509
10-Mar-15 0:13am
View
Actually i dint create any class for holding these fields..i have inserted data from sql directly with connection string ....
Member 11148509
10-Mar-15 0:11am
View
Its showing near
ID = int.Parse(dataItem["ID"].Text);
Member 11148509
10-Mar-15 0:09am
View
Its showing near
ID = int.Parse(dataItem["ID"].Text);
Member 11148509
3-Mar-15 2:54am
View
Ya i have done binding from sql ....
Member 11148509
2-Mar-15 0:57am
View
Radgrid is not working after im changing page...ie data is not displayed
Member 11148509
1-Mar-15 23:59pm
View
I wrote code to populate data into radgrid....like datareader and commandtype ..
Member 11148509
1-Mar-15 23:49pm
View
I dint use datasource.....the link which u sent ...its realted with datasource
Member 11148509
1-Mar-15 6:47am
View
can anyone tell me ASAP
Member 11148509
28-Feb-15 23:50pm
View
protected void RadGrid_Details_PageIndexChanged(object sender, Telerik.Web.UI.GridPageChangedEventArgs e)
{
RadGrid_Details.CurrentPageIndex = e.NewPageIndex;
FillData();
}
code for paging
in fill data i wrote connectionstring
Member 11148509
28-Feb-15 23:28pm
View
Deleted
no error...couldn't do paging....i need process ..i mean how to do ...
Member 11148509
27-Feb-15 8:24am
View
ya actually unable to load page when i click next page
Member 11148509
26-Feb-15 5:32am
View
<add name="constr" connectionstring="Server=; Database=databasename;Integrated Security=True " providername="System.Data.SqlClient">
Member 11148509
26-Feb-15 5:31am
View
Deleted
connection string
<add name="constr" connectionstring="Server=; Database=databasename;Integrated Security=True " providername="System.Data.SqlClient">
Member 11148509
26-Feb-15 5:25am
View
Code which i uploaded before is the code...i just want to bind then do CRUD operations on that ....
Member 11148509
26-Feb-15 5:19am
View
same output ....
Member 11148509
26-Feb-15 5:12am
View
i have done that same output...is this related to connection string????
Member 11148509
26-Feb-15 4:58am
View
Can you be a bit clear????i already binded radgrid
Member 11148509
26-Feb-15 4:55am
View
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["constr"].ToString());
SqlDataAdapter da = new SqlDataAdapter("select * from tablename", con);
DataSet ds = new DataSet();
da.Fill(ds, "tablename");
RadGrid_Details.DataSource = ds;
RadGrid_Details.DataBind();
Member 11148509
26-Feb-15 4:54am
View
Deleted
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["constr"].ToString());
SqlDataAdapter da = new SqlDataAdapter("select * from EmployeeAndPersonalInfo", con);
DataSet ds = new DataSet();
da.Fill(ds, "EmployeeAndPersonalInfo");
RadGrid_Details.DataSource = ds;
RadGrid_Details.DataBind();
Member 11148509
26-Feb-15 4:53am
View
Deleted
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["constr"].ToString());
con.Open();
SqlDataAdapter da = new SqlDataAdapter("select * from tablename", con);
DataSet ds = new DataSet();
da.Fill(ds, "tablename");
RadGrid_Details.DataSource = ds;
RadGrid_Details.DataBind();
Member 11148509
14-Jan-15 7:46am
View
i have used my pc/instance name userid password also but dint not get
Member 11148509
14-Jan-15 6:35am
View
connectionString="Server=.;Database=databasename; Integrated Security=SSPI;"
this is the connection string i have also changed this using uderid password and data source
Member 11148509
14-Jan-15 6:33am
View
Deleted
connection string
<connectionstrings>
<add name="DBCS"
="" connectionstring="Server=.;Database=project; Integrated Security=SSPI;" providername="System.Data.SqlClient">
Member 11148509
14-Jan-15 6:33am
View
namespace BusinessLayer
{
public class EmployeeBusinessLayer
{
public IEnumerable Employees
{
get
{
string connectionString = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
List employees = new List();
using (SqlConnection con = new SqlConnection(connectionString))
{
SqlCommand cmd = new SqlCommand("AllEmployees", con);
cmd.CommandType = CommandType.StoredProcedure;
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
Employee employee = new Employee();
employee.EmployeeID = Convert.ToInt32(dr["EmployeeID"]);
employee.Name = dr["Name"].ToString();
employee.Gender = dr["Gender"].ToString();
employees.Add(employee);
}
}
return employees;
}
}
}
connection string :
<connectionstrings>
<add name="DBCS"
="" connectionstring="Server=.;Database=project; Integrated Security=SSPI;" providername="System.Data.SqlClient">
Member 11148509
14-Jan-15 6:31am
View
Deleted
namespace BusinessLayer
{
public class EmployeeBusinessLayer
{
public IEnumerable<employee> Employees
{
get
{
string connectionString = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
List<employee> employees = new List<employee>();
using (SqlConnection con = new SqlConnection(connectionString))
{
SqlCommand cmd = new SqlCommand("AllEmployees", con);
cmd.CommandType = CommandType.StoredProcedure;
con.Open();
SqlDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
Employee employee = new Employee();
employee.EmployeeID = Convert.ToInt32(dr["EmployeeID"]);
employee.Name = dr["Name"].ToString();
employee.Gender = dr["Gender"].ToString();
employees.Add(employee);
}
}
return employees;
}
}
}
}
connection string:
<connectionstrings>
<add name="DBCS"
="" connectionstring="Server=.;Database=project; Integrated Security=SSPI;" providername="System.Data.SqlClient">
Member 11148509
14-Jan-15 6:26am
View
already i have done that im unable to understand whats the error ..i have tried each and everything ..before posting here
Member 11148509
14-Jan-15 5:33am
View
Thank u i have already tried those ...
Member 11148509
14-Jan-15 5:04am
View
ya have done it showing status as started.... but no change could not get the connection
Member 11148509
14-Jan-15 5:01am
View
Deleted
ya have done it showing status as started....
Member 11148509
7-Jan-15 7:34am
View
Sure sir ...thank you :-)
Member 11148509
7-Jan-15 7:34am
View
yes ...
Member 11148509
7-Jan-15 7:32am
View
http://localhost:5156/Employee/index
and Thank you got it....its the error in web.config and after that its just showing exception ...for establising connection ...i will try to resolve that....
Thank you
Member 11148509
7-Jan-15 6:48am
View
code in controller and in view i have created code automatically .....
public class EmployeeController : Controller
{
public ActionResult Index()
{
EmployeeBusinessLayer employeebusinesslayer = new EmployeeBusinessLayer();
List<employee> employees = employeebusinesslayer.Employees.ToList();
return View(employees);
}
}
}
Member 11148509
7-Jan-15 5:28am
View
Checked the site couldn't solve the problem..
Member 11148509
7-Jan-15 5:26am
View
Unable to open the link u have sent ..
Member 11148509
7-Jan-15 5:25am
View
Deleted
Checked the site couldn't solve the problem
Thank you
Member 11148509
11-Nov-14 3:20am
View
Have tried that dint get the result....the code which i pasted is in select statementi want to change that to hours
thank you
Member 11148509
14-Oct-14 6:11am
View
Thank you for posting the code....i have tried the code was getting errors in button click ..and what all namespaces did you add???
Thank you
Member 11148509
14-Oct-14 6:10am
View
Thank you for posting the code....i have tried the code was getting errors in button click ..and what all namespaces did you add???
Thank you
Member 11148509
13-Oct-14 9:43am
View
ya i have used itextsharp in the above program.....
Member 11148509
13-Oct-14 6:55am
View
Ok
private void radbtn_pdf_Click(object sender, EventArgs e)
{
OpenFileDialog dlg = new OpenFileDialog();
string Filepath;
dlg.Filter="PDF FILES(*.PDF)|*.PDF|ALL FILES(*.*)|*.*";
if(dlg.ShowDialog()==DialogResult.OK)
{
Filepath = dlg.FileName.ToString();
}
}
this is the code im trying for ..in this code when i click on button its openning dialogbox and asking to open pdf so that data can be seen in winform pdf....but i want to open pdf file on buttonclick and should be able to display data in pdf which is available in winform..
hope u got me
thank you
Member 11148509
13-Oct-14 5:50am
View
coding part is very complicated ... need a simple code since i'm already doing a project which is already having more complicated codes in that ...only the textbox content is to be displayed in the pdf on button click.....
Member 11148509
13-Oct-14 5:27am
View
Is there any other way for doing this????
Member 11148509
13-Oct-14 5:27am
View
Deleted
Can we do it without using library...ie another way ??/
Show More