Click here to Skip to main content
16,009,643 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: C# How to use HttpWebRequest to dowload document from Java Web Service Pin
Colin Angus Mackay31-Dec-07 1:09
Colin Angus Mackay31-Dec-07 1:09 
GeneralWant to open new window on datagrid editbutton Pin
raushan_931-Dec-07 0:41
raushan_931-Dec-07 0:41 
GeneralRe: Want to open new window on datagrid editbutton Pin
Abhijit Jana31-Dec-07 1:16
professionalAbhijit Jana31-Dec-07 1:16 
GeneralRe: Want to open new window on datagrid editbutton Pin
raushan_931-Dec-07 1:24
raushan_931-Dec-07 1:24 
GeneralRe: Want to open new window on datagrid editbutton Pin
Abhijit Jana31-Dec-07 1:30
professionalAbhijit Jana31-Dec-07 1:30 
Questionhow to give more than one column to the datavalue field of the dropdown field Pin
jagan12330-Dec-07 23:59
jagan12330-Dec-07 23:59 
AnswerRe: how to give more than one column to the datavalue field of the dropdown field Pin
DotNetXenon31-Dec-07 5:25
DotNetXenon31-Dec-07 5:25 
GeneralNeed Tech. support in ASP.NET 2.0. Pin
S R Madhavan30-Dec-07 23:42
S R Madhavan30-Dec-07 23:42 
GeneralRe: Need Tech. support in ASP.NET 2.0. Pin
Paul Conrad31-Dec-07 12:52
professionalPaul Conrad31-Dec-07 12:52 
GeneralProblem with UserControl Pin
amin_behzadi30-Dec-07 22:29
professionalamin_behzadi30-Dec-07 22:29 
GeneralRe: Problem with UserControl Pin
Abhijit Jana31-Dec-07 1:38
professionalAbhijit Jana31-Dec-07 1:38 
Generalis datatable in loop kills the application speed Pin
jagan12330-Dec-07 21:14
jagan12330-Dec-07 21:14 
GeneralRe: is datatable in loop kills the application speed Pin
Michael Sync30-Dec-07 21:22
Michael Sync30-Dec-07 21:22 
GeneralRe: is datatable in loop kills the application speed Pin
N a v a n e e t h30-Dec-07 21:37
N a v a n e e t h30-Dec-07 21:37 
GeneralRe: is datatable in loop kills the application speed Pin
jagan12330-Dec-07 21:50
jagan12330-Dec-07 21:50 
GeneralRe: is datatable in loop kills the application speed Pin
N a v a n e e t h30-Dec-07 22:00
N a v a n e e t h30-Dec-07 22:00 
Generalplease help Pin
Basheer30-Dec-07 21:13
Basheer30-Dec-07 21:13 
GeneralRe: please help Pin
Michael Sync30-Dec-07 21:20
Michael Sync30-Dec-07 21:20 
GeneralRe: please help Pin
Abhijit Jana31-Dec-07 1:17
professionalAbhijit Jana31-Dec-07 1:17 
GeneralRe: please help Pin
Paul Conrad31-Dec-07 10:32
professionalPaul Conrad31-Dec-07 10:32 
GeneralImage Inserting Pbm Pin
SreejithAchutan30-Dec-07 20:53
SreejithAchutan30-Dec-07 20:53 
I ahve a table for storing some datas.In the table one field is an image upload field.The datatype of that field is image.When i tried to save the image using a fileupload control the image is saved.The code for saving is gioven below.


public void SaveUnitDetails(string UnitName, string UnitShortName, string Location, string UnitLogoPath, string UnitStream, string MaxStudentsPerClass, string CreatedByUser, DateTime CreatedDate)
{
string sqlstatement;
Boolean isSaved;
try
{
sqlstatement = "INSERT INTO Units(UnitName,UnitShortName,Location,UnitLogoPath,UnitStream,MaxStudentsPerClass,CreatedByUser,CreatedDate) VALUES ('" + UnitName + "','" + UnitShortName + "','" + Location + "','" + UnitLogoPath + "','" + UnitStream + "','" + MaxStudentsPerClass + "','" + CreatedByUser + "','" + CreatedDate + "')";
isSaved = dbtObj.ExecuteSqlCmd(sqlstatement);
}
finally
{
}
}

The datas will be bindede into a grid .An image field is bounded on the grid .But the image is same for all rows.What is the pbm.Plz help me.


insunit.SaveUnitDetails(Txt_UnitName.Text, Txt_ShortName.Text, Txt_Location.Text, Upload_Logo.FileName.ToString(), Stream, TxtStdperClass.Text, username, date);

the datas will be saved on a button click event the saved function is called as given above.Plz check the code and help me to overcome the pbm...
GeneralDataDridView Have A Footer Pin
Thaer Hamael30-Dec-07 20:47
Thaer Hamael30-Dec-07 20:47 
GeneralRe: DataDridView Have A Footer Pin
Michael Sync30-Dec-07 21:05
Michael Sync30-Dec-07 21:05 
QuestionRe: DataDridView Have A Footer Pin
Sun Rays30-Dec-07 21:06
Sun Rays30-Dec-07 21:06 
GeneralRe: DataDridView Have A Footer Pin
Michael Sync30-Dec-07 21:10
Michael Sync30-Dec-07 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.