Click here to Skip to main content
15,905,781 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: DataDridView Have A Footer Pin
Sun Rays30-Dec-07 21:12
Sun Rays30-Dec-07 21:12 
GeneralRe: DataDridView Have A Footer Pin
Thaer Hamael31-Dec-07 0:22
Thaer Hamael31-Dec-07 0:22 
GeneralRe: DataDridView Have A Footer Pin
Sun Rays30-Dec-07 21:05
Sun Rays30-Dec-07 21:05 
GeneralCan't figure out the error:does not exist in the current context Pin
Albert8330-Dec-07 20:28
Albert8330-Dec-07 20:28 
GeneralRe: Can't figure out the error:does not exist in the current context Pin
Imran Khan Pathan30-Dec-07 20:57
Imran Khan Pathan30-Dec-07 20:57 
GeneralRe: Can't figure out the error:does not exist in the current context Pin
Albert8330-Dec-07 21:04
Albert8330-Dec-07 21:04 
GeneralRe: Can't figure out the error:does not exist in the current context Pin
Imran Khan Pathan31-Dec-07 0:30
Imran Khan Pathan31-Dec-07 0:30 
GeneralRe: Can't figure out the error:does not exist in the current context Pin
Albert8331-Dec-07 7:57
Albert8331-Dec-07 7:57 
GeneralCheckbox in a grid Pin
SreejithAchutan30-Dec-07 20:00
SreejithAchutan30-Dec-07 20:00 
GeneralRe: Checkbox in a grid Pin
Michael Sync30-Dec-07 20:03
Michael Sync30-Dec-07 20:03 
GeneralRe: Checkbox in a grid Pin
neerubee30-Dec-07 20:08
neerubee30-Dec-07 20:08 
GeneralRe: Checkbox in a grid Pin
Sun Rays30-Dec-07 20:43
Sun Rays30-Dec-07 20:43 
GeneralRe: Checkbox in a grid Pin
SreejithAchutan30-Dec-07 21:15
SreejithAchutan30-Dec-07 21:15 

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.